The full upstream README, mirrored here for reference. Install config, tool schemas, adoption signals, and an original overview live on the Sublime Text MCP listing page.
Gives any MCP-speaking AI agent real control over a running Sublime Text 4
instance: run registered ST commands, read/write views and selections, inspect
tabs and project state, and eval_python in Sublime's plugin host for anything
the typed tools don't cover.
Controlling another installed Sublime package (a debugger, a language server,
anything else) doesn't need its own dedicated MCP server — get_package_mcp_info
plus eval_python/run_command covers it directly. See skills/package-skill-generator
to turn a one-time investigation into a small, reusable skill file instead.
Seven workflow tools are advertised by default. discover_tools searches the
complete internal catalog of 238 typed Sublime capabilities, and batch invokes
discovered capabilities without flooding the model's initial tool context.
Agent how-to: AGENT_GUIDE.md (also served live by
get_help). Release history: CHANGELOG.md.
sublime-mcp serves MCP streamable HTTP at /mcp, legacy MCP SSE at
/sse, and a plain HTTP bridge.
The bundled Node/Python proxies use sublime-mcp's HTTP bridge only. Defaults:
| Plugin | MCP SSE | HTTP bridge | Settings file |
|---|---|---|---|
| sublime-mcp | 9502 (Win) / 9503 (macOS/Linux) | 9500 (Win) / 9501 (macOS/Linux) | MCP Commander.sublime-settings |
The settings file takes "mcp_port" and "http_port" keys; edit your copy
under Packages/User/ (Preferences > Package Settings) to override the
defaults above — no env vars needed.
SSE URL form: http://127.0.0.1:<sse-port>/sse. The bundled Node/Python
proxies talk to sublime-mcp's HTTP bridge, not SSE; override with
SUBLIME_MCP_BASE (e.g. http://127.0.0.1:9500).
Package Control (recommended once available): run Package Control: Install Package and search for MCP Commander. This package is
submitted to Package Control
and awaiting merge — until it lands, use the manual path below.
Manual (also the path for developing sublime-mcp itself):
The repo root is the package. Symlink it into ST's Packages/ directory as sublime-mcp.
Windows (Command Prompt):
macOS:
Linux:
Restart Sublime Text after linking so the plugin loads.
Node:
Python:
For Codex, use its native streamable-HTTP configuration; no mcp-remote
wrapper is required:
Restart or open a new Codex session after changing MCP configuration. Verify the entire path before debugging agent behavior:
The report checks the HTTP bridge, MCP handshake, and focused tool catalog.
From Sublime's Command Palette, MCP Commander: Connection Doctor shows the
main server-side state. (Controlling a debugger or language server doesn't
need its own MCP server or doctor check — see "Toolset" above and
skills/package-skill-generator.)
Other MCP clients may use the legacy SSE URL (Windows example):
Each plugin's MCP server starts automatically when ST loads it. To stop or restart sublime-mcp's, run "MCP Commander: Server Status" from the Command Palette. Check View > Show Console for startup confirmation.
Installable Codex skills are in skills/sublime-mcp,
skills/sublime-debugger, and skills/sublime-lsp. Copy the desired
directories to your Codex skills directory or install them through your normal
skill workflow.