MCP Server

Your workspace's MCP endpoint, and how AI clients connect to it
View as Markdown

The Knapsack MCP server

Your Knapsack workspace exposes a Model Context Protocol (MCP) server that gives AI tools live access to your design tokens, components, and documentation. Every workspace has its own endpoint:

https://mcp.knapsack.cloud/mcp/<workspace-id>

Your workspace ID is the segment between site/ and /latest in your Knapsack site URL. For Knapsack’s own Toby workspace, the endpoint is https://mcp.knapsack.cloud/mcp/toby.

Clients authenticate against your workspace when they first connect, so your design system content is only served to signed-in users.


Set up your client

Step-by-step configuration guides:

For any other MCP-compatible client — Claude Code, Cursor, Windsurf, and so on — register your workspace endpoint URL in the client’s MCP server settings.


Reading this documentation with AI

If you’re looking to point an AI tool at this documentation site rather than your own workspace, every page here is available as clean Markdown — see llms.txt.