LogicStamp MCP server works with Claude Desktop - Anthropic's desktop application for Claude.
Before diving into setup, check these common issues:
- ✅ Node.js installed? Run
node --version(needs >= 20) - ✅ Package installed? Run
npm list -g logicstamp-mcp - ✅ LogicStamp CLI installed? Run
stamp --version(needsnpm install -g logicstamp-context) - ✅ Config file exists? Check
~/Library/Application Support/Claude/claude_desktop_config.json(macOS) or%APPDATA%\Claude\claude_desktop_config.json(Windows) - ✅ JSON valid? Validate your config file syntax (no trailing commas)
- ✅ Claude Desktop restarted? Fully quit and reopen (not just close window)
- ✅ Config file location correct? Must be in the exact path shown above
If all checks pass but it's still not working, see the Troubleshooting section below.
Claude Desktop doesn't have a visible MCP settings UI. Instead, MCP servers are configured via the config file:
-
Locate Config File:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json - Open Finder/Explorer and navigate to this path, or use Terminal/PowerShell
- macOS:
-
Verify Config File:
- The file should contain a
mcpServersobject with your LogicStamp configuration - If the file doesn't exist, create it with the JSON structure shown below
- The file should contain a
-
Check Logs (if issues occur):
- macOS:
~/Library/Logs/Claude/ - Windows: Check Event Viewer or Claude logs folder
- Look for MCP-related errors
- macOS:
Note: Unlike Cursor, Claude Desktop doesn't show MCP servers in a settings UI. The only way to verify it's working is to test it in a conversation or check the logs.
npm install -g logicstamp-mcpClaude Desktop only supports global configuration (no project-specific config).
Important: This setup is done once (globally). After configuring the MCP server globally, it will be available in every project. You don't need to set it up again for each project. However, when you actually analyze a project, you'll call logicstamp_refresh_snapshot for that specific project - the analysis itself is per-project, but the MCP server setup is global.
Edit ~/Library/Application Support/Claude/claude_desktop_config.json:
nano ~/Library/Application\ Support/Claude/claude_desktop_config.jsonAdd the following configuration:
{
"mcpServers": {
"logicstamp": {
"command": "npx",
"args": ["logicstamp-mcp"]
}
}
}Note: Some MCP clients may require a "type": "stdio" field. If the above doesn't work, try:
{
"mcpServers": {
"logicstamp": {
"type": "stdio",
"command": "npx",
"args": ["logicstamp-mcp"]
}
}
}Edit %APPDATA%\Claude\claude_desktop_config.json:
notepad %APPDATA%\Claude\claude_desktop_config.jsonAdd the following configuration:
{
"mcpServers": {
"logicstamp": {
"command": "npx",
"args": ["logicstamp-mcp"]
}
}
}Note: Some MCP clients may require a "type": "stdio" field. If the above doesn't work, add "type": "stdio" to the configuration.
Important: Completely quit and restart Claude Desktop for changes to take effect. Just closing the window is not enough - you must quit the application entirely.
If you installed from source (for development or testing), use absolute paths to the built file:
{
"mcpServers": {
"logicstamp": {
"command": "node",
"args": ["/absolute/path/to/logicstamp-mcp/dist/index.js"]
}
}
}{
"mcpServers": {
"logicstamp": {
"command": "node",
"args": ["C:\\Users\\YourName\\path\\to\\logicstamp-mcp\\dist\\index.js"]
}
}
}Note: Some MCP clients may require a "type": "stdio" field. If the above doesn't work, add "type": "stdio" to the configuration.
Global Install vs Local Development:
The recommended approach is to use npx with the globally installed package:
{
"mcpServers": {
"logicstamp": {
"command": "npx",
"args": ["logicstamp-mcp"]
}
}
}Why use global install?
- ✅ Simpler - No absolute paths needed
- ✅ Portable - Works on any machine
- ✅ Auto-updates -
npm update -gupdates it - ✅ Team-friendly - Same config for everyone
When to use local development:
- Contributing to the codebase
- Testing before publishing
- Package isn't published yet
After configuring and restarting Claude Desktop:
- Verify Config File - Check that your config file exists and has valid JSON (see Finding MCP Settings in Claude Desktop above)
- Start a New Conversation - Open Claude Desktop and start a fresh conversation
- Test LogicStamp - Ask Claude to analyze your project:
Can you analyze my React project using LogicStamp?
The AI should be able to use the 7 LogicStamp tools:
logicstamp_refresh_snapshot- Analyze project structurelogicstamp_list_bundles- List available componentslogicstamp_read_bundle- Read component contractslogicstamp_compare_snapshot- Detect changes after editslogicstamp_compare_modes- Generate token cost comparison across modeslogicstamp_read_logicstamp_docs- Read LogicStamp documentationlogicstamp_watch_status- Check if watch mode is active
Note: Unlike Cursor, Claude Desktop doesn't show MCP servers in a UI. The only way to verify it's working is to test it in a conversation. If Claude can use the LogicStamp tools, it's working! If not, check the Troubleshooting section below.
After verification, you can use LogicStamp in any conversation:
- Start a new conversation or continue an existing one
- Ask Claude to analyze your project:
Can you analyze my React project using LogicStamp?
Claude will automatically use the LogicStamp tools to analyze your codebase.
-
Check the config file path is correct:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
- macOS:
-
Ensure absolute paths are used (not relative) if using local development
-
Verify the JSON syntax is valid:
- Use an online JSON validator: https://jsonlint.com/
- Check for trailing commas or syntax errors
-
Completely quit and restart Claude Desktop:
- macOS: Quit from menu or Cmd+Q
- Windows: Close from system tray or Task Manager
- Reopen Claude Desktop
-
Check Claude's logs for errors:
- macOS:
~/Library/Logs/Claude/ - Windows: Check Event Viewer or Claude logs folder
- macOS:
The LogicStamp Context CLI is not installed:
npm install -g logicstamp-context
# Verify installation
stamp --version-
Check if the package is installed:
npm list -g logicstamp-mcp # or verify npx can find it npx logicstamp-mcp --help -
For local builds, verify the path is correct:
# Check file exists (macOS/Linux) ls /absolute/path/to/dist/index.js # On Windows dir C:\path\to\dist\index.js
-
Check build output:
cd /path/to/logicstamp-mcp npm run build # Should compile without errors
-
Try manual test:
node dist/index.js # Should wait for stdin (MCP server is ready) # Press Ctrl+C to exit
Problem: Tools return "Snapshot ID not found"
Solution:
Always call logicstamp_refresh_snapshot first:
You: "Create a snapshot of this project"
Claude: [Runs logicstamp_refresh_snapshot]
You: "Now list the components in src/"
Claude: [Uses the snapshot ID from previous call]
| Platform | Config File Location | Notes |
|---|---|---|
| macOS | ~/Library/Application Support/Claude/claude_desktop_config.json |
Global only |
| Windows | %APPDATA%\Claude\claude_desktop_config.json |
Global only |
Important: Claude Desktop does not support project-specific configurations. All MCP servers must be configured globally.