4. Apollo Connectors and GraphOS MCP Tools
1m

What are Apollo Connectors?

let you connect to existing REST services from the schema.

The @source directive

@source defines a reusable configuration for multiple connectors.

Example of @source in action
@source(
name: "verycoolapi"
http: {
baseURL:"https://rest-api.com"
headers: [
{ name: "x-api-key", from: "x-api-key"}
{ name: "x-caller", value: "apollo" }
]
}
)
Which of the following can you configure in the @source directive?

The @connect directive

@connect describes how to get the data for a from a REST endpoint. Each instance of @connect is a "connector."

Example of @connect in action
@connect(
source: "verycoolapi"
http: {
GET: "/endpoint"
headers: [
{ name: "x-api-key", from: "x-api-key" }
]
}
selection: """
id
name: full_name
"""
)
Which of the following @connect directive parameters should you use to map the endpoint's specific JSON properties to your GraphQL schema?

What are GraphOS MCP Tools?

MCP Tools provide access to Apollo docs, graph generation, and orchestration capabilities directly in your agentic workflows.

You can access them through the hosted MCP endpoint at https://mcp.apollographql.com.

There are three tools available: Apollo Docs Search, Apollo Docs Read, and Spec.

  • Apollo Docs Search: Search across Apollo's official documentation to find the most relevant guides, examples, and best practices.

  • Apollo Docs Read: Retrieve the full content of any Apollo documentation page.

  • Apollo Connectors Spec: Access the official specification for , giving your agent the knowledge it needs to create and modify Connectors in a schema for orchestrating APIs.

Which of the following tools gives an agent knowledge to build Connectors?
Previous