MCP Getting Started

Install LogicStamp Context MCP server to give Claude Desktop, Claude Code, or Cursor direct access to your codebase.

Prerequisites

  • Node.js 18.18.0 or higher
  • LogicStamp Context CLI - The stamp command must be installed
npm install -g logicstamp-context

Installation

Install the MCP server globally:

npm install -g logicstamp-mcp

Configuration

For Claude Code

Add to your global configuration (available in all projects):

claude mcp add --scope user --transport stdio logicstamp -- npx logicstamp-mcp

Per-project setup: Use claude mcp add --scope project to create .mcp.json in your project root (can be committed to git for team collaboration).

For Claude Desktop

Add to your Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json on macOS):

{ "mcpServers": { "logicstamp": { "command": "npx", "args": [ "logicstamp-mcp" ] } } }

For Cursor

Add to your Cursor MCP config (~/.cursor/mcp.json on macOS/Linux or %USERPROFILE%\.cursor\mcp.json on Windows):

{ "mcpServers": { "logicstamp": { "command": "npx", "args": [ "logicstamp-mcp" ] } } }

After adding the config, fully quit and restart Cursor (not just close the window) for changes to take effect.

Verify Installation

For Claude Code, verify the server is configured:

claude mcp list

You should see logicstamp: npx logicstamp-mcp - ✓ Connected

Quick Start

Once installed, start using LogicStamp in your TypeScript project. The 7 LogicStamp tools will be available:

  • logicstamp_refresh_snapshot - Analyze project structure
  • logicstamp_list_bundles - List available components
  • logicstamp_read_bundle - Read component contracts
  • logicstamp_compare_snapshot - Detect changes after edits
  • logicstamp_watch_status - Check watch mode status

Ask your AI assistant: "Use LogicStamp to analyze the components in src/components"

Next Steps

Explore the complete MCP reference or learn about usage examples and workflows.