CuratedMCP
OpenAI Agents SDK
Free

How to Install threadctx-mcp in OpenAI Agents SDK

Shared memory MCP server for AI coding agents. Works identically with Claude Code and Cursor — same package, same config

What threadctx-mcp does

threadctx is an MCP server that gives Cursor (and Claude Code) a memory: two tools, memory_write and memory_query, that your agent calls to record and recall project-specific learnings. Free and local-only by default — no signup, no network calls beyond your own LLM provider. Turn on the Team plan when you want that memory shared across everyone on the repo, with real semantic search instead of local keyword matching.

ai
ai agents
mcp
multi agent
productivity

Installation steps

  1. 1Install: pip install openai-agents
  2. 2Copy the snippet below into your agent code
  3. 3Replace placeholder env values with your real keys
  4. 4Pass mcp_servers=[mcp_server] to your Agent()

Python snippet

Python snippetpython
from agents import Agent
from agents.mcp import MCPServerStdio

mcp_server = MCPServerStdio(
    command="npx",
    args=["-y", "threadctx-mcp"],
)

agent = Agent(
    name="My Agent",
    model="gpt-4o",
    mcp_servers=[mcp_server],
)
Full server details GitHub Open Config Editor

Install in other clients

For maintainers

If you maintain threadctx-mcp, add this badge to your README to show it's verified on CuratedMCP:

CuratedMCP Verified
[![CuratedMCP Verified](https://www.curatedmcp.com/api/badge/threadctx-mcp)](https://www.curatedmcp.com/marketplace/threadctx-mcp)

Related servers