Skip to main content
Glama
FastMCP Remote Proxy

FastMCP Remote Proxy

by shahil04

FastMCP Remote Proxy

このプロジェクトは、リモートのFastMCPサーバーのツールをローカルプロキシ経由で公開します。アップストリームサーバーはStreamable HTTPを使用し、OAuth認証が必要です。

要件

  • Python 3.11 以降

  • uv

Related MCP server: mcp-auth-proxy

セットアップ

uv sync

代わりに、プロジェクトをゼロから作成するには:

uv init
uv add fastmcp

Inspectorで実行

ローカルのMCP Inspectorを次のコマンドで起動します:

uv run fastmcp dev main.py

初回実行時にはOAuthサインイン用のブラウザが開きます。ログインを完了したら、http://127.0.0.1:6274 でInspectorを開き、接続を更新してください。

FastMCPは、main.py 内の標準の mcp 変数を通じてサーバーを検出します。エントリポイントを明示的に指定することもできます:

uv run fastmcp dev main.py:mcp

ローカルのStdioサーバーとして実行

uv run main.py

これにより、Claude DesktopなどのMCPクライアント向けに、stdioを介したプロキシが起動します。

変更を公開

git add .
git commit -m "Update FastMCP proxy"
git push

アップストリームサーバーは FastMCP Cloud を通じてデプロイされています。

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables stdio-only MCP clients to connect to IFTTT's remote MCP server by handling OAuth authentication, SSE streaming, and response transformation.
    1
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    Bridges stdio-based LLM harnesses to OAuth-protected remote MCP servers via Streamable HTTP, handling PKCE browser login and token refresh automatically.
    5 npm
    MIT
  • A
    license
    Not graded
    quality
    A
    maintenance
    Bridge that lets stdio-only MCP clients connect to remote MCP servers with OAuth and other auth support, enabling local clients to use remote, authorized MCP servers.
    53 npm
    54
    MIT