{
"mcpServers": {
"API specification": {
"command": "npx",
"args": [
"-y",
"apidog-mcp-server@latest",
"--oas=<oas-url-or-path>"
]
}
}
}<oas-url-or-path> can be:https://petstore.swagger.io/v2/swagger.json)~/data/petstore/swagger.json)mcp.json file, add the following configuration (remember to 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.<API address of the on-premise server, starting with http:// or https://>" Additionally, ensure network access to www.npmjs.com properly.{
"mcpServers": {
"API specification": {
"command": "npx",
"args": [
"-y",
"apidog-mcp-server@latest",
"--oas=<oas-url-or-path>",
// Required for on-premise deployment:
"--apidog-api-base-url=<API address of the on-premise server, starting with http:// or https://>"
]
}
}
}