MCP access
AI assistants connect through the Model Context Protocol
The Model Context Protocol (MCP) is an open standard for connecting AI assistants to external systems. Open Platform has an MCP endpoint. An approved assistant can read and update issues, pull requests and deployments for the person who signed in, with that person's permissions.
Request handling
What happens on every call
Authentication
OAuth 2.1 with PKCE, or a personal access token. The person chooses read-only or read-write access. In a forge, an OAuth grant never includes administrator scope.
Rate limiting
Calls are rate limited per person before any tool runs.
Authorization
The person's role is checked on every call. A call the role does not allow is denied. Administrator tools are hidden from tokens without administrator scope.
Execution
Each tool calls the same server code as the corresponding web page, with the same permission checks.
Controls
Additional controls
Audit logging
The platform's MCP endpoint logs every tool call, successful or not, with the person, the tool, the result and the duration.
Revocation
An administrator can cut off a person's or an agent's MCP access.
Untrusted input
In the forge's built-in assistant, text from outside contributors is marked as untrusted. A write the person did not ask for waits for their confirmation.
No model access
The MCP endpoint provides tools only. It calls no AI model. The connected assistant uses its own model, from the provider your organization chooses.
Clients
Supported clients
| Client | Authentication | Access |
|---|---|---|
| A person's AI assistant | An assistant that supports remote MCP with OAuth | That person's permissions, read-only or read-write as chosen |
| Agents running a task | A token issued for that task | In a platform deployment: one repository (one organization for a planning agent), with no access to CI workflow files. In a forge: valid for the duration of the run. |
| Outside contributors (forge) | None | Five public tools: report a problem, offer a change, start an account, explore and search |
A forge's MCP endpoint provides about 200 tools. It lists 13 by default and offers a search tool for the rest.