Apollo MCP Server
MCP server that exposes GraphQL operations as tools for AI models.
التثبيت
أضف هذا إلى إعدادات MCP في عميلك (Claude Desktop: claude_desktop_config.json، وCursor: .cursor/mcp.json، ويستخدم VS Code وغيره الصيغة نفسها «mcpServers»).
ghcr.io/apollographql/apollo-mcp-server:v2.1.0claude mcp add apollo-mcp-server -- docker run -i --rm ghcr.io/apollographql/apollo-mcp-server:v2.1.0 /config.yaml
{
"mcpServers": {
"apollo-mcp-server": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/apollographql/apollo-mcp-server:v2.1.0",
"/config.yaml"
]
}
}
}
التوثيق
مأخوذ من ملف README للمشروع على GitHub ويُحدَّث أسبوعيًا. تفتح الروابط على GitHub.
المحتويات
Apollo MCP Server
Apollo MCP Server is a Model Context Protocol server that exposes GraphQL operations as MCP tools. It provides a standard way for AI models to access and orchestrate your APIs running with Apollo.
Documentation
See the documentation for full details. This README shows the basics of getting this MCP server running. More details are available on the documentation site.
Installation
You can either build this server from source, if you have Rust installed on your workstation, or you can follow the installation guide.
To install the latest release from crates.io, run:
cargo install --locked apollo-mcp-server
--locked builds with the same dependency versions that were tested for the release.
To build from this repository instead, run cargo build from its root and the server will be built in the target/debug directory.
Getting started
Follow the quickstart tutorial to get started with this server.
Usage
Full usage of Apollo MCP Server is documented on the user guide. There are a few items that are necessary for this server to function. Specifically, the following things must be configured:
- A graph for the MCP server to sit in front of.
- Definitions for the GraphQL operations that should be exposed as MCP tools.
- A configuration file describing how the MCP server should run.
- A connection to an MCP client, such as an LLM or MCP inspector.
These are all described on the user guide. Specific configuration options for the configuration file are documented in the config file reference.
Contributions
Checkout the contributor guidelines for more information.
Licensing
This project is licensed under the MIT License. See the LICENSE file for the full license text.
Security
Refer to our security policy.
[!IMPORTANT]
Do not open up a GitHub issue if a found bug is a security vulnerability, and instead to refer to our security policy.
الأسئلة الشائعة
ما هو Apollo MCP Server؟
MCP server that exposes GraphQL operations as tools for AI models.
كيف أثبّت Apollo MCP Server؟
يعمل على جهازك. في Claude Code: claude mcp add apollo-mcp-server -- docker run -i --rm ghcr.io/apollographql/apollo-mcp-server:v2.1.0 /config.yaml. وفي العملاء الآخرين، الصق إعداد JSON من هذه الصفحة في إعدادات MCP الخاصة بهم.
هل يحتاج Apollo MCP Server إلى مفتاح API؟
لا يذكر إدراجه في السجل أي مفتاح أو سر إلزامي. قد تتطلب بعض الميزات حسابًا لدى الخدمة التي يتصل بها.
هل Apollo MCP Server مفتوح المصدر؟
نعم. شيفرته متاحة على GitHub بترخيص MIT.
من يصون Apollo MCP Server؟
ينشره apollographql. يدرجه AI.tn لكنه لا يصونه ولا يوصي به.
من سجل MCP الرسمي. الإدراج ليس توصية: راجع شيفرة الخادم وصلاحياته قبل منحه الوصول إلى بياناتك.