You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* uses card layout to focus MCP docs root on start
* moves what is mcp / what is apollo mcp to a new page
Signed-off-by: Ronan Flynn-Curran <[email protected]>
subtitle: Introduction to MCP and how the Apollo MCP Server works
4
+
---
5
+
6
+
Apollo MCP Server provides a standard way for AI models to access and orchestrate your GraphQL APIs.
7
+
8
+
## What is MCP?
9
+
10
+
[Model Context Protocol (MCP)](https://modelcontextprotocol.io/introduction) is an open protocol that standardizes how applications provide context to AI models like Large Language Models (LLM). MCP enables LLMs and AI agents to indirectly fetch data from external sources.
11
+
12
+
MCP follows a client-server architecture. MCP servers expose functions, called _tools_, that MCP clients can invoke.
13
+
14
+
## What is Apollo MCP Server?
15
+
16
+
Apollo MCP Server is an implementation of an MCP server. It makes GraphQL API operations available to AI clients as MCP tools. You can use Apollo MCP Server with any GraphQL API.
17
+
18
+
The GraphQL operations can be configured from persisted queries, which are predefined, approved lists of operations that are registered with and maintained by a graph. The operations can also be determined by AI introspecting your graph schema.
19
+
20
+
Apollo MCP Server is deployable in local environments via Apollo's Rover CLI or in containerized services in your cloud infrastructure. It can expose an MCP endpoint using Streamable HTTP for communication with AI clients.
21
+
22
+
## How Apollo MCP Server works
23
+
24
+
Apollo MCP Server bridges AI applications and your GraphQL APIs, translating GraphQL operations into MCP tools that AI models can discover and use.
25
+
26
+
```mermaid
27
+
graph LR
28
+
%% Nodes
29
+
AI["AI Application\n(Claude, ChatGPT, etc.)"]
30
+
MCPClient["MCP Client\n(Built into AI app)"]
31
+
MCPServer["Apollo MCP Server"]
32
+
GraphQL["GraphQL API\n(Your Graph)"]
33
+
Data["Your Data Sources\n(Databases, APIs, etc.)"]
The architecture enables intelligent API orchestration through these components:
75
+
76
+
* AI Applications: Tools like Claude Desktop or ChatGPT connect to Apollo MCP Server through their built-in MCP clients, making requests in natural language.
77
+
* Transport Options: Communication happens over stdio for local development or Streamable HTTP.
78
+
* Tool Generation: Apollo MCP Server creates MCP tools from your GraphQL operations using:
79
+
* Operation Files: Individual `.graphql` files for specific queries or mutations
80
+
* Persisted Query Manifests: Pre-approved operation lists from Apollo GraphOS
81
+
* Schema Introspection: Dynamic operation discovery for flexible AI exploration
82
+
83
+
* Secure Execution: When invoked, the server executes GraphQL operations against your API endpoint, respecting all existing authentication, headers, and security policies.
84
+
* Existing Infrastructure: Your GraphQL API handles requests normally, with Apollo MCP Server acting as a controlled gateway rather than requiring any changes to your graph.
85
+
86
+
This design lets you expose precise GraphQL capabilities to AI while maintaining complete control over data access and security.
87
+
88
+
### Example usage
89
+
90
+
Once configured, AI applications can use your GraphQL operations naturally:
91
+
92
+
> User: "Show me the astronauts currently in space"
93
+
>
94
+
> Claude: *Uses GetAstronautsCurrentlyInSpace tool to query your GraphQL API*
95
+
>
96
+
> "There are currently 7 astronauts aboard the ISS..."
97
+
98
+
## Why GraphQL for AI?
99
+
100
+
GraphQL's architecture provides unique advantages for AI-powered API orchestration:
101
+
102
+
**🎯 Deterministic Execution**: GraphQL's built-in relationship handling and query structure eliminate guesswork for AI models. The graph defines clear paths between data types, ensuring AI agents execute operations in the correct sequence without complex prompt engineering or error-prone orchestration logic.
103
+
104
+
**🛡️ Policy Enforcement**: Security policies and access controls apply consistently across all services within a single GraphQL query context. This unified enforcement model ensures AI operations respect organizational boundaries, even when spanning multiple underlying APIs or microservices.
105
+
106
+
**⚡ Efficiency**: AI agents can request precisely the data needed in a single GraphQL query, reducing API calls, network overhead, and token usage. This focused approach delivers faster responses and lower operational costs compared to orchestrating multiple REST endpoints.
107
+
108
+
**🔄 Agility**: The pace of AI development demands infrastructure that can evolve daily. GraphQL's declarative approach lets teams rapidly create, modify, and deploy new AI capabilities through self-service tooling. Product teams can wire up new MCP tools without waiting for custom development, keeping pace with AI's unprecedented velocity.
109
+
110
+
With Apollo MCP Server, these GraphQL advantages become immediately accessible to AI applications through standardized MCP tools.
111
+
112
+
## Benefits of Apollo MCP Server
113
+
114
+
-**🤖 Enable AI-enabled API orchestration**. With Apollo MCP Server, AI models can act as intelligent orchestrators of their GraphQL API operations. By exposing GraphQL operations as distinct MCP tools, AI clients can dynamically chain these operations together, in combination with other MCP servers and tools to execute complex workflows and automate multi-step processes.
115
+
116
+
-**🚀 Connect AI to GraphQL in Minutes**. Developers can expose existing or new GraphQL API operations to AI clients without building complex custom integrations. By translating GraphQL functionalities into standardized MCP tools, Apollo MCP Server can significantly reduce the effort needed to connect AI to diverse data sources.
117
+
118
+
-**🔒 Maintain Full Security Control**. By using pre-defined, pre-approved persisted queries, developers can maintain precise governance over which data and operations AI clients can access. This ensures that AI uses existing security protocols and data access policies.
119
+
120
+
## Prerequisites
121
+
122
+
- A GraphQL API
123
+
- An MCP Client
124
+
125
+
## Getting started
126
+
127
+
Ready to connect AI to your GraphQL API? Follow our [5-minute quickstart](/apollo-mcp-server/quickstart) to see Apollo MCP Server in action, or explore the [config file reference](/apollo-mcp-server/config-file) for detailed configuration options.
@@ -12,125 +12,101 @@ This feature is in [preview](/graphos/resources/feature-launch-stages#preview).
12
12
13
13
</PreviewFeature>
14
14
15
-
Apollo MCP Server provides a standard way for AI models to access and orchestrate your APIs running with Apollo.
16
-
17
-
## What is MCP?
18
-
19
-
[Model Context Protocol (MCP)](https://modelcontextprotocol.io/introduction) is an open protocol that standardizes how applications provide context to AI models like Large Language Models (LLM). MCP enables LLMs and AI agents to indirectly fetch data from external sources.
20
-
21
-
MCP follows a client-server architecture. MCP servers expose functions, called _tools_, that MCP clients can invoke.
22
-
23
-
## What is Apollo MCP Server?
24
-
25
-
Apollo MCP Server is an implementation of an MCP server. It makes GraphQL API operations available to AI clients as MCP tools. You can use Apollo MCP Server with any GraphQL API.
26
-
27
-
The GraphQL operations can be configured from persisted queries, which are predefined, approved lists of operations that are registered with and maintained by a graph. The operations can also be determined by AI introspecting your graph schema.
28
-
29
-
Apollo MCP Server is deployable in local environments via Apollo's Rover CLI or in containerized services in your cloud infrastructure. It can expose an MCP endpoint using Streamable HTTP for communication with AI clients.
30
-
31
-
## How Apollo MCP Server works
32
-
33
-
Apollo MCP Server bridges AI applications and your GraphQL APIs, translating GraphQL operations into MCP tools that AI models can discover and use.
34
-
35
-
```mermaid
36
-
graph LR
37
-
%% Nodes
38
-
AI["AI Application\n(Claude, ChatGPT, etc.)"]
39
-
MCPClient["MCP Client\n(Built into AI app)"]
40
-
MCPServer["Apollo MCP Server"]
41
-
GraphQL["GraphQL API\n(Your Graph)"]
42
-
Data["Your Data Sources\n(Databases, APIs, etc.)"]
The architecture enables intelligent API orchestration through these components:
84
-
85
-
* AI Applications: Tools like Claude Desktop or ChatGPT connect to Apollo MCP Server through their built-in MCP clients, making requests in natural language.
86
-
* Transport Options: Communication happens over stdio for local development or Streamable HTTP.
87
-
* Tool Generation: Apollo MCP Server creates MCP tools from your GraphQL operations using:
88
-
* Operation Files: Individual `.graphql` files for specific queries or mutations
89
-
* Persisted Query Manifests: Pre-approved operation lists from Apollo GraphOS
90
-
* Schema Introspection: Dynamic operation discovery for flexible AI exploration
91
-
92
-
* Secure Execution: When invoked, the server executes GraphQL operations against your API endpoint, respecting all existing authentication, headers, and security policies.
93
-
* Existing Infrastructure: Your GraphQL API handles requests normally, with Apollo MCP Server acting as a controlled gateway rather than requiring any changes to your graph.
94
-
95
-
This design lets you expose precise GraphQL capabilities to AI while maintaining complete control over data access and security.
96
-
97
-
### Example usage
98
-
99
-
Once configured, AI applications can use your GraphQL operations naturally:
100
-
101
-
> User: "Show me the astronauts currently in space"
102
-
>
103
-
> Claude: *Uses GetAstronautsCurrentlyInSpace tool to query your GraphQL API*
104
-
>
105
-
> "There are currently 7 astronauts aboard the ISS..."
106
-
107
-
## Why GraphQL for AI?
108
-
109
-
GraphQL's architecture provides unique advantages for AI-powered API orchestration:
110
-
111
-
**🎯 Deterministic Execution**: GraphQL's built-in relationship handling and query structure eliminate guesswork for AI models. The graph defines clear paths between data types, ensuring AI agents execute operations in the correct sequence without complex prompt engineering or error-prone orchestration logic.
112
-
113
-
**🛡️ Policy Enforcement**: Security policies and access controls apply consistently across all services within a single GraphQL query context. This unified enforcement model ensures AI operations respect organizational boundaries, even when spanning multiple underlying APIs or microservices.
114
-
115
-
**⚡ Efficiency**: AI agents can request precisely the data needed in a single GraphQL query, reducing API calls, network overhead, and token usage. This focused approach delivers faster responses and lower operational costs compared to orchestrating multiple REST endpoints.
116
-
117
-
**🔄 Agility**: The pace of AI development demands infrastructure that can evolve daily. GraphQL's declarative approach lets teams rapidly create, modify, and deploy new AI capabilities through self-service tooling. Product teams can wire up new MCP tools without waiting for custom development, keeping pace with AI's unprecedented velocity.
118
-
119
-
With Apollo MCP Server, these GraphQL advantages become immediately accessible to AI applications through standardized MCP tools.
120
-
121
-
## Benefits of Apollo MCP Server
122
-
123
-
-**🤖 Enable AI-enabled API orchestration**. With Apollo MCP Server, AI models can act as intelligent orchestrators of their GraphQL API operations. By exposing GraphQL operations as distinct MCP tools, AI clients can dynamically chain these operations together, in combination with other MCP servers and tools to execute complex workflows and automate multi-step processes.
124
-
125
-
-**🚀 Connect AI to GraphQL in Minutes**. Developers can expose existing or new GraphQL API operations to AI clients without building complex custom integrations. By translating GraphQL functionalities into standardized MCP tools, Apollo MCP Server can significantly reduce the effort needed to connect AI to diverse data sources.
126
-
127
-
-**🔒 Maintain Full Security Control**. By using pre-defined, pre-approved persisted queries, developers can maintain precise governance over which data and operations AI clients can access. This ensures that AI uses existing security protocols and data access policies.
128
-
129
-
## Prerequisites
130
-
131
-
- A GraphQL API
132
-
- An MCP Client
133
-
134
-
## Getting started
135
-
136
-
Ready to connect AI to your GraphQL API? Follow our [5-minute quickstart](/apollo-mcp-server/quickstart) to see Apollo MCP Server in action, or explore the [config file reference](/apollo-mcp-server/config-file) for detailed configuration options.
15
+
Apollo MCP Server provides a standard way for AI models to access and orchestrate your Graph APIs - by making GraphQL API operations available to AI clients as MCP tools. You can use Apollo MCP Server with any GraphQL API.
0 commit comments