Skip to main content

Connect any AI agent (Claude Code, Claude Desktop, Cursor, etc.) to LogicMem's MCP server in one command. The package ships a stdio-to-HTTP bridge that adapts the hosted MCP to your client's protocol version, and a CLI that auto-configures Claude Code/Desktop settings.json on Mac, Linux, and Windows.

Project description

logicmem-mcp

One-command install for the LogicMem MCP server. Connects Claude Code, Claude Desktop, or Cursor to the LogicMem model-context-protocol server without writing any Python files, copying any scripts, or fighting Windows path escaping.

pip install logicmem-mcp
logicmem-mcp install --key lm_xxxxxxxx

That's it. Restart Claude Code and the 108 MCP tools are live.

What this package does

  • logicmem-mcp install — auto-detects Claude Code, Claude Desktop, or Cursor on Mac / Linux / Windows, backs up its config, and writes the MCP server entry. No PowerShell, no path-escape debugging, no Python interpreter dance. The API key is requested via Read-Host -AsSecureString on Windows (no shell-history leak) and stored in the JSON config that Claude Code already reads.
  • logicmem-mcp uninstall — symmetric removal.
  • logicmem-mcp list — show every detected agent config and what's in it.
  • logicmem-mcp serve — run the stdio bridge directly. (You don't need this if you use install; it's there for advanced users who want to hand-roll the mcp config.)

Why a stdio bridge?

Claude Code 2.1.187 on Windows requires the MCP server to speak protocol version 2025-03-26 and respond in SSE-streaming format. The hosted LogicMem MCP at mcp.logicmem.io/mcp still speaks the older 2024-11-05 JSON dialect. The bridge in this package (logicmem_mcp/bridge.py) wraps the hosted MCP, advertises the newer protocol version, and proxies every call over HTTP. No patching the server; no writing your own bridge script.

Install on each platform

Windows (Claude Code in PowerShell)

pip install logicmem-mcp
logicmem-mcp install --key lm_your_key_here

(Use the pip that ships with your Python install. If pip isn't on PATH, try py -m pip install logicmem-mcp or python -m pip install logicmem-mcp.)

Mac / Linux (Claude Code or Cursor)

pip3 install logicmem-mcp
logicmem-mcp install --key lm_your_key_here

CI / non-interactive

LOGICMEM_API_KEY=lm_… pip install logicmem-mcp
LOGICMEM_API_KEY=lm_… logicmem-mcp install

Where do I get an API key?

Sign up at https://logicmem.io. The free tier gives you 500 memories and 1 agent. Paid plans are $29/mo (10k ops/day) and $99/mo (100k ops/day).

What tools does the MCP server expose?

108 tools across:

  • 18 memory toolslogicframe_memory_log, logicframe_memory_recall, logicframe_memory_stats, logicframe_memory_snapshot, etc.
  • 14 VAPI toolsvapi_create_assistant, vapi_list_calls, vapi_list_phone_numbers, etc. (You pass your own VAPI key per call.)
  • 10 Retell AI toolsretell_create_agent, retell_list_calls, etc.
  • 8 Bland.ai toolsbland_initiate_call, bland_get_transcript, etc.
  • 5 Twilio tools — phone number and SMS management.
  • Plus intelligence, audit, federation, conversation-resume, and constraint tools.

Each customer brings their own LLM and platform keys; the MCP just provides persistent memory and a unified tool surface.

Verify

# Claude Code CLI
claude mcp list
# should show: logicframe-mcp  https://mcp.logicmem.io/mcp  ✓ connected

If it shows "Failed to connect", check:

  1. Your API key is valid: curl -X POST https://mcp.logicmem.io/mcp -H "Content-Type: application/json" -H "Authorization: Bearer $KEY" -d '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{}}'
  2. No firewall blocking outbound to mcp.logicmem.io:443
  3. Reinstall the bridge: pip install --force-reinstall logicmem-mcp

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

logicmem_mcp-2.0.0.tar.gz (11.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

logicmem_mcp-2.0.0-py3-none-any.whl (10.3 kB view details)

Uploaded Python 3

File details

Details for the file logicmem_mcp-2.0.0.tar.gz.

File metadata

  • Download URL: logicmem_mcp-2.0.0.tar.gz
  • Upload date:
  • Size: 11.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for logicmem_mcp-2.0.0.tar.gz
Algorithm Hash digest
SHA256 361a2e51473650fca2bd57864096c23fc84aa88a767472175c86775ea9ade568
MD5 1d1c87be98caa0d30865053303a55b9b
BLAKE2b-256 3e63cc2053b9cc8196ac8556a4c6edcd10b29fc2db3e5df9255a74b4fb7bd9a1

See more details on using hashes here.

File details

Details for the file logicmem_mcp-2.0.0-py3-none-any.whl.

File metadata

  • Download URL: logicmem_mcp-2.0.0-py3-none-any.whl
  • Upload date:
  • Size: 10.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for logicmem_mcp-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 73d0393b35887644c50fa3d9392612ec82d0eaf61031f9917489d9d22db8d7b6
MD5 d656af3c87c2c76750b98e4991ad7ce8
BLAKE2b-256 2cc84d203b9f62d6796ca3378e7a20fea1df923ece5e3bb2bc7fa0e2ebdc133c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page