
fangorn-network/mcp
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
An MCP (Model Context Protocol) server that lets AI agents query a Fangorn subgraph schemas and conformant data published by data sources.
概要
An MCP (Model Context Protocol) server that lets AI agents query a Fangorn subgraph schemas and conformant data published by data sources. where the tag is your desired registry/namesepace, e.g. for the GCP docker image registry us-central1-docker.pkg.dev/lucky-lead-489114-d7 After configuring .env, from the root run: When running in HTTP mode, clients connect to http://localhost:4000/mcp using the Streamable HTTP transport. Use the MCP Inspector to test tools interactively:
README
Fangorn MCP Server
An MCP (Model Context Protocol) server that lets AI agents query a Fangorn subgraph schemas and conformant data published by data sources.
Setup
pnpm i
cp env.example .env
# Edit .env and set SUBGRAPH_URL and SUBGRAPH_API_KEY (if calling published Subgraph)
pnpm build
Docker
To build the docker image, run:
docker build -f Dockerfile \
-t us-central1-docker.pkg.dev/lucky-lead-489114-d7/fangorn-network/mcp:latest .
where the tag is your desired registry/namesepace, e.g. for the GCP docker image registry us-central1-docker.pkg.dev/lucky-lead-489114-d7
Running
Local (stdio)
pnpm start
# or
TRANSPORT=stdio node build/index.js
Remote (Streamable HTTP) — for networked agents
TRANSPORT=http PORT=4000 node build/index.js
# Server listens at http://localhost:4000/mcp
Docker
After configuring .env, from the root run:
docker compose up
Remote Client Connection
When running in HTTP mode, clients connect to http://localhost:4000/mcp using the Streamable HTTP transport.
Debugging
Use the MCP Inspector to test tools interactively:
pnpm inspect
インストール
This server does not publish a one-line install command.
Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →