MCP Directory

PRIMS – Python Runtime Interpreter MCP Server vs Serena

A side-by-side comparison of two Developer Tools servers — tools, transport, auth, maintenance, and copy-paste config for each.

 PRIMS – Python Runtime Interpreter MCP Server

Run arbitrary Python in a secure, throw-away sandbox from your LLM agent via a single run_code MCP tool.

Unverified
HTTP (remote)
No auth
Stale
Python
Serena

LSP-powered coding agent toolkit: semantic symbol search, references and structural edits.

Verified
stdio (local)
No auth
Python
CategoryDeveloper ToolsDeveloper Tools
LanguagePythonPython
TransportHTTP (remote)stdio (local)
AuthNoneNone
GitHub stars2812k
Last commit8 months ago23 days ago
Verified
Actively maintained
Install./scripts/setup_env.shuvx --from git+https://github.com/oraios/serena serena start-mcp-server
RepoOpen Open

Verdict

Pick PRIMS – Python Runtime Interpreter MCP Server if you want a hosted/remote server with nothing to install.

Pick Serena if you prefer the more popular, battle-tested option, and you want a local (stdio) server that keeps data on your machine.

Add PRIMS – Python Runtime Interpreter MCP Server

Install / run
./scripts/setup_env.sh

Paste into ~/Library/Application Support/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "prims-python-runtime-interpreter-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "http://localhost:9000/mcp"
      ]
    }
  }
}

Claude Desktop connects to remote servers through the `mcp-remote` proxy (installed on first run via npx). Restart Claude Desktop after saving.

Add Serena

Install / run
uvx --from git+https://github.com/oraios/serena serena start-mcp-server

Paste into ~/Library/Application Support/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "serena": {
      "command": "uvx",
      "args": [
        "--from",
        "git+https://github.com/oraios/serena",
        "serena",
        "start-mcp-server"
      ]
    }
  }
}

Requires `uv` (the Python package runner). Install it from https://docs.astral.sh/uv/ if `uvx` is not found.

FAQ

PRIMS – Python Runtime Interpreter MCP Server or Serena — which is better?

Pick PRIMS – Python Runtime Interpreter MCP Server if you want a hosted/remote server with nothing to install. Pick Serena if you prefer the more popular, battle-tested option, and you want a local (stdio) server that keeps data on your machine.

Can I use both PRIMS – Python Runtime Interpreter MCP Server and Serena?

Yes — MCP clients let you enable multiple servers at once. Add both configs to your client's mcpServers and use whichever tool fits the task.

Do PRIMS – Python Runtime Interpreter MCP Server and Serena work with Claude, Cursor and Windsurf?

Both do. Copy the per-client config below into Claude Desktop, Cursor, or Windsurf.