Supports environment variable interpolation for API tokens and sensitive data through .env files, allowing secure storage of credentials used in API configurations.
Provides installation through the npm package registry with global installation support via 'npm install -g mcp-yaml-api'.
Enables defining and configuring multiple API endpoints using YAML syntax, supporting various HTTP methods, parameter generation, and request configurations.
MCP API Client (Beta)
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.
Support
YOU CAN HELP ME GET IT SOON!
Your help would really motivate me to get it done by May 30th, 2025!
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! 🙏🙏
Features
- Configure multiple API endpoints using YAML
- Automatic MCP tool creation from YAML config file.
- Automatic MCP fetch API creation from YAML config file.
- Supports all HTTP methods (GET, POST, PATCH, PUT, DELETE) [✨PARTIAL✨]
- Set API Headers [✨COMMING SOON✨]
- Set API path parameters (like
/users/:id
) [✨COMMING SOON✨] - Set API Token [✨COMMING SOON✨]
- Environment variable interpolation for sensitive data [✨COMMING SOON✨]
- Automatic parameter generation from URL templates [✨COMMING SOON✨]
- ...and best of all, SAVE COUNTLESS HOURS FOR HUMANITY 👏😎😉 by connecting your LLM to any API.
Use cases
- Connect to N8N, Make.com or Zapier webhook: Make actions in other platforms connecting to automations or integration tools.
- AI Model Integration: Quickly connect LLMs or other AI models to external APIs for data retrieval, enrichment, or action execution without custom code.
- Rapid Prototyping: Build and test API workflows using YAML configuration, ideal for hackathons, demos, or proof-of-concept projects.
- No-Code/Low-Code Automation: Enable non-developers to define and call APIs securely using simple YAML files and environment variables.
- Data Pipelines: Orchestrate API calls as part of ETL or data processing pipelines, leveraging MCP tools for modularity and reuse.
- API Gateway: Expose multiple backend APIs through a unified MCP interface, simplifying integration for downstream consumers.
- Secure API Access: Manage secrets and tokens via environment variables, keeping sensitive data out of source code and YAML files.
Getting started
- Get a copy of default
api.yaml
.
- You can test default api.yaml with express test server
test/server.js
. Execute in other terminal.
- Add MCP to your agent config file.
- Example for
Claude Client
settings file:
- Example for
Visual Studio Code
settings file:
- Just Ask!
YAML Configuration File
Each API YAML file can include global metadata with MCP information:
and a list of API endpoint definitions:
See public/apis.yaml
for a complete example with metadata and all HTTP methods and parameter types.
Config Example
TODO
- POST
- PUT
- PATCH
- DELETE
- headers
- API_TOKEN
Bugs and Requests
https://github.com/molavec/mcp-api-client/issues
Contributing
- Fork the repository
- Create your feature branch
- Commit your changes
- Push to the branch
- Create a new Pull Request
License
MIT
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
Tools
A Model Context Protocol server that creates tools from API configurations defined in YAML files, allowing easy integration of external APIs into an MCP ecosystem without coding.
Related MCP Servers
- AsecurityAlicenseAqualityA Model Context Protocol server that provides tools for code modification and generation via Large Language Models, allowing users to create, modify, rewrite, and delete files using structured XML instructions.Last updated -12PythonMIT License
- AsecurityAlicenseAqualityA comprehensive Model Context Protocol server that provides advanced Node.js development tooling for automating project creation, component generation, package management, and documentation with AI-powered assistance.Last updated -72JavaScriptMIT License
- -securityFlicense-qualityA Model Context Protocol server implementation that enables connection between OpenAI APIs and MCP clients for coding assistance with features like CLI interaction, web API integration, and tool-based architecture.Last updated -28Python
- -securityAlicense-qualityA streamlined foundation for building Model Context Protocol servers in Python, designed to make AI-assisted development of MCP tools easier and more efficient.Last updated -14PythonMIT License