Say goodbye to repetitive development of "API's API"
oapi-invoker-mcp
invokes any OpenAPI through Model Context Protocol (MCP) server.
- Easily invoke any OpenAPI service through MCP client 💻
- Support specification patches (e.g., add API descriptions and examples to enhance documentation) 📝
- Support custom authentication protocols, like
Tencent Cloud API Signature V3
🔐 - Data encryption/decryption (e.g., authentication headers) 🔒
If you have Node.js installed locally, you can configure:
{
"mcpServers": {
"capi-invoker": {
"command": "npx",
"args": [
"-y",
"deno",
"run",
"--allow-all",
"jsr:@mcpc/oapi-invoker-mcp/bin"
],
"env": {},
"transportType": "stdio"
}
}
}
If you have Deno installed locally, you can configure:
{
"mcpServers": {
"capi-invoker": {
"command": "deno",
"args": ["run", "--allow-all", "jsr:@mcpc/oapi-invoker-mcp/bin"],
"env": {},
"transportType": "stdio"
}
}
}
The above two methods need to supplement the env field as environment variables for running the MCP Server.