Black Duck MCP Server
for AI Agents
Connect your AI agent to StackOne's Black Duck MCP server and give it 43 MCP tools out of the box. Auth, tool execution, and security all managed.
Coverage
43 Agent Actions
Agents can read, write, delete and run operations in Black Duck. Extend your agent's capabilities with custom actions.
Authentication
Agent Tool Authentication
Per-user OAuth in one call. Your Black Duck MCP server gets session-scoped tokens with zero credentials stored on your infra.
Agent Auth →Security
Agent Protection
Every Black Duck tool response scanned for prompt injection in milliseconds, with 88.7% accuracy, all running on CPU.
Prompt Injection Defense →Performance
Max Agent Context. Min Cost.
Free up to 96% of your agent's context window to enhance reasoning and reduce cost, on every Black Duck call.
Tools Discovery →What is the Black Duck MCP Server?
A Black Duck MCP server lets AI agents read and write Black Duck data through the Model Context Protocol, Anthropic's open standard for connecting LLMs to external tools. StackOne's Black Duck MCP server ships with 43 pre-built actions, fully extensible via the Connector Builder, plus managed authentication, prompt injection defense, observability, and agent execution runtime. Connect it from MCP clients like Claude Desktop, Claude Code, Cursor, Goose, and VS Code, or from agent frameworks like OpenAI Agents SDK, LangChain, and Vercel AI SDK.
All Black Duck MCP Tools
Every StackOne action for Black Duck, ready for your agent. Read, write, delete and run operations, scoped to exactly what you need.
Code Locations
- List Code Locations
List every scan code location recorded on the instance.
- Get Code Location
Get a single scan code location by id.
- Update Code Location
Rename a code location or change its mapped project version.
- Delete Code Location
Delete a scan code location from the instance.
Components
- List Components
Search the global component knowledge base.
- Get Component
Get a single component from the knowledge base by id.
- Update Component
Update the description of a catalog component.
Licenses
- List Licenses
Search the global license knowledge base.
- Get License
Get a single license from the knowledge base by id.
Notifications
- List Notifications
List system notifications within a date range.
- Delete Notification
Delete a single notification.
Policy Rules
- Create Policy Rule
Create a new compliance policy rule.
- List Policy Rules
List every policy rule configured on the instance.
- Get Policy Rule
Get a single policy rule by id.
- Update Policy Rule
Update an existing compliance policy rule.
- Delete Policy Rule
Delete a compliance policy rule from the instance.
Projects
- Create Project
Create a new project record to attach versions and scans to.
- List Projects
List all projects in the Black Duck instance.
- Get Project
Get a single project by id.
- Update Project
Update a project's name or description.
- Delete Project
Permanently remove a project and its version history.
Users
- Create User
Create a new user account on the instance.
- List Users
List every user account on the Black Duck instance.
- Get User
Get a single user account by id.
- Update User
Update a user's name or active status.
- Delete User
Delete a user account from the instance.
Project Versions
- Create Project Version
Create a new version under an existing project.
- List Project Versions
List every version recorded under a project.
- Get Project Version
Get a single project version by id.
- Update Project Version
Update a project version's name, phase or distribution.
- Delete Project Version
Delete a single version from a project.
Other (12)
- Add Component To Version
Manually add a component to a project version's BOM.
- List Code Location Scan Summaries
List the scan summaries recorded under a code location.
- List Version Components
List the bill-of-materials components on a project version.
- List Roles
List every role defined on the instance.
- Get Current User
Get the user account the API token belongs to.
- List Component Vulnerabilities
List vulnerabilities known for a specific component.
- Get Vulnerability
Get a single vulnerability record from the knowledge base.
- Remove Component From Version
Remove a component from a project version's BOM.
- Mark Notification Read
Mark a single notification as read.
- Assign Role To User
Assign an existing role to a user account.
- Unassign Role From User
Revoke a previously assigned role from a user account.
- Reset User Password
Trigger a password reset for a user account.
Set Up Your Black Duck MCP Server in Minutes
One endpoint. Any framework. Your agent is talking to Black Duck in under 10 lines of code.
Agent Frameworks
{
"mcpServers": {
"stackone": {
"command": "npx",
"args": [
"-y",
"mcp-remote@latest",
"https://api.stackone.com/mcp?x-account-id=<account_id>",
"--header",
"Authorization: Basic <YOUR_BASE64_TOKEN>"
]
}
}
}Platform Resources
Comparing BM25, TF-IDF, and Hybrid Search for MCP Tool Discovery
Benchmarking BM25, TF-IDF, and hybrid search for MCP tool discovery across 916 tools. The 80/20 TF-IDF/BM25 hybrid hits 21% Top-1 accuracy in under 1ms.
10 min
Indirect Prompt Injection Defense for MCP Tools: A Technical Guide
MCP tools that read emails, CRM records, and tickets are indirect prompt injection vectors. Here's how we built a two-tier defense that scans tool results in ~11ms.
12 min
MCP vs A2A: Architecture, Security, and When to Use Each
MCP vs A2A: what each protocol standardizes, how they differ, their shared security risks including indirect prompt injection, and when to use one, both, or a hybrid architecture.
12 min
MCP vs API: What Hundreds of Connector Builds Taught Us
MCP wraps APIs, it doesn't replace them. After building hundreds of connectors that serve both, here's when each approach wins.
14 min read
Black Duck MCP Server FAQ
Does StackOne have a Black Duck MCP server?
Black Duck MCP server vs direct API integration: what's the difference?
How does Black Duck authentication work for AI agents?
origin_owner_id.Are Black Duck MCP tools vulnerable to prompt injection?
What is the context bloat of a Black Duck agent and how do I avoid it?
Can I limit which actions my Black Duck agent can access?
Can I create custom agent actions for my Black Duck MCP server?
When should I NOT use a Black Duck MCP server?
What AI frameworks and AI clients does the StackOne Black Duck MCP server support?
Put your AI agents to work
All the tools you need to build and scale AI agent integrations, with best-in-class connectivity, execution, and security.