Basic information
About API Auto MCP Server
# API Auto MCP Server
API Auto MCP Server is a MCP server in the Developer Tools category listed in the AddMCP.net directory, published by RJiazhen. Supported transport: stdio. Runtime: node. License: MIT license. Source code is hosted on github.com. Related topics: api-auto, auto-generate, mcp-server.
Setup
{
"mcpServers": {
"api-auto-mcp-server": {
"command": "npx",
"args": [
"@modelcontextprotocol/inspector",
"bun",
"dev",
"--cwd",
"D:/path/to/this/project",
"--openapi-url",
"your-openapi-json-url",
"--cookie",
"<your-cookie-name>=<your-cookie-value>"
]
}
}
}
{
"mcpServers": {
"api-auto-mcp-server": {
"command": "npx",
"args": [
"@modelcontextprotocol/inspector",
"bun",
"dev",
"--cwd",
"D:/path/to/this/project",
"--openapi-url",
"your-openapi-json-url",
"--cookie",
"<your-cookie-name>=<your-cookie-value>"
]
}
}
}
{
"servers": {
"api-auto-mcp-server": {
"command": "npx",
"args": [
"@modelcontextprotocol/inspector",
"bun",
"dev",
"--cwd",
"D:/path/to/this/project",
"--openapi-url",
"your-openapi-json-url",
"--cookie",
"<your-cookie-name>=<your-cookie-value>"
]
}
}
}
API Auto MCP Server config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"api-auto-mcp-server": {
"command": "npx",
"args": [
"@modelcontextprotocol/inspector",
"bun",
"dev",
"--cwd",
"D:/path/to/this/project",
"--openapi-url",
"your-openapi-json-url",
"--cookie",
"<your-cookie-name>=<your-cookie-value>"
]
}
}
}
API Auto MCP Server tools
Tool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is API Auto MCP Server?
API Auto MCP Server is a tool that automatically generates a Model Context Protocol (MCP) server from your server's OpenAPI specification. It enables AI to call your server's APIs without writing any code.
How to use API Auto MCP Server?
Add the server configuration to your MCP client config file (e.g., .cursor/mcp.json or .vscode/mcp.json). Provide your OpenAPI JSON URL via --openapi-url and authentication cookie via --cookie. The server is run via npx -y api-auto-mcp-server.
Key features of API Auto MCP Server
- Auto-generates MCP server from OpenAPI specification
- No code required to expose APIs to AI
- Supports cookie-based authentication for API calls
- Works with Cursor and VS Code MCP clients
- Runs via npx with zero installation steps
- Open source with Chinese documentation available
Use cases of API Auto MCP Server
- Quickly connect an AI assistant to your existing REST API
- Prototype AI integrations without writing custom MCP server code
- Enable AI to read and write data through your API endpoints
- Expose private API documentation as usable MCP tools
Frequently asked questions
1 What are the runtime requirements?
Node.js version >22.14.0 or Bun version >1.1.43 is required.
2 How do I authenticate API calls?
Pass cookie-based authentication via the --cookie command-line argument (e.g., --cookie "auth=your-cookie-value").
3 Does it work with any OpenAPI specification?
The server accepts any valid OpenAPI JSON URL provided via the --openapi-url argument.
4 How can I test or debug the server during development?
Run the MCP inspector with npx @modelcontextprotocol/inspector bun dev --cwd <project-path> --openapi-url <url> --cookie "<cookie>".
5 Is there a demo or example to get started?
Yes, visit the api-auto-mcp-server-demo repository for a quick start example.
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In