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> dengan:https://petstore.swagger.io/v2/swagger.json)~/data/petstore/swagger.json)mcp.json yang terbuka, tambahkan konfigurasi berikut. Ganti https://petstore.swagger.io/v2/swagger.json dengan path file atau URL OpenAPI Anda yang sebenarnya:{
"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 yang berbeda.{
"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> dengan alamat API server on-premise Anda (dimulai dengan http:// atau https://). Pastikan akses jaringan ke www.npmjs.com.