- Python 3.8+
- uv package manager
- Clone or download this repository
- Install dependencies using uv:
uv syncTo start the MCP server:
uv run python server.pyThe server will start on port 9000 using Server-Sent Events (SSE) transport.
You should see output indicating the server is running:
FastMCP server running on port 9000
To use this MCP server with Cursor, you need to configure it in your Cursor settings:
- Open Cursor
- Go to Cursor Settings (⌘+, on Mac or Ctrl+, on Windows/Linux)
- Navigate to Features → Beta → Model Context Protocol
- Add a new MCP server with the following configuration:
- Name:
Zendesign - Command:
uv - Arguments:
["run", "python", "server.py"] - Working Directory:
/path/to/your/zd-mcp(replace with your actual project path)
- Name:
Add the following to your Cursor MCP configuration file:
{
"mcpServers": {
"zendesign": {
"command": "uv",
"args": ["run", "python", "server.py"],
"cwd": "/path/to/your/zd-mcp"
}
}
}Note: Replace /path/to/your/zd-mcp with the actual absolute path to your project directory.
After adding the server to Cursor:
- Restart Cursor
- The Zendesign MCP server should appear in your available tools
- You can now ask Cursor questions about Zendesign components, and it will use the MCP server to fetch real-time information
Once configured, you can interact with the Zendesign design system through Cursor:
- "Show me the button component from Zendesign"
- "What are the styling options for the card component?"
- "Get the design system guidelines from Zendesign"
- Ensure all dependencies are installed:
uv sync - Check that port 9000 is not in use by another application
- Verify Python version compatibility
- Ensure the server is running before starting Cursor
- Verify the working directory path is correct in your MCP configuration
- Check Cursor's MCP logs for connection errors
- Verify the component name is correct (e.g., 'button', 'card', 'input')
- Check that the Zendesign API is accessible from your network
This server uses:
- FastMCP: For MCP protocol implementation
- requests: For HTTP API calls to Zendesign
- asyncio: For asynchronous operations
To modify or extend the server, edit server.py and restart the server for changes to take effect.