SM

sxhxliang/mcp-access-point

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

185 stars 32 forks 品質 63 トレンド 17MIT

sxhxliang/mcp-access-pointは、https://github.com/sxhxliang/mcp-access-point.からインポートされたMCPサーバー候補です。

概要

sxhxliang/mcp-access-pointは、https://github.com/sxhxliang/mcp-access-point.からインポートされたMCPサーバー候補です。

概要(AI 翻訳)

MCP Access Pointは、従来のHTTPサービスとMCP(モデルコンテキストプロトコル)クライアント間で通信ブリッジを確立するために設計された軽量プロトコル変換ゲートウェイツールです。これにより、MCPクライアントはサーバー側のインターフェース変更を一切必要とせずに、既存のHTTPサービスと直接やり取りできます。

はじめに

このプロジェクトは、Pingoraという超高性能ゲートウェイプロキシライブラリを基盤としており、大規模なリクエストプロキシサービスをサポート可能です。PingoraはCloudflareプラットフォームのコアトラフィックを処理するサービス構築に使用され、長年にわたりインターネット上で毎秒4,000万件以上のリクエストを一貫して処理してきました。Cloudflareプラットフォーム上のトラフィックの大部分を支える技術的な基盤となっています。

HTTPからMCPへ

このモードにより、Cursor Desktopのようなクライアントは、サーバー自体がSSEプロトコルをサポートしていなくても、SSEを通じてリモートHTTPサーバーと通信できます。

  • 例のセットアップには2つのサービスが含まれます:
  • 1系統は[[T6]でローカル運行)
  • サービス2は[[T7]でリモートで運行されます。

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

MCP Access Point

MCP Access Point is a lightweight protocol conversion gateway tool designed to establish a communication bridge between traditional HTTP services and MCP (Model Context Protocol) clients. It enables MCP clients to interact directly with existing HTTP services without requiring any server-side interface modifications.

Introduction

This project is built on Pingora - an ultra-high performance gateway proxy library capable of supporting massive-scale request proxy services. Pingora has been used to build services that handle core traffic for the Cloudflare platform, consistently serving over 40 million requests per second across the internet for years. It has become the technical cornerstone supporting a significant proportion of traffic on the Cloudflare platform.

HTTP to MCP

This mode allows clients like Cursor Desktop to communicate with remote HTTP servers through SSE, even when the servers themselves don’t support the SSE protocol.

  • Example setup includes two services:
    • Service 1 runs locally at 127.0.0.1:8090
    • Service 2 runs remotely at api.example.com
  • Through the MCP Access Point, both services can be converted to MCP services without any code modifications.
  • Clients communicate with Service 1 and Service 2 via the MCP protocol. The MCP Access Point automatically distinguishes MCP requests and forwards them to the appropriate backend services.
graph LR
   A["Cursor Desktop"]  |SSE| B["MCP Access Point"]
   A2["Other Desktop"]  |Streamable Http| B["MCP Access Point"]
   B  |http 127.0.0.1:8090| C1["Existing API Server"]
   B  |https//api.example.com| C2["Existing API Server"]
  
   style A2 fill:#ffe6f9,stroke:#333,color:black,stroke-width:2px
   style A fill:#ffe6f9,stroke:#333,color:black,stroke-width:2px
   style B fill:#e6e6af,stroke:#333,color:black,stroke-width:2px
   style C1 fill:#e6ffe6,stroke:#333,color:black,stroke-width:2px
   style C2 fill:#e6ffd6,stroke:#333,color:black,stroke-width:2px

Transport Type (Specification)

Currently supports SSE and Streamable HTTP protocols:

  • ✅ Streamable HTTP (stateless) 2025-03-26

    • All services: ip:port/mcp
    • Single service: ip:port/api/{service_id}/mcp
  • ✅ SSE 2024-11-05

    • All services: ip:port/sse
    • Single service: ip:port/api/{service_id}/sse

use IP:PORT/sse for SSE

GitHub で README 全文を見る

インストール

npx @modelcontextprotocol/inspector node build/index.js
MCP 初心者?mcpskill.org のガイドから始めましょう →