https://petstore.swagger.io/v2/swagger.json)~/data/petstore/swagger.json){
"mcpServers": {
"API specification": {
"command": "npx",
"args": [
"-y",
"apidog-mcp-server@latest",
"--oas=<oas-url-or-path>"
]
}
}
}<oas-url-or-path> with:https://petstore.swagger.io/v2/swagger.json)~/data/petstore/swagger.json)mcp.json file, add the following configuration. Replace https://petstore.swagger.io/v2/swagger.json with your actual OpenAPI file path or URL:{
"mcpServers": {
"API specification": {
"command": "npx",
"args": [
"-y",
"apidog-mcp-server@latest",
"--oas=https://petstore.swagger.io/v2/swagger.json"
]
}
}
}Please fetch API documentation via MCP and tell me how many endpoints exist in the project--oas parameter.{
"mcpServers": {
"Petstore API": {
"command": "npx",
"args": [
"-y",
"apidog-mcp-server@latest",
"--oas=https://petstore.swagger.io/v2/swagger.json"
]
},
"Local API": {
"command": "npx",
"args": [
"-y",
"apidog-mcp-server@latest",
"--oas=~/data/my-api/openapi.yaml"
]
}
}
}{
"mcpServers": {
"API specification": {
"command": "npx",
"args": [
"-y",
"apidog-mcp-server@latest",
"--oas=<oas-url-or-path>",
"--apidog-api-base-url=<your-server-url>"
]
}
}
}<your-server-url> with your on-premise server's API address (starting with http:// or https://). Ensure network access to www.npmjs.com.