MCP YAML API
MCP YAML-API
Ein Model Context Protocol (MCP)-Server, der Tools aus in YAML-Dateien definierten API-Konfigurationen erstellt. Mit diesem Server können Sie MCP-Tools erstellen, indem Sie einfach API-Endpunkte in einer YAML-Konfigurationsdatei definieren. So können Sie externe APIs problemlos in Ihr MCP-Ökosystem integrieren.
Merkmale
Konfigurieren Sie mehrere API-Endpunkte mit YAML
Unterstützt alle HTTP-Methoden (GET, POST, PATCH, PUT, DELETE)
Umgebungsvariableninterpolation für vertrauliche Daten
Automatische Parametergenerierung aus URL-Vorlagen
Fabrikmuster zur Werkzeugerstellung
Vollständige MCP-Serverimplementierung
Related MCP server: mcp-server-llmling
Installation
npm install -g mcp-yaml-apiKonfiguration
Erstellen Sie eine api.yaml Datei in Ihrem Projekt:
apis:
getUser:
url: https://api.example.com/users/{id}
method: GET
api-token: ${API_TOKEN}
content:
headers:
Accept: application/jsonErstellen Sie eine .env Datei für Ihre API-Token:
API_TOKEN=your_api_token_hereVerwendung
Führen Sie den MCP-Server aus:
mcp-yaml-apiDer Server erstellt MCP-Tools für jeden API-Endpunkt, der in Ihrer Datei api.yaml definiert ist.
YAML-Konfiguration
Jeder API-Endpunkt in der YAML-Datei sollte Folgendes haben:
url: Die Endpunkt-URL (unterstützt Pfadparameter wie{id})method: HTTP-Methode (GET, POST, PATCH, PUT, DELETE)api-token: API-Token (unterstützt Umgebungsvariablen)content: Konfiguration anfordernheaders: Anforderungsheaderbody: Anforderungstextschema (für POST, PUT, PATCH)
Beispielkonfiguration
Ein vollständiges Beispiel mit allen HTTP-Methoden finden Sie api.yaml .
Beitragen
Forken Sie das Repository
Erstellen Sie Ihren Feature-Zweig
Übernehmen Sie Ihre Änderungen
Push zum Zweig
Erstellen Sie einen neuen Pull Request
Lizenz
MIT
Available Tools
7 toolscreateUserB
Create a new user.
Inputs: name (required), email (required).
deleteUserADestructiveIdempotent
Delete a user by ID.
Inputs: id.
getUsersBRead-onlyIdempotent
Retrieve a list of users.
Inputs: no named parameters.
getUsersWithQueryParametersARead-onlyIdempotent
Retrieve a list of users with pagination.
Inputs: page, limit.
getUserWithPathParametersBRead-onlyIdempotent
Retrieve a user by ID.
Inputs: id.
replaceUserB
Replace an existing user.
Inputs: name (required), email (required), id.
updateUserC
Update an existing user.
Inputs: id, name, email.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 7 tools
The tools have overlapping purposes that could cause confusion, particularly between getUsers, getUsersWithQueryParameters, and getUserWithPathParameters, which all retrieve user data but with different parameters. However, the descriptions clarify the distinctions, such as pagination vs. ID-based retrieval, helping to mitigate misselection.
The naming is mostly consistent with a verb_noun pattern (e.g., createUser, deleteUser), but there are minor deviations in the longer names like getUsersWithQueryParameters and getUserWithPathParameters, which include additional descriptors. Overall, the pattern is readable and predictable.
With 7 tools, the count is well-scoped for a user management API, covering essential CRUD operations and additional query functionalities. Each tool serves a distinct purpose, making the set appropriately sized for the domain.
The tool set provides complete CRUD coverage for user management, including create, read (with variations for listing and specific retrieval), update, replace, and delete. There are no obvious gaps, and the surface supports full lifecycle operations without dead ends.
Maintenance
Related MCP Connectors
The Mercado Pago MCP Server implements the Model Context Protocol to provide AI agents and LLMs with access to Mercado Pago's APIs and tools within compatible development environments. It acts as an intermediary that translates Mercado Pago resources into executable functions (tools) that AI applications can invoke to perform actions and automate flows. The server simplifies integration, enables using documentation to implement or improve code, and optimizes operations through natural language interactions without manual implementations.
MCP server for your apps' tools and custom tools, plus hosted AI agents and approval-gated workflows
Model Context Protocol server for the Apideck Unified API. Connect any MCP-compatible agent framework to 100+ accounting systems, HRIS platforms, file storage providers, and more through one integration. More information https://www.apideck.com/mcp-server
The Remote MCP server acts as a standardized bridge between LLM applications (like Claude, ChatGPT, and Cursor) and external services, enabling AI agents to access external tools and resources. Its primary capability is providing a centralized search tool to discover other MCP servers and their respective tools. Unlike local implementations, it runs remotely with OAuth authentication and permission controls for security.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceAn MCP server that exposes HTTP methods defined in an OpenAPI specification as tools, enabling interaction with APIs via the Model Context Protocol.8MIT
- AlicenseNot gradedqualityBmaintenanceA server for the Machine Chat Protocol (MCP) that provides a YAML-based configuration system for LLM applications, allowing users to define resources, tools, and prompts without writing code.298 PyPI5MIT
- AlicenseNot gradedqualityDmaintenanceA server that enables interaction with any API that has a Swagger/OpenAPI specification through Model Context Protocol (MCP), automatically generating tools from API endpoints and supporting multiple authentication methods.115Apache 2.0
- AlicenseDqualityDmaintenanceA tool that creates MCP (Model Context Protocol) servers from OpenAPI/Swagger specifications, enabling AI assistants to interact with your APIs.351MIT