This project provides a Model Context Protocol (MCP) server for integrating Gluestack components with Claude Desktop and Cursor IDE.
- Node.js (v14 or higher)
- Claude Desktop application OR Cursor IDE
git clone <repository-url>
cd <project-directory>
npm install
You can use this MCP server with either Claude Desktop or Cursor IDE:
Download and install Claude Desktop from the official Anthropic website if you haven't already.
You need to add this MCP server to your Claude Desktop configuration file.
Using Cursor Editor:
cursor ~/Library/Application\ Support/Claude/claude_desktop_config.json
Using VS Code:
code ~/Library/Application\ Support/Claude/claude_desktop_config.json
Using VS Code:
code $env:AppData\Claude\claude_desktop_config.json
Add the following configuration to your claude_desktop_config.json
file:
{
"mcpServers": {
"your-mcp-server-name": {
"command": "node",
"args": ["/complete/path/to/your/project/index.js"]
}
}
}
{
"mcpServers": {
"your-mcp-server-name": {
"command": "node",
"args": ["C:\\complete\\path\\to\\your\\project\\index.js"]
}
}
}
Navigate to your project directory and run:
node index.js
Close and reopen Claude Desktop application. You should now see the MCP server listed in the available tools menu.
After following the setup steps:
- Open Claude Desktop
- Look for the MCP server in the tools menu, just below the input where you enter your prompt
- You should see "your-mcp-server-name" listed as an available MCP server
First, start the MCP server by running:
node index.js
- Open Cursor IDE
- Navigate to Settings (top right corner)
- Select MCP from the settings menu
- Click Add MCP to add a new MCP server
Add the following configuration to your mcp.json
file in Cursor:
{
"mcpServers": {
"your-mcp-server-name": {
"command": "node",
"args": ["/complete/path/to/your/project/index.js"]
}
}
}
{
"mcpServers": {
"your-mcp-server-name": {
"command": "node",
"args": ["C:\\complete\\path\\to\\your\\project\\index.js"]
}
}
}
The MCP server will now be available directly in your Cursor IDE project. You can use the Gluestack components integration within your development workflow.
After setup:
- Check that the MCP server appears in Cursor's MCP settings
- Verify the server is running without errors
- Test the integration in your project