
waha-ap-mcp-server
Permettez à l'IA de parcourir les openapis complexes en utilisant un langage simple
0
Github Watches
0
Github Forks
0
Github Stars
OpenAPI MCP Server
This is a Model Context Protocol (MCP) server that reads an OpenAPI specification file and exposes each API operation as a tool for Claude AI to use.
Features
- Automatically parses OpenAPI YAML files
- Generates MCP tools for each API operation
- Handles path parameters, query parameters, and request bodies
- Makes live API calls when Claude uses the tools
- Easy integration with Claude Desktop
Installation
# Clone the repository
git clone https://github.com/yourusername/openapi-mcp-server.git
cd openapi-mcp-server
# Install dependencies
npm install
Usage
-
Place your OpenAPI YAML file in the project directory or provide a path to it via environment variables.
-
Set up environment variables (optional):
# Create a .env file
echo "DEBUG=true" > .env
echo "OPENAPI_FILE=./path/to/your/openapi.yaml" >> .env
- Initialize the server with Claude Desktop:
npm run init
- Or run the server manually:
npm start
Configuration
You can configure the server using environment variables:
-
DEBUG
: Set totrue
to enable debug logging (default:false
) -
OPENAPI_FILE
: Path to your OpenAPI YAML file (default:./openapi.yaml
)
How it Works
The server reads your OpenAPI specification file and:
- Extracts all paths and operations
- Creates a tool for each operation with appropriate input schemas
- When Claude calls a tool, the server makes the corresponding API request
- The response is returned to Claude for analysis
Example
With an OpenAPI spec like:
paths:
/users:
get:
operationId: listUsers
summary: List all users
...
Claude can call the listUsers
tool, and the server will make a GET request to /users
on your behalf.
License
MIT
相关推荐
I find academic articles and books for research and literature reviews.
Confidential guide on numerology and astrology, based of GG33 Public information
Advanced software engineer GPT that excels through nailing the basics.
Take an adjectivised noun, and create images making it progressively more adjective!
Embark on a thrilling diplomatic quest across a galaxy on the brink of war. Navigate complex politics and alien cultures to forge peace and avert catastrophe in this immersive interstellar adventure.
Découvrez la collection la plus complète et la plus à jour de serveurs MCP sur le marché. Ce référentiel sert de centre centralisé, offrant un vaste catalogue de serveurs MCP open-source et propriétaires, avec des fonctionnalités, des liens de documentation et des contributeurs.
Manipulation basée sur Micropython I2C de l'exposition GPIO de la série MCP, dérivée d'Adafruit_MCP230XX
L'application tout-en-un desktop et Docker AI avec chiffon intégré, agents AI, constructeur d'agent sans code, compatibilité MCP, etc.
Miroir dehttps: //github.com/bitrefill/bitrefill-mcp-server
Un puissant plugin Neovim pour gérer les serveurs MCP (Protocole de contexte modèle)
Reviews

user_p09rbv3F
As a dedicated user of the waha-api-mcp-server by gabfr, I must say this server is a game-changer. It consistently delivers robust performance and seamless integration with various applications. The user-friendly documentation and the active community make it an invaluable tool for developers looking to enhance their MCP applications. Highly recommended!