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 URL is https://docs.knotapi.com/mcp.

Setup

1

Configure the MCP server

Option 1

Select your preferred AI tool (e.g. Cursor) from the options menu at the top right of this page to automatically install the Knot MCP server.Options Menu

Option 2

Using the MCP server URL (https://docs.knotapi.com/mcp), follow the instructions from your preferred AI tool:
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?”

Knot Skill

The Knot skill is a structured capability file that tells AI agents what they can build with Knot, what inputs they need, and what constraints apply. Installing it gives your agent the context to integrate Knot across products like CardSwitcher, TransactionLink, Shopping, Vaulting, and Detect — including full API workflows, webhook handling, and SDK setup.
The MCP server helps you search Knot’s docs. The skill teaches your agent how to build with Knot’s products, use cases, and workflows.

Install the skill

Run the following command to add Knot’s capabilities to your agent:
npx skills add https://docs.knotapi.com
This fetches Knot’s skill.md and loads it into your agent’s context so it can take actions on your behalf — like creating sessions, provisioning cards, syncing transactions, and handling webhooks.

What’s included

The skill covers:
  • Session management, webhooks, and authentication — Full lifecycle coverage from session creation to webhook verification
  • Card provisioning — Update payment methods at merchant accounts via SDK or API, including server-side card updates with CardUpdater
  • Transaction retrieval — Sync SKU-level transaction data including products, prices, quantities, and fulfillment status
  • Digital wallet vaulting — Vault digital wallets to merchant accounts
  • Merchant detection — Identify which merchant accounts a user already has
  • Shopping — Manage carts and complete checkouts at supported merchants

View the skill

You can view the skill file directly at docs.knotapi.com/skill.md.