CuratedMCP
OpenAI Agents SDK
npm

How to install socraticode in OpenAI Agents SDK

MCP server for enterprise local codebase indexing, semantic search, and code dependency graphs.

Indexed, not yet reviewed

We found socraticode in the official MCP registry. Our automated check passed on Nov 1, 2026 (it confirms the server is published and reachable), but no one at CuratedMCP has reviewed its code, permissions or credentials handling. Check what it can access before you give it keys. Scan your machine free to see every MCP server you have installed.

Steps

  1. 1Install Node.js 18 or newer (for npx)
  2. 2pip install openai-agents
  3. 3Use the snippet below inside an async function

Python snippet

Python
from agents import Agent
from agents.mcp import MCPServerStdio

async with MCPServerStdio(
    params={
        "command": "npx",
        "args": [
            "-y",
            "socraticode"
        ]
    },
) as server:
    agent = Agent(name="Assistant", mcp_servers=[server])
Environment variableRequiredWhat it is
EMBEDDING_PROVIDERNoEmbedding provider to use: ollama (default), openai, google, lmstudio, or litellm
OPENAI_API_KEYsecretNoAPI key for OpenAI embeddings (required only when EMBEDDING_PROVIDER=openai)
GOOGLE_API_KEYsecretNoAPI key for Google embeddings (required only when EMBEDDING_PROVIDER=google)
OLLAMA_URLNoURL of the Ollama server (default: auto-detected; Docker-managed or http://localhost:11434)
EMBEDDING_MODELNoEmbedding model name (defaults per provider; required for lmstudio and litellm)
EMBEDDING_DIMENSIONSNoEmbedding vector dimensions (defaults per provider; required for lmstudio and litellm)
OLLAMA_MODENoOllama mode: auto (default), docker, or external
OLLAMA_API_KEYsecretNoOptional API key for authenticated Ollama proxies
LMSTUDIO_URLNoLM Studio OpenAI-compatible base URL (default: http://localhost:1234/v1)
LMSTUDIO_API_KEYsecretNoOptional API key when LM Studio authentication is enabled
LMSTUDIO_ALLOW_MISSING_MODEL_LISTINGNoAllow compatible embedding servers without a models endpoint to be probed directly
LITELLM_URLNoLiteLLM OpenAI-compatible base URL (default: http://localhost:4000/v1)
LITELLM_API_KEYsecretNoLiteLLM master or virtual API key (required when EMBEDDING_PROVIDER=litellm)
LITELLM_SEND_DIMENSIONSNoForward the dimensions parameter through LiteLLM when explicitly enabled
QDRANT_MODENoQdrant mode: managed (default, Docker-managed) or external (user-provided instance)
QDRANT_URLNoFull URL for remote/cloud Qdrant (e.g. https://xyz.cloud.qdrant.io:6333). Only needed when QDRANT_MODE=external
QDRANT_API_KEYsecretNoAPI key for remote Qdrant instance. Only needed when QDRANT_MODE=external

Install in other clients

About socraticode: repo, license and check results →

Maintain socraticode?

Claim this page to get a full CuratedMCP listing: edit your description, see listing analytics, and add our README badge. Listing is free, and a person checks every submission before it goes live. We'll pre-fill the form from the registry.

    How to install socraticode MCP server in OpenAI Agents SDK | CuratedMCP