Skip to main content
Glama

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-api

Konfiguration

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/json

Erstellen Sie eine .env Datei für Ihre API-Token:

API_TOKEN=your_api_token_here

Verwendung

Führen Sie den MCP-Server aus:

mcp-yaml-api

Der 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 anfordern

    • headers : Anforderungsheader

    • body : Anforderungstextschema (für POST, PUT, PATCH)

Beispielkonfiguration

Ein vollständiges Beispiel mit allen HTTP-Methoden finden Sie api.yaml .

Beitragen

  1. Forken Sie das Repository

  2. Erstellen Sie Ihren Feature-Zweig

  3. Übernehmen Sie Ihre Änderungen

  4. Push zum Zweig

  5. Erstellen Sie einen neuen Pull Request

Lizenz

MIT

A
license - permissive license
B
quality
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    Not graded
    quality
    D
    maintenance
    An MCP server that exposes HTTP methods defined in an OpenAPI specification as tools, enabling interaction with APIs via the Model Context Protocol.
    8
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    A 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.
    6
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    A 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.
    176
    117
    Apache 2.0

View all related MCP servers

Related MCP Connectors

  • A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…

  • MCP server for secureFlows: token-free URL builders and integration-linting tools for AI agents.

  • Hosted MCP endpoint with realistic fake data for prototyping agents. 12 tools, no setup.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/molavec/mcp-api-client'

If you have feedback or need assistance with the MCP directory API, please join our Discord server