What are Apollo Connectors?
Apollo Connectors let you connect to existing REST services from the schema.
The @source directive
@source defines a reusable configuration for multiple connectors.
@source(name: "verycoolapi"http: {baseURL:"https://rest-api.com"headers: [{ name: "x-api-key", from: "x-api-key"}{ name: "x-caller", value: "apollo" }]})
@source directive?The @connect directive
@connect describes how to get the data for a GraphQL field from a REST endpoint. Each instance of @connect is a "connector."
@connect(source: "verycoolapi"http: {GET: "/endpoint"headers: [{ name: "x-api-key", from: "x-api-key" }]}selection: """idname: full_name""")
@connect directive parameters should you use to map the endpoint's specific JSON properties to your GraphQL schema?What are GraphOS MCP Tools?
GraphOS 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 Apollo Connectors 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 Apollo Connectors, giving your agent the knowledge it needs to create and modify Connectors in a graph schema for orchestrating APIs.