Skip to main content

Overview

Claude Code is Anthropic’s CLI tool for AI-assisted software development. You can connect your Logic MCP server to make Logic documents available during coding sessions.

Prerequisites

Adding Logic MCP Server

Using Claude Code Commands

Important: Run this command in your terminal, not within a Claude Code session.
Add your Logic MCP server using the claude mcp add command:
claude mcp add --transport http [SERVER_NAME] [MCP_SERVER_URL]
Parameters:
  • --transport http - Required for HTTP-based MCP servers like Logic
  • [SERVER_NAME] - A name to identify this server (e.g., “logic-docs”)
  • [MCP_SERVER_URL] - Your Logic MCP server URL from organization settings
Example:
claude mcp add --transport http logic-docs https://mcp.logic.inc/your-server-id

Managing MCP Servers

List configured servers:
claude mcp list
Remove a server:
claude mcp remove [SERVER_NAME]

Using Logic Documents

Once configured, Logic documents are available in your Claude Code sessions.

Verifying Your Connection

To check if your Logic MCP server is connected:
  1. Start a Claude Code session
  2. Type /mcp in your chat
  3. Verify your Logic server shows as connected
If the server appears and shows a connected status, Logic documents are available for use.

Accessing Logic Documents

Claude Code can automatically access your Logic documents based on the conversation context. You can:
  • Ask Claude Code to use specific Logic documents by name
  • Let Claude Code discover and suggest relevant Logic documents
  • Execute Logic documents with parameters as needed
Example usage:
Can you run the "code-review" Logic document on the current branch?
Claude Code will execute the Logic document and incorporate the results into its response.
Long-running Logic documents are handled asynchronously. Learn more about async task execution.

Next Steps