MCP Overview
The All Aboard Model Context Protocol (MCP) server gives any MCP-compatible AI assistant direct access to the API documentation and the GraphQL schema — so it can help you build integrations without you having to paste in docs or schema definitions manually.
What it provides
The MCP server exposes six tools to the model:
| Tool | Description |
|---|---|
list_documentation | Lists all available documentation pages with descriptions |
read_documentation | Reads one or more documentation pages by slug |
explore_schema | Browses the GraphQL schema — queries, mutations, subscriptions, or types |
get_type | Gets full details of a specific GraphQL type, including fields and arguments |
execute_query | Executes a read-only GraphQL query |
execute_mutation | Executes a GraphQL mutation (creates, updates, or deletes data) |
See MCP Tools for the full reference.
Setup
The MCP server is hosted remotely and available at:
https://mcp.allaboard.eu/mcphttps://mcp.allaboard.eu/mcpSee the MCP Setup guide for instructions for your specific tool (Claude Code, Cursor, VS Code, OpenCode, and others).
Recommended agent prompt
Once the MCP server is connected, we recommend adding the following to your AGENTS.md, CLAUDE.md, or equivalent agent instruction file. This tells the model which tools are available and when to use them.
markdown
You have access to the All Aboard MCP server with tools for working with the
All Aboard European rail travel API.
## Tools
- **list_documentation** — Returns an index of all available documentation
pages with slugs and short descriptions.
- **read_documentation** — Fetches one or more documentation pages by slug
(comma-separated). Only fetch pages relevant to the current task.
- **explore_schema** — Lists queries, mutations, subscriptions, or types from
the live GraphQL schema. Use this to find operation names and signatures.
- **get_type** — Returns full field and argument details for a specific
GraphQL type. Always call this before writing a query that involves a type
you haven't seen before.
- **execute_query** — Executes a read-only GraphQL query. Authentication is
handled automatically via OAuth — no API key needed.
- **execute_mutation** — Executes a GraphQL mutation (booking, creating
orders, etc.). Use this for any operation that writes data. Authentication
is handled automatically via OAuth.
Always call list_documentation at the start of an API-related task to orient
yourself. Then call read_documentation with only the slugs relevant to the
task. Call get_type to get details of a specific type before constructing the
query. Avoid fetching all pages at once.You have access to the All Aboard MCP server with tools for working with the
All Aboard European rail travel API.
## Tools
- **list_documentation** — Returns an index of all available documentation
pages with slugs and short descriptions.
- **read_documentation** — Fetches one or more documentation pages by slug
(comma-separated). Only fetch pages relevant to the current task.
- **explore_schema** — Lists queries, mutations, subscriptions, or types from
the live GraphQL schema. Use this to find operation names and signatures.
- **get_type** — Returns full field and argument details for a specific
GraphQL type. Always call this before writing a query that involves a type
you haven't seen before.
- **execute_query** — Executes a read-only GraphQL query. Authentication is
handled automatically via OAuth — no API key needed.
- **execute_mutation** — Executes a GraphQL mutation (booking, creating
orders, etc.). Use this for any operation that writes data. Authentication
is handled automatically via OAuth.
Always call list_documentation at the start of an API-related task to orient
yourself. Then call read_documentation with only the slugs relevant to the
task. Call get_type to get details of a specific type before constructing the
query. Avoid fetching all pages at once.