Connect AI coding assistants like Cursor, Claude Code, and Claude Desktop to your Infa design system using the Model Context Protocol (MCP).
The Infa MCP Server allows AI coding assistants to access your design system data directly. This enables AI tools to understand your components, screens, design tokens, and documentation when helping you write code. Authentication is handled securely through OAuth 2.1, so no API keys are needed.
Copy link
Overview
The Model Context Protocol (MCP) is an open standard that allows AI assistants to connect to external data sources. Infa's MCP server provides read access to your design system, enabling AI tools to:
List and search your boards
Access component information and screenshots
Retrieve design tokens and their values
Read documentation and papers
Search across all content types
Endpoint: https://infa.ai/api/mcp
Copy link
Supported AI Tools
Cursor
Claude Code
Claude Desktop
Copy link
Quick Setup
Copy link
One-Click Installation (Easiest)
For the smoothest experience, use our one-click installer in your Profile Settings:
Example prompt:"Search for anything related to 'navigation' in my board"
Copy link
Example Workflows
Copy link
Getting Component Information for Code
You: "I need to implement a button component. Can you check what button
styles we have in our Infa design system?"
AI: [Uses infa.getBoardComponents to find button components]
"I found 3 button variants in your design system:
- Primary Button: Used for main actions
- Secondary Button: Used for secondary actions
- Ghost Button: Used for tertiary actions
Here's the code based on your component specifications..."
Copy link
Using Design Tokens
You: "What's our primary brand color? I need to use it in this component."
AI: [Uses infa.getDesignTokens to fetch color tokens]
"Your primary brand color is defined as:
- Token: --color-primary
- Value: #0f62fe
You should use `var(--color-primary)` in your CSS."
Copy link
Checking Component Usage Across Screens
You: "Which screens use our Header component?"
AI: [Uses infa.searchBoard to find Header references]
"The Header component appears on 12 screens including:
- Homepage
- Dashboard
- Settings
..."
Copy link
Authentication
The MCP server uses OAuth 2.1 with PKCE, managed by Supabase, with these features:
Standards-compliant - Full OAuth 2.1 with PKCE and OpenID Connect support
The MCP server is also how AI agents build App Blocks — sandboxed HTML mini-apps that render live on Infa documents and canvases. Once connected, have your agent call the infa_appBlockGuide tool to fetch the full block contract (sandbox model, infa:* postMessage protocol, connector bridge for live integration data), then register and iterate with infa_registerAppBlock, infa_appBlockPreview, and infa_updateAppBlock, and share the result with infa_publishAppBlock.
See Building App Blocks for the complete workflow, including a ready-to-paste agent prompt.
MCP Server Integration
The Infa MCP Server allows AI coding assistants to access your design system data directly. This enables AI tools to understand your components, screens, design tokens, and documentation when helping you write code. Authentication is handled securely through OAuth 2.1, so no API keys are needed.
The Model Context Protocol (MCP) is an open standard that allows AI assistants to connect to external data sources. Infa's MCP server provides read access to your design system, enabling AI tools to:
Endpoint:
https://infa.ai/api/mcpCursor
Claude Code
Claude Desktop
For the smoothest experience, use our one-click installer in your Profile Settings:
If you prefer manual setup, here's how to configure each tool:
Add this to your Cursor MCP configuration (Settings → Features → MCP):
When you first use an Infa tool, Cursor will open a browser window for you to log in and authorize access.
Add this to your
~/.claude.jsonconfig file:After saving, restart Claude Code with
claudeor use/mcpto verify the connection. You'll be prompted to authorize access in your browser.Add this to your Claude Desktop MCP configuration file (
.cursor/mcp.json):Infa uses OAuth 2.1 with PKCE for MCP authentication, managed by Supabase. This provides:
When you first connect an MCP client:
/.well-known/oauth-authorization-serverOnce connected, your AI assistant will have access to these tools:
List all boards accessible to your account.
Parameters:
starredOnly(boolean, optional): Only return bookmarked boardsExample prompt: "List my Infa boards"
Export complete board data including screens, components, tokens, papers, and labels.
Parameters:
boardId(string, required): The UUID of the boardinclude(object, optional): Specify which data to includescreens(boolean)components(boolean)tokens(boolean)papers(boolean)labels(boolean)Example prompt: "Export the complete data from my Design System board"
Get screens from a specific board with optional search filters.
Parameters:
boardId(string, required): The UUID of the boardsearchTitle(string, optional): Filter by page titlesearchUrl(string, optional): Filter by page URLlimit(number, optional): Maximum results (1-100)Example prompt: "Show me all screens containing 'dashboard' in my board"
Get components with optional title and label filters.
Parameters:
boardId(string, required): The UUID of the boardsearchTitle(string, optional): Filter by component titlelabels(array, optional): Filter by label nameslimit(number, optional): Maximum results (1-100)Example prompt: "Find all button components labeled 'primary'"
Get all design token collections and their values.
Parameters:
boardId(string, required): The UUID of the boardExample prompt: "What are the color tokens in my design system?"
Get all documentation papers from a board.
Parameters:
boardId(string, required): The UUID of the boardExample prompt: "Show me the documentation for this board"
Search across all content types in a board.
Parameters:
boardId(string, required): The UUID of the boardquery(string, required): Search querytypes(array, optional): Content types to search (page,component,token,paper)limit(number, optional): Maximum results (1-50)Example prompt: "Search for anything related to 'navigation' in my board"
The MCP server uses OAuth 2.1 with PKCE, managed by Supabase, with these features:
When you approve MCP access:
To revoke an AI tool's access to your Infa data:
Once revoked, that application can no longer access your Infa data.
https://infa.ai/loginand logging in firsthttps://infa.ai/api/mcpInfa's MCP integration uses multiple layers of security:
The MCP server is also how AI agents build App Blocks — sandboxed HTML mini-apps that render live on Infa documents and canvases. Once connected, have your agent call the
infa_appBlockGuidetool to fetch the full block contract (sandbox model,infa:*postMessage protocol, connector bridge for live integration data), then register and iterate withinfa_registerAppBlock,infa_appBlockPreview, andinfa_updateAppBlock, and share the result withinfa_publishAppBlock.See Building App Blocks for the complete workflow, including a ready-to-paste agent prompt.