Cover image
Try Now
2025-04-14

MCP Access Point est un outil de passerelle léger conçu pour combler les services HTTP traditionnels avec des clients MCP (Model Context Protocol). Il permet une interaction transparente entre les clients MCP et les services HTTP existants sans nécessiter de modifications du code d'interface côté serveur.

3 years

Works with Finder

1

Github Watches

1

Github Forks

5

Github Stars

MCP Access Point

MCP Access Point is a lightweight gateway tool designed to bridge traditional HTTP services with MCP (Model Context Protocol) clients. It enables seamless interaction between MCP clients and existing HTTP services without requiring any modifications to the server-side interface code.

README in English 简体中文版自述文件

Http to SSE by open

This mode allows clients like Cursor Desktop to communicate to a remote server over SSE even though it is not supported natively.

graph LR
    A["Cursor Desktop"] <--> |sse| B["MCP Access Point"]
    B <--> |http| C["Existing Http Server"]

    style A fill:#ffe6f9,stroke:#333,color:black,stroke-width:2px
    style B fill:#e6e6ff,stroke:#333,color:black,stroke-width:2px
    style C fill:#e6ffe6,stroke:#333,color:black,stroke-width:2px

Quick Start

Installation Method

# Install from source  
git clone https://github.com/sxhxliang/mcp-access-point.git  
cd mcp-access-point  
# Pass the openapi.json file path, mcp port number, and upstream service address  
cargo run -- -f openapi_for_demo.json -p 8080 -u localhost:8090
# You can also use the openapi.json of a remote server, such as petstore.swagger.io for demonstration purposes.
cargo run -- -f https://petstore.swagger.io/v2/swagger.json -p 8080 -u localhost:8090
# Use inspector for debugging. First, start the service.  
npx @modelcontextprotocol/inspector@0.8.1 node build/index.js  
# Access http://127.0.0.1:6274/  
# Select "see," fill in 0.0.0.0:8080/sse, and click "connect" to link to the service.  

Breakdown of Arguments:

  1. -f openapi_for_demo.json

    • -f (or --file) specifies the path to the OpenAPI specification file (openapi_for_demo.json).
    • This file defines the API that the MCP (Model Context Protocol) access point will use.
  2. -p 8080

    • -p (or --port) sets the port number (8080) on which the MCP access point will listen for incoming requests.
  3. -u localhost:8090

    • -u (or --upstream) defines the upstream service address (localhost:8090).
    • The MCP access point will forward requests to this address after processing them.

Key Characteristics:

  • Protocol Conversion: Translates between HTTP and MCP protocols bidirectionally
  • Zero Modification: Works with existing HTTP services as-is
  • Client Enablement: Allows MCP clients to consume standard HTTP services
  • Lightweight Proxy: Minimal overhead with clean protocol translation

Running with Docker

Build Docker Image (Optional, if you want to build locally)

# Clone the repository
git clone https://github.com/sxhxliang/mcp-access-point.git
cd mcp-access-point

# Build Docker image
docker build -t kames2025/mcp-access-point:latest .

Pull and Run Docker Container

# Using environment variables for configuration (upstream service running on host)
# Note: Replace /path/to/your/openapi.json with the actual path to your local OpenAPI file
# Note: The upstream address uses host.docker.internal to point to the host machine. If this doesn't work, try the host's LAN IP address.
docker run -d --name mcp-access-point --rm \
  -p 8080:8080 \
  -e port=8080 \
  -e upstream=host.docker.internal:8090 \
  -e openapi_json=/app/config/openapi.json \
  -v /path/to/your/openapi.json:/app/config/openapi.json \
  kames2025/mcp-access-point:latest

# Or specify the openapi_json environment variable directly
docker run -d --name mcp-access-point --rm \
  -p 8080:8080 \
  -e port=8080 \
  -e upstream=host.docker.internal:8090 \
  -e openapi_json=/app/config/openapi.json \
  -v /path/to/your/openapi.json:/app/config/openapi.json \
  kames2025/mcp-access-point:latest

Environment Variables

  • port: MCP access point listening port, default is 8080
  • upstream: Upstream service address, default is localhost:8090
  • openapi_json: Path to the OpenAPI specification file, default is /app/config/openapi.json

The solution is particularly valuable for:

  • Gradually migrating HTTP services to MCP architecture
  • Enabling MCP-based systems to leverage existing HTTP infrastructure
  • Building hybrid systems that need to support both protocols

Example use case: An AI service with MCP-native clients needs to integrate with legacy HTTP-based microservices. The MCP Access Point sits between them, handling protocol translation transparently.

Would you like me to develop any particular aspect of this description further, such as technical architecture or specific protocol conversion details?

相关推荐

  • Joshua Armstrong
  • Confidential guide on numerology and astrology, based of GG33 Public information

  • https://suefel.com
  • Latest advice and best practices for custom GPT development.

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

  • Elijah Ng Shi Yi
  • Advanced software engineer GPT that excels through nailing the basics.

  • https://maiplestudio.com
  • Find Exhibitors, Speakers and more

  • lumpenspace
  • Take an adjectivised noun, and create images making it progressively more adjective!

  • https://appia.in
  • Siri Shortcut Finder – your go-to place for discovering amazing Siri Shortcuts with ease

  • Carlos Ferrin
  • Encuentra películas y series en plataformas de streaming.

  • Yusuf Emre Yeşilyurt
  • I find academic articles and books for research and literature reviews.

  • tomoyoshi hirata
  • Sony α7IIIマニュアルアシスタント

  • apappascs
  • Découvrez la collection la plus complète et la plus à jour de serveurs MCP sur le marché. Ce référentiel sert de centre centralisé, offrant un vaste catalogue de serveurs MCP open-source et propriétaires, avec des fonctionnalités, des liens de documentation et des contributeurs.

  • ShrimpingIt
  • Manipulation basée sur Micropython I2C de l'exposition GPIO de la série MCP, dérivée d'Adafruit_MCP230XX

  • jae-jae
  • MCP Server pour récupérer le contenu de la page Web à l'aide du navigateur sans tête du dramwright.

  • ravitemer
  • Un puissant plugin Neovim pour gérer les serveurs MCP (Protocole de contexte modèle)

  • patruff
  • Pont entre les serveurs Olllama et MCP, permettant aux LLM locaux d'utiliser des outils de protocole de contexte de modèle

  • Sysc4lls
  • Lecteur de documentation IDA (Sort-of) MCP Server

  • pontusab
  • La communauté du curseur et de la planche à voile, recherchez des règles et des MCP

  • JackKuo666
  • 🔍 Permettre aux assistants d'IA de rechercher et d'accéder aux informations du package PYPI via une interface MCP simple.

  • av
  • Exécutez sans effort LLM Backends, API, Frontends et Services avec une seule commande.

  • WangRongsheng
  • 🧑‍🚀 全世界最好的 LLM 资料总结 (数据处理、模型训练、模型部署、 O1 模型、 MCP 、小语言模型、视觉语言模型) | Résumé des meilleures ressources LLM du monde.

    Reviews

    3 (1)
    Avatar
    user_VAEGmOMS
    2025-04-17

    MCP-Access-Point by sxhxliang is a fantastic application that exceeds my expectations. The seamless integration and user-friendly interface make accessing and managing data incredibly efficient. As an enthusiastic user, I highly appreciate the attention to detail and reliability offered by this tool. Highly recommend checking it out!