getPetById — Petstore MCP Server MCP Tool
getPetById
(get pet by id) is one of 19 tools on the
Petstore MCP Server
MCP server. Connect the server and your client discovers it on the handshake.
by client
How to call getPetById from your client
- Claude Code Petstore MCP Server getPetById run in your project directory
- Claude Desktop Petstore MCP Server getPetById ~/Library/Application Support/Claude/claude_desktop_config.json
- Cursor Petstore MCP Server getPetById ~/.cursor/mcp.json
- VS Code Petstore MCP Server getPetById .vscode/mcp.json
- Zed Petstore MCP Server getPetById ~/.config/zed/settings.json
- Windsurf Petstore MCP Server getPetById ~/.codeium/windsurf/mcp_config.json
- Cline Petstore MCP Server getPetById ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
- Gemini CLI Petstore MCP Server getPetById ~/.gemini/settings.json
- Grok Petstore MCP Server getPetById .mcp.json (in your project root)
- ChatGPT Petstore MCP Server getPetById Settings → Connectors → Advanced → Developer mode
- Claude.ai Petstore MCP Server getPetById Settings → Connectors → Add custom connector
- LangChain Petstore MCP Server getPetById pip install langchain-mcp-adapters
Fastest route
claude mcp add --transport http petstore https://petstore.run.mcp.com.ai/mcp
Other tools on this server
This list was read from the server itself, by connecting to it and calling tools/list on 24 September 2026. It is what
the server actually exposes, not what its listing claims.
Mutating and Read-only are read off each tool's name, not its schema — a hint, not a guarantee. The registry stores tool names only; connect the server for its live schemas.