API Auto MCP Server
About
# API Auto MCP Server [中文文档](./docs/README.zh-CN.md) API Auto MCP Server is a MCP Server **auto generate tool** by your server's OpenAPI specification. It allow your AI to access your server's API without writing any code. ## Quick Start You can visit the…
Details
- Author
- RJiazhen
- Downloads
- 148
- Categories
- Developer Tools
Jump to
- 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
Setting up with Highlight
This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:
- Download and install Highlight from highlightai.com/download
- Navigate to the plugins tab and select "Add Custom Plugin"
-
Configure the plugin with the settings below
Plugin Name
API Auto MCP ServerCommand (node, npx, python, etc.)Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.
- Enable "Start Automatically" if you want the plugin to start when Highlight launches
From the repository
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.
Claude Desktop / Cursor
Paste into your MCP client config file to install this server.
{
"mcpServers": {
"api auto mcp server": {
"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>"
]
}
}
API Auto MCP Server
API Auto MCP Server is a MCP Server auto generate tool by your server's OpenAPI specification. It allow your AI to access your server's API without writing any code.
Quick Start
You can visit the api-auto-mcp-server-demo for a quick start.
Or you can follow the steps below to set up the API Auto MCP Server for your own server:
With Cursor
Add the api-auto mcp server config to your .cursor/mcp.json, remember change the url to your own:
{
"mcpServers": {
// ... other servers
"api-auto": {
"command": "npx",
"args": [
"-y",
"api-auto-mcp-server",
"--openapi-url",
"http://your-openapi-json-url",
"--cookie",
"auth=your-cookie-here"
]
}
}
}
With Visual Studio Code
Add this to your .vscode/mcp.json, remember change the url to your own:
{
"servers": {
// ... other servers
"auto-api": {
"command": "npx",
"args": [
"-y",
"api-auto-mcp-server",
"--openapi-url",
"http://your-openapi-json-url",
"--cookie",
"auth=your-cookie-value"
]
}
}
}
Development
Develop Environment
- Node.js: >22.14.0
- Bun: >1.1.43
Run the MCP server by inspector
npx @modelcontextprotocol/inspector bun dev --cwd D:/path/to/this/project --openapi-url your-openapi-json-url --cookie "<your-cookie-name>=<your-cookie-value>"
<!-- TODO complete development guide -->
License
MIT
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.





