docs/clients/claude-code
Client Integration

Claude Code CLI Integration

AgenticStore MCP is fully compatible with Claude Code explicitly for terminal workflows. Use 31 tools instantly from the command line while ensuring total enterprise data protection with the prompt firewall.

Default Mode Setup

For direct API calling (connects to standard Anthropic models natively, bypassing firewall tracking).

bash
agentic-store-mcp --install-claude
  • Registers AgenticStore explicitly to ~/.claude/settings.json locally.
  • Forces launchctl unsetenv cleanup dropping any stale proxy ANTHROPIC_BASE_URL bindings.
  • Removes proxy-forcing logic securely from your ~/.zshrc or ~/.bash_profile — new terminals always spawn clean.

Firewall Mode Setup

Pre-validates proxy stability and maps terminal traffic efficiently into the AgenticStore Prompt Recording proxy. Ensures your enterprise secrets never leak during internal development blocks.

bash
agentic-store-mcp --install-claude --firewall-mode
  • Verifies the AgenticStore firewall proxy is actively listening on Port 8766 prior to rewriting profiles.
  • Injects launchctl setenv TLS bypasses gracefully inside your Node execution pipeline.
  • Forces ANTHROPIC_BASE_URL interception directly into Claude.
[note]
--firewall-mode explicitly refuses to run unaccompanied. It must be provided with --install-claude active on the argument chain.

Manual Configuration

Alternatively, manually add the binding using native Claude terminal tooling:

claude mcp add agentic-store-mcp "agentic-store-mcp"