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〉には次のいずれかを指定します。https://petstore.swagger.io/v2/swagger.json)~/data/petstore/swagger.json)mcp.json に以下の設定を追加します。https://petstore.swagger.io/v2/swagger.json は実際の OpenAPI 仕様書のパスまたは URL に置き換えてください。{
"mcpServers": {
"API specification": {
"command": "npx",
"args": [
"-y",
"apidog-mcp-server@latest",
"--oas=https://petstore.swagger.io/v2/swagger.json"
]
}
}
}MCP 経由で API ドキュメントを取得し、このプロジェクトに存在する API の数を教えてください。--oas パラメータを指定します。{
"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>"
]
}
}
}http:// または https:// で始まる)に置き換えてください。www.npmjs.com へのネットワークアクセスを確保してください。