Connect
Optimize
Secure
Announcing StackOne Defender: leading open-source prompt injection guard for your agent • Read More →
Production-ready Bitbucket MCP server with 134 extensible actions — plus built-in authentication, security, and optimized execution.
Coverage
Create, read, update, and delete across Bitbucket — and extend your agent's capabilities with custom actions.
Authentication
Per-user OAuth in one call. Your Bitbucket MCP server gets session-scoped tokens with zero credentials stored on your infra.
Agent Auth →Security
Every Bitbucket tool response scanned for prompt injection in milliseconds — 88.7% accuracy, all running on CPU.
Prompt Injection Defense →Performance
Free up to 96% of your agent's context window to enhance reasoning and reduce cost, on every Bitbucket call.
Tools Discovery →A Bitbucket MCP server lets AI agents read and write Bitbucket data through the Model Context Protocol — Anthropic's open standard for connecting LLMs to external tools. StackOne's Bitbucket MCP server ships with 134 pre-built actions, fully extensible via the Connector Builder — plus managed authentication, prompt injection defense, and optimized agent context. Connect it from MCP clients like Claude Desktop, Cursor, and VS Code, or from agent frameworks like OpenAI Agents SDK, LangChain, and Vercel AI SDK.
Every action from Bitbucket's API, ready for your agent. Create, read, update, and delete — scoped to exactly what you need.
Create a new repository
Delete a repository
List default reviewers
Get a default reviewer
List the default reviewers in a project
Get a specific default reviewer for a project
Add a user to the default reviewers
Add a user as a default reviewer for the project
Remove a user from the default reviewers
Remove a user from the project's default reviewers
Add a repository deploy key
Create a deploy key for a project
List repository deploy keys
Get a repository deploy key
List deploy keys for a project
Get a project deploy key
Update a repository deploy key
Delete a repository deploy key
Delete a deploy key from a project
Compare two commits
List changes in a pull request
Compare two commit diff stats
Get the diff stat for a pull request
Create a commit by uploading a file
Get the root directory of the main branch
Get file or directory contents
Get a patch for two commits
Get the patch for a pull request
Create a branch
List open branches
Get a branch
Create a branch restriction rule
List branch restrictions
Get a branch restriction rule
Update a branch restriction rule
Delete a branch restriction rule
Get the branching model for a repository
Get the branching model for a project
Get the branching model config for a repository
Get the branching model config for a project
Update the branching model config for a repository
Update the branching model config for a project
List commits with include/exclude refs
Get a commit
List commits
Approve a commit
Approve a pull request
Unapprove a commit
Unapprove a pull request
Create comment for a commit
Create a comment on a pull request
List a commit's comments
Get a commit comment
List comments on a pull request
Get a comment on a pull request
Update a commit comment
Update a comment on a pull request
Delete a commit comment
Delete a comment on a pull request
List reports
Get a report
Create or update a report
Delete a report
List commit statuses for a commit
List commit statuses for a pull request
Create a build status for a commit
Get a build status for a commit
Update a build status for a commit
Create a pull request
List pull requests that contain a commit
List pull requests
Get a pull request
List workspace pull requests for a user
Update a pull request
Resolve a comment thread
Reopen a comment thread
Request changes for a pull request
Remove change request for a pull request
Create a project in a workspace
List all projects in a workspace
Get a specific project by key
List projects in a workspace
Update an existing project
Delete a project from a workspace
Run a pipeline
List pipelines
Get a pipeline
Get configuration
Update configuration
List steps for a pipeline
Get a step of a pipeline
Get log file for a step
Get the logs for the build container or a service container for a given step of a pipeline.
Create a schedule
List schedules
Get a schedule
Update a schedule
Delete a schedule
Create a variable for a repository
List variables for a repository
Get a variable for a repository
Update a variable for a repository
Delete a variable for a repository
List deployments for a repository
Get a deployment by UUID
Create a deployment environment for a repository
List deployment environments for a repository
Get a deployment environment by UUID
Update a deployment environment configuration
List workspaces for the current user
Get a workspace
Add a new SSH key
List SSH keys
Update a SSH key
Delete a SSH key
Decline a pull request
Merge a pull request
Stop a pipeline
List all repositories in a workspace
List repository forks
List repositories watchers
List download artifacts
List explicit group permissions for a repository
List commits on a pull request
List repository permissions in a workspace for the authenticated user
List all repository permissions for a workspace
List all user permissions for a specific repository in a workspace
Get a project for a workspace
List user permissions in a workspace
List all members of a workspace
Get the currently authenticated user
Get a user
Get a SSH key
Update the next build number
One endpoint. Any framework. Your agent is talking to Bitbucket in under 10 lines of code.
MCP Clients
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>"
]
}
}
}172+ actions
137+ actions
128+ actions
125+ actions
118+ actions
109+ actions
85+ actions
Anthropic's code_execution processes data already in context. Custom MCP code mode keeps raw tool responses in a sandbox. 14K tokens vs 500.
11 min
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
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
origin_owner_id.All the tools you need to build and scale AI agent integrations, with best-in-class connectivity, execution, and security.