Skip to main content

MCP servers

Swan provides MCP (Model Context Protocol) servers that give AI assistants direct access to Swan's GraphQL API schema and documentation. Use them to generate accurate GraphQL queries and get answers about Swan's API.

note

Swan's MCP servers only support the Streamable HTTP transport protocol.

GraphQL schema server

URL: https://mcp.swan.io/graphql/mcp

This server lets AI assistants explore Swan's GraphQL schema to help you write queries, mutations, and understand type relationships.

Setup

Add to your Cursor MCP configuration file:

  • macOS/Linux: ~/.cursor/mcp.json
  • Windows: %USERPROFILE%\.cursor\mcp.json
{
"mcpServers": {
"swan-graphql": {
"url": "https://mcp.swan.io/graphql/mcp"
}
}
}

After saving the configuration, enable the server in Cursor Settings > MCP.

Refer to Cursor's MCP documentation for more information.

Available tools

ToolDescriptionExample prompts
search-graphql-schemaSearches the schema using keywords to find relevant types, fields, and operations.• "Find all types related to payments"
• "What fields are available for accounts?"
• "Show me SEPA credit transfer mutations"
• "Search for card-related types"
introspect-graphql-typeGets detailed information about specific GraphQL types, including fields and related types.• "What is the Account type?"
• "Show me all fields on the Transaction type"
• "How do I create a SEPA credit transfer?"
• "Explain the AccountMembership type and its relationships"

Documentation server

URL: https://mcp.swan.io/docs/mcp

This server lets AI assistants search Swan's documentation to help you find guides, concepts, and integration information.

Setup

Add to your Cursor MCP configuration file:

  • macOS/Linux: ~/.cursor/mcp.json
  • Windows: %USERPROFILE%\.cursor\mcp.json
{
"mcpServers": {
"swan-docs": {
"url": "https://mcp.swan.io/docs/mcp"
}
}
}

After saving the configuration, enable the server in Cursor Settings > MCP.

Refer to Cursor's MCP documentation for more information.

Available tools

ToolDescriptionExample prompts
search-documentationSearches Swan's documentation to find relevant guides and information.• "How do I onboard a company account holder?"
• "What are the card spending limits?"
• "Explain SEPA Direct Debit mandates"
• "Find information about account memberships"

Next steps