
API Client
STDIOMCP server for connecting to APIs using YAML configuration files.
MCP server for connecting to APIs using YAML configuration files.
A Model Context Protocol (MCP) server that call APIs using YAML config files.
This server allows you connect to APIs using simple a config YAML file! 🤩
Ideal for: #lazy-programmers
#nocode
#lowcode
#ai-integrators
#automation
#api-gateway
#data-pipelines
#rapid-prototyping
#llm-integration
#makers
If you don't have advance APIs call skills using a programming language or you just want a fast way to connect your AI model with an API using MCP, you will LOVE 💖 this MCP.
Check this video using included Test Server and Claude
Make a reaction and give me a motivational comment on mcp.so repository
... and yes! A donation to help cover my coffee and rent would be amazing! 🙏🙏
/users/{id}
)[✨WORKING✨]/users?page={page}&limit={limit}
) [✨WORKING✨]api.yaml
.npx -y mcp-api-client --init
npx -y mcp-api-client --test-server
Claude Client
settings file:"mcp": { "servers": { "mcp-api-client": { "command": "npx", "args": [ "-y", "mcp-api-client", "path-to-api.yaml" ] }, } }
Visual Studio Code
settings file:"mcp": { "servers": { "mcp-api-client": { "command": "npx", "args": [ "-y", "mcp-api-client", "path-to-api.yaml" ] }, } }
Each API YAML file can include global metadata with MCP information:
metadata: General information about the API set
and a list of API endpoint definitions:
apis: A list of API endpoint definitions. Each endpoint should have
metadata: name: API Examples version: 1.0.0 description: This file contains examples of various API endpoints for testing purposes. apis: - name: getUser url: https://api.example.com/users/{id} method: GET content: headers: Accept: application/json - name: createUser url: https://api.example.com/users method: POST api-token: ${API_TOKEN} content: headers: Content-Type: application/json body: name: string email: string ...
See public/apis.yaml for a complete example with metadata and all HTTP methods and parameter types.
Create a .env
file for your API tokens:
API_TOKEN=your_api_token_here
https://github.com/molavec/mcp-api-client/issues
MIT