`oapi-invoker-mcp` invokes any OpenAPI through Model Context Protocol (MCP) server.
Most developer tooling work still happens through a UI a human drives. Oapi Invoker MCP MCP server moves it into the conversation instead. oapi-invoker-mcp invokes any OpenAPI through Model Context Protocol (MCP) server.
Setup follows the usual MCP pattern — install or clone the server, register it in your client's configuration file, restart the client. The configuration blocks on this page cover the common clients.
Configuration is passed through the environment: SPEC_URL, OAPI_INVOKER_DEBUG, GITHUB_TOKEN, SPEC_PATH, SPEC_FORMAT, SPEC_EXTENSION_PATH, SPEC_EXTENSION_FORMAT, ISSUE_TITLE. Treat anything key-shaped as a real credential — scope it to the minimum the server needs, and rotate it if it ever lands in a shared config.
Plenty of developer tooling servers cover similar ground. The differences that matter in practice are scope of access and how much setup stands between you and a working tool call. It is maintained by mcpc-tech; worth a glance at recent repository activity before you build anything load-bearing on it.
SyncDev reviews every entry in this directory against the project's own documentation before publishing, and revisits them as servers change.
### Using Deno directly
```json
{
"mcpServers": {
"capi-invoker": {
"command": "deno",
"args": ["run", "--allow-all", "jsr:@mcpc/oapi-invoker-mcp/bin"],
"env": {
"SPEC_URL": "https://api.github.com/openapi.json",
"GITHUB_TOKEN": "your-github-token"
},
"transportType": "stdio"
}
}
}Configuration as documented by the project. Restart the client after saving.
| Variable | Description | Required |
|---|---|---|
| SPEC_URL | Endpoint or connection string the server talks to. | Yes |
| OAPI_INVOKER_DEBUG | Configuration value read at startup. | Optional |
| GITHUB_TOKEN | Credential the server authenticates with. | Yes |
| SPEC_PATH | Filesystem location the server is allowed to use. | Optional |
| SPEC_FORMAT | Configuration value read at startup. | Optional |
| SPEC_EXTENSION_PATH | Filesystem location the server is allowed to use. | Optional |
| SPEC_EXTENSION_FORMAT | Configuration value read at startup. | Optional |
| ISSUE_TITLE | Configuration value read at startup. | Optional |
Kill hallucinated APIs — version-accurate, up-to-date library documentation injected straight into context.
Microsoft's official browser automation server — drive a real browser through the accessibility tree, no screenshots needed.
GitHub's official server — repos, issues, pull requests, Actions and code security, straight from your assistant.
Issue tracking at the speed of conversation — Linear's official hosted server with OAuth and zero install.
Local repository surgery — status, diffs, commits, branches and history for any repo on disk.
Timezone sanity for AI — current time anywhere and correct conversions, without the model doing date math.