Using these docs with AI agents
Machine-readable entry points to these docs and the API: llms.txt, Markdown pages, the docs MCP server, and the OpenAPI spec.
If you build with an AI coding assistant, or you're an agent integrating SwapKit, these are the fastest ways in. Each one serves the same content as the human-readable site.
Docs MCP server
Connect your agent to the docs directly:
https://docs.swapkit.dev/~gitbook/mcpIt's a remote MCP server over Streamable HTTP and needs no authentication. Its tools:
searchDocumentationsearches every page.getPagereturns a page as Markdown.sendFeedbackreports outdated or wrong content to the SwapKit team.
For example, in Claude Code:
claude mcp add --transport http swapkit-docs https://docs.swapkit.dev/~gitbook/mcpllms.txt
https://docs.swapkit.dev/llms.txtis an index of every page with a one-line description.https://docs.swapkit.dev/llms-full.txtis the full text of every page in one file.
Any page as Markdown
Add .md to any page URL to get its Markdown source, for example https://docs.swapkit.dev/get-started/quickstart.md.
OpenAPI spec
The API's OpenAPI 3 definition is at https://api.swapkit.dev/docs/json, with an interactive explorer at https://api.swapkit.dev/docs/. Use it to generate a typed client, or give it to an agent as the source of truth for request and response shapes.
Suggested starting points
For an agent building a swap integration, the most useful pages are, in order:
Quickstart: the end-to-end flow in five steps.
Authentication and API keys: the API key cannot be generated by an agent; a human creates it in the dashboard.
How a swap works: the errors and rate limits to handle.
Transaction Formats by txType: what to sign on each chain.
Last updated

