A schema-first GraphQL MCP server that avoids the 1MB introspection limit via typeNames/typeDepth scoping — built for federated topologies.
接入配置
选择客户端,复制配置,再按项目文档补齐环境变量。
本地运行
claude mcp add graphql-enhanced --env ENDPOINT='<ENDPOINT>' -- npx -y @letoribo/mcp-graphql-enhanced~/.codex/config.toml
[mcp_servers.graphql-enhanced]
command = "npx"
args = ["-y", "@letoribo/mcp-graphql-enhanced"]
env = { ENDPOINT = "<ENDPOINT>" }
# codex mcp add graphql-enhanced --env ENDPOINT='<ENDPOINT>' -- npx -y @letoribo/mcp-graphql-enhanced~/.cursor/mcp.json
{
"mcpServers": {
"graphql-enhanced": {
"command": "npx",
"args": [
"-y",
"@letoribo/mcp-graphql-enhanced"
],
"env": {
"ENDPOINT": "<ENDPOINT>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"graphql-enhanced": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@letoribo/mcp-graphql-enhanced"
],
"env": {
"ENDPOINT": "<ENDPOINT>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"graphql-enhanced": {
"command": "npx",
"args": [
"-y",
"@letoribo/mcp-graphql-enhanced"
],
"env": {
"ENDPOINT": "<ENDPOINT>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"graphql-enhanced": {
"command": "npx",
"args": [
"-y",
"@letoribo/mcp-graphql-enhanced"
],
"env": {
"ENDPOINT": "<ENDPOINT>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"graphql-enhanced": {
"command": "npx",
"args": [
"-y",
"@letoribo/mcp-graphql-enhanced"
],
"env": {
"ENDPOINT": "<ENDPOINT>"
}
}
}
}远程托管
claude mcp add --transport http graphql-enhanced https://mcp-graphql-enhanced--letoribo.run.tools~/.codex/config.toml
[mcp_servers.graphql-enhanced]
url = "https://mcp-graphql-enhanced--letoribo.run.tools"
# codex mcp add graphql-enhanced --url https://mcp-graphql-enhanced--letoribo.run.tools~/.cursor/mcp.json
{
"mcpServers": {
"graphql-enhanced": {
"url": "https://mcp-graphql-enhanced--letoribo.run.tools"
}
}
}.vscode/mcp.json
{
"servers": {
"graphql-enhanced": {
"type": "http",
"url": "https://mcp-graphql-enhanced--letoribo.run.tools"
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"graphql-enhanced": {
"httpUrl": "https://mcp-graphql-enhanced--letoribo.run.tools"
}
}
}claude_desktop_config.json · Customize › Connectors › Add custom connector
{
"mcpServers": {
"graphql-enhanced": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://mcp-graphql-enhanced--letoribo.run.tools"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"graphql-enhanced": {
"url": "https://mcp-graphql-enhanced--letoribo.run.tools"
}
}
}需要的环境变量
ENDPOINT
把占位值换成你自己的密钥;不要把密钥提交到代码仓库。