Apidog Sync MCP Server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Apidog Sync MCP Serveranalyze my API folder structure"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Apidog Sync - MCP Server
MCP server for reading, writing, and organizing API documentation in Apidog. Works across Claude Desktop, Claude CLI, Cursor, and Antigravity.
Built on a validated POC: Export → Find → Diff → Merge → Import → Verify.
Tools
Read
Tool | Description |
| Export full OpenAPI spec |
| List endpoints (filterable by tag/path/folder/status) |
| Get full details of a specific endpoint |
| Fuzzy search by keyword across path/summary/tags/folder |
Write
Tool | Description |
| Create or update a single endpoint (with diff + verify) |
| Batch create/update multiple endpoints |
| Remove an endpoint |
| Create or update a component schema |
| Import a full or partial OpenAPI spec |
Organize
Tool | Description |
| Analyze current folder structure and stats |
| Propose better folder organization (dry-run, no changes) |
| Apply a user-validated reorganization plan |
Related MCP server: API Docs MCP Server
Quick Start
1. Get your Apidog credentials
Access Token: Apidog → Account Settings → API Access Token → New
Project ID: Found in your project URL or project settings
2. Add to your MCP client
No installation needed — just add this config block:
{
"mcpServers": {
"apidog": {
"command": "npx",
"args": ["-y", "apidog-sync-mcp-server"],
"env": {
"APIDOG_ACCESS_TOKEN": "your-token",
"APIDOG_PROJECT_ID": "your-project-id"
}
}
}
}That's it. npx downloads and runs the server automatically.
Where to put this config
Client | Config file |
Claude Code (global) |
|
Claude Code (per-project) |
|
Claude Desktop |
|
Cursor |
|
Windsurf | MCP settings panel |
Multiple Apidog projects
Use separate entries — each pointing to a different project ID:
{
"mcpServers": {
"apidog-frontend": {
"command": "npx",
"args": ["-y", "apidog-sync-mcp-server"],
"env": {
"APIDOG_ACCESS_TOKEN": "your-token",
"APIDOG_PROJECT_ID": "frontend-project-id"
}
},
"apidog-backend": {
"command": "npx",
"args": ["-y", "apidog-sync-mcp-server"],
"env": {
"APIDOG_ACCESS_TOKEN": "your-token",
"APIDOG_PROJECT_ID": "backend-project-id"
}
}
}
}Usage Examples
Updating an endpoint after a route change
"I updated the validation rules on the peppol endpoint, the description should say the format must be scheme:identifier with a single colon. Update the docs."
The agent will:
Search for the peppol endpoint (
apidog_search_endpoints)Get the current format (
apidog_get_endpoint)Build the updated operation matching the exact existing format
Push the update with diff showing what changed (
apidog_upsert_endpoint)Verify the update landed
Reorganizing folders
"Analyze my API folder structure and suggest a better organization"
The agent will:
Analyze current folders (
apidog_analyze_folders)Propose reorganization (
apidog_propose_reorganization)Present the plan and wait for your approval
Apply only after you confirm (
apidog_apply_reorganization)
Batch updates from route changes
"I added 3 new routes for invoice management: POST /api/v1/invoices, GET /api/v1/invoices/{id}, DELETE /api/v1/invoices/{id}. Add them to the docs."
The agent will:
Check existing endpoints to learn the format
Build all 3 operations matching the project format
Batch upsert them (
apidog_upsert_endpoints)
Reorganization Strategies
Strategy | Description |
| Infer folders from URL paths: |
| Keep existing top-level folders, reorganize sub-levels |
| Single level by main resource name |
Custom mappings let you override specific prefixes:
{
"customMappings": {
"/api/v1/admin": "Administration",
"/auth": "Authentication",
"/api/v1/public": "Public API"
}
}Apidog Extensions
Fully supports:
x-apidog-folder— Folder path:"Safetytracker V1/Super Admin/Billing"x-apidog-status— Lifecycle:designing,developing,released,deprecatedx-apidog-maintainer— Team member assignmentx-apidog-orders— Field ordering in schema objectsx-apidog-ignore-properties— Hidden propertiesx-apidog-name— Response display namesx-apidog-ordering— Response ordering
How Writes Work
Every write operation follows the POC-validated flow:
Export current spec (preserves all formatting)
↓
Find target endpoint (exact match or fuzzy search)
↓
Compute diff (show what changed)
↓
Merge into full spec (deep merge, preserve untouched endpoints)
↓
Import with OVERWRITE_EXISTING
↓
Verify (re-export and confirm)No endpoints are lost. No formatting is changed on untouched endpoints.
Development
To run from source (for contributing or local testing):
git clone https://github.com/YOUR_USERNAME/apidog-sync-mcp-server.git
cd apidog-sync-mcp-server
npm installThen point your MCP config to the local source:
{
"mcpServers": {
"apidog": {
"command": "node",
"args": ["/path/to/apidog-sync-mcp-server/src/index.js"],
"env": {
"APIDOG_ACCESS_TOKEN": "your-token",
"APIDOG_PROJECT_ID": "your-project-id"
}
}
}
}License
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/akhelij/apidog-sync-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server