Skip to main content

MCP Server

Knot provides an that lets you search and interact with this documentation via natural language from your IDE, terminal, or any MCP-compatible tool. The MCP server searches Knot’s documentation only and does not call Knot’s API.

Setup

1

Install the MCP server

Run the following command to install the Knot MCP server. It auto-detects your AI tools (Cursor, Claude Code, VS Code, etc.) and configures them automatically.
npx add-mcp https://docs.knotapi.com/mcp --name knot-docs
2

Begin prompting

Ask questions and the agent will search Knot’s documentation to retrieve answers directly in your development environment.Example prompts:
  • “How do I integrate the Knot iOS SDK?”
  • “How can I get the available merchant list for TransactionLink?”
  • “Tell me how to create a session and what do I do after that?”

Skills

Knot provides product-specific skills that guide AI agents through implementing specific integrations, including the right API calls, webhook handling, data schemas, and testing steps. Installing a skill gives your agent the procedural knowledge to build an integration on your behalf.
The MCP server helps you search Knot’s docs. Skills teach your agent how to build specific integrations step-by-step.

Install skills

Run the following command in your terminal to view and select which skills to install into your agent’s context so it can take actions on your behalf:
npx skills add https://docs.knotapi.com

Available skills

The full list of available skills can be found at docs.knotapi.com/.well-known/skills/index.json.

Integration skills

NameDescription
knot-sdkInstall and initialize the Knot SDK across platforms (iOS, Android, React Native, Flutter, Web).
knot-transaction-linkImplement the full transaction data integration from scratch, including session creation, merchant account linking via the SDK, and syncing SKU-level transaction data.
knot-sync-transactionsSync and store SKU-level transaction data from Knot’s API when card switching is already implemented or another use case that links merchant accounts is in place.
knot-subscriptionsRetrieve and store subscription data from Knot’s API when card switching is already implemented.

Prototyping skills

NameDescription
knot-prototype-transactionsGenerate sample transaction data from the development API and use it immediately for prototyping — no SDK, no webhooks, no production setup required.