Overseas access: www.kdjingpai.com
Bookmark Us
Current Position:fig. beginning " AI Answers

How to install and configure openapi-mcp-server?

2025-08-28 1.4 K

Installing and configuring openapi-mcp-server is divided into the following steps:

  1. environmental preparation: Make sure Node.js and pnpm are installed (recommended). You can use the node -v and pnpm -v commands to check if they are installed.
  2. Get Code: Cloning GitHub repositories:
    git clone https://github.com/janwilmake/openapi-mcp-server.git
    cd openapi-mcp-server
  3. Installation of dependencies: Run pnpm install
  4. Build the project: Run pnpm build
  5. Configuring Claude Desktop: Edit the configuration file (Windows at %AppData%Claude, Mac at ~/Library/Application Support/Claude) to add the MCP server configuration:
    {
    "mcpServers": {
    "petstore-api": {
    "command": "npx".
    "args": ["openapi-mcp-server", "/path/to/openapi.json"]
    }
    }
    }
  6. priming: Start Claude Desktop after the configuration is complete and you're ready to go!

Note: The path needs to be replaced with the actual OpenAPI file location, the project comes with examples/petstore-openapi.json example file can be used for testing.

Recommended

Can't find AI tools? Try here!

Just type in the keyword Accessibility Bing SearchYou can quickly find all the AI tools on this site.

Top

en_USEnglish