Skip to main content
Glama

MCP YAML API

by molavec

MCP YAML API

YAML 파일에 정의된 API 구성에서 도구를 생성하는 모델 컨텍스트 프로토콜(MCP) 서버입니다. 이 서버를 사용하면 YAML 구성 파일에 API 엔드포인트를 정의하는 것만으로 MCP 도구를 생성할 수 있으므로 외부 API를 MCP 생태계에 쉽게 통합할 수 있습니다.

특징

  • YAML을 사용하여 여러 API 엔드포인트 구성
  • 모든 HTTP 메서드(GET, POST, PATCH, PUT, DELETE)를 지원합니다.
  • 민감한 데이터에 대한 환경 변수 보간
  • URL 템플릿에서 자동 매개변수 생성
  • 도구 생성을 위한 팩토리 패턴
  • 전체 MCP 서버 구현

설치

지엑스피1

구성

프로젝트에 api.yaml 파일을 만듭니다.

apis: getUser: url: https://api.example.com/users/{id} method: GET api-token: ${API_TOKEN} content: headers: Accept: application/json

API 토큰에 대한 .env 파일을 만듭니다.

API_TOKEN=your_api_token_here

용법

MCP 서버를 실행합니다.

mcp-yaml-api

서버는 api.yaml 파일에 정의된 각 API 엔드포인트에 대한 MCP 도구를 생성합니다.

YAML 구성

YAML 파일의 각 API 엔드포인트에는 다음이 있어야 합니다.

  • url : 엔드포인트 URL( {id} 와 같은 경로 매개변수 지원)
  • method : HTTP 메서드(GET, POST, PATCH, PUT, DELETE)
  • api-token : API 토큰(환경 변수 지원)
  • content : 요청 구성
    • headers : 요청 헤더
    • body : 요청 본문 스키마(POST, PUT, PATCH용)

구성 예

모든 HTTP 메서드가 포함된 전체 예는 api.yaml 참조하세요.

기여하다

  1. 저장소를 포크하세요
  2. 기능 브랜치를 생성하세요
  3. 변경 사항을 커밋하세요
  4. 지점으로 밀어 넣기
  5. 새로운 풀 리퀘스트 만들기

특허

MIT

Install Server
A
security – no known vulnerabilities
F
license - not found
A
quality - confirmed to work

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.

YAML 파일에 정의된 API 구성에서 도구를 생성하는 모델 컨텍스트 프로토콜 서버로, 코딩 없이 외부 API를 MCP 생태계에 쉽게 통합할 수 있습니다.

  1. 특징
    1. 설치
      1. 구성
        1. 용법
          1. YAML 구성
            1. 구성 예
              1. 기여하다
                1. 특허

                  Related MCP Servers

                  • A
                    security
                    A
                    license
                    A
                    quality
                    A 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 -
                    12
                    Python
                    MIT License
                    • Linux
                    • Apple
                  • A
                    security
                    A
                    license
                    A
                    quality
                    A 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 -
                    7
                    2
                    JavaScript
                    MIT License
                  • -
                    security
                    F
                    license
                    -
                    quality
                    A 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 -
                    28
                    Python
                    • Linux
                    • Apple
                  • -
                    security
                    A
                    license
                    -
                    quality
                    A 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 -
                    14
                    Python
                    MIT License

                  View all related MCP servers

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

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