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> por:https://petstore.swagger.io/v2/swagger.json)~/data/petstore/swagger.json)mcp.json aberto, adicione a seguinte configuração. Substitua https://petstore.swagger.io/v2/swagger.json pelo caminho ou URL real do seu arquivo OpenAPI:{
"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 diferente.{
"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> pelo endereço de API do seu servidor on-premise (começando com http:// ou https://). Certifique-se de que haja acesso de rede a www.npmjs.com.