mholyjr
MCP Servermholyjrpublic

bh openapi mcp

提供基于 OpenAPI 的 MCP 服务器,支持模式发现和自省。

Repository Info

0
Stars
0
Forks
0
Watchers
0
Issues
TypeScript
Language
-
License

About This Server

提供基于 OpenAPI 的 MCP 服务器,支持模式发现和自省。

Model Context Protocol (MCP) - This server can be integrated with AI applications to provide additional context and capabilities, enabling enhanced AI interactions and functionality.

Documentation

bh-openapi-mcp

MCP server to get openapi schemas

Overview

This project provides a Model Context Protocol (MCP) server for OpenAPI-based schemas. It enables tools and resources to be exposed via a standardized interface, supporting schema discovery and introspection.

Features

  • MCP server implementation using @modelcontextprotocol/sdk
  • Tool for retrieving YAML schema definitions by name and project from a private GitHub repository
  • TypeScript-based codebase
  • Fetching schemas directly from @behavio/behavio-api-docs repository to keep the data up-to-date

Project Structure

  • src/ - Source code for the MCP server and helpers
  • build/ - Compiled output
  • package.json - Project configuration and dependencies

Getting Started

VS Code Settings

"mcp": {
    "servers": {
        "bh-openapi-mcp": {
            "type": "stdio",
            "command": "npx",
            "args": ["tsx", "[ABSOLUTE_PATH]/src/index.ts"],
            "env": {
                "GITHUB_TOKEN": "YOUR_GH_TOKEN"
            }
        }
    }
},

Prerequisites

  • Node.js (v16+ recommended)
  • pnpm or npm

Install dependencies

pnpm install
# or
npm install

Build the project

pnpm build
# or
npm run build

Start the server

pnpm start
# or
npm start

Usage

The server exposes a tool called get-schema-info that allows you to retrieve the YAML definition of a schema by name. This is useful for schema discovery and documentation purposes.

Development

  • TypeScript is used for type safety.

Quick Start

1

Clone the repository

git clone https://github.com/mholyjr/bh-openapi-mcp
2

Install dependencies

cd bh-openapi-mcp
npm install
3

Follow the documentation

Check the repository's README.md file for specific installation and usage instructions.

Repository Details

Ownermholyjr
Repobh-openapi-mcp
LanguageTypeScript
License-
Last fetched8/10/2025

Recommended MCP Servers

💬

Discord MCP

Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.

integrationsdiscordchat
🔗

Knit MCP

Connect AI agents to 200+ SaaS applications and automate workflows.

integrationsautomationsaas
🕷️

Apify MCP Server

Deploy and interact with Apify actors for web scraping and data extraction.

apifycrawlerdata
🌐

BrowserStack MCP

BrowserStack MCP Server for automated testing across multiple browsers.

testingqabrowsers

Zapier MCP

A Zapier server that provides automation capabilities for various apps.

zapierautomation