MCP server for Sublime Text 4 — lets Claude Code read and control a running ST instance
- ✓Open-source license (MIT)
- ✓Actively maintained (<30d)
- ✓Clear description
- ✓Topics declared
- ✓Documented (README)
claude mcp add sublime-mcp -- npx -y sublime-mcp{
"mcpServers": {
"sublime-mcp": {
"command": "npx",
"args": ["-y", "sublime-mcp"]
}
}
}MCP Servers overview
# Sublime-MCP: Universal AI Agent Connector for Sublime Text
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.
## Toolset
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](AGENT_GUIDE.md) (also served live by
`get_help`). Release history: [CHANGELOG.md](CHANGELOG.md).
## Ports
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) | `sublime-mcp.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`).
## Installation
### 1. Install the Sublime Text plugin
**Package Control (recommended once available):** run `Package Control:
Install Package` and search for **MCP Commander**. This package is
[submitted to Package Control](https://github.com/sublimehq/package_control_channel/pull/9554)
and awaiting merge — until it lands, use the manual path below.
**Manual (also the path for developing sublime-mcp itself):**
```bash
git clone https://github.com/dpc00/sublime-mcp.git
cd sublime-mcp
```
The repo root **is** the package. Symlink it into ST's `Packages/` directory as `sublime-mcp`.
**Windows (Command Prompt):**
```cmd
mklink /J "%APPDATA%\Sublime Text\Packages\sublime-mcp" "C:\path\to\sublime-mcp"
```
**macOS:**
```bash
ln -s "$(pwd)" "$HOME/Library/Application Support/Sublime Text/Packages/sublime-mcp"
```
**Linux:**
```bash
ln -s "$(pwd)" "$HOME/.config/sublime-text/Packages/sublime-mcp"
```
Restart Sublime Text after linking so the plugin loads.
### 2. Configure your agent
**Node:**
```bash
cd packages/node-proxy
npm install .
npx sublime-mcp
```
**Python:**
```bash
cd packages/python-proxy
pip install .
sublime-mcp
```
For Codex, use its native streamable-HTTP configuration; no `mcp-remote`
wrapper is required:
```toml
[mcp_servers.sublime-mcp]
type = "http"
url = "http://127.0.0.1:9502/mcp"
```
Restart or open a new Codex session after changing MCP configuration. Verify
the entire path before debugging agent behavior:
```bash
npx sublime-mcp doctor
```
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):
```json
{
"mcpServers": {
"sublime-mcp": { "type": "sse", "url": "http://127.0.0.1:9502/sse" }
}
}
```
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.
## Agent skill
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.
What people ask about sublime-mcp
What is dpc00/sublime-mcp?
+
dpc00/sublime-mcp is mcp servers for the Claude AI ecosystem. MCP server for Sublime Text 4 — lets Claude Code read and control a running ST instance It has 1 GitHub stars and its last recorded update is dated 2026-09-09.
How do I install sublime-mcp?
+
You can install sublime-mcp by cloning the repository (https://github.com/dpc00/sublime-mcp) or following the README instructions on GitHub. ClaudeWave also provides quick install blocks on this page.
Is dpc00/sublime-mcp safe to use?
+
Our security agent has analyzed dpc00/sublime-mcp and assigned a Trust Score of 95/100 (tier: Verified). See the full breakdown of passed checks and flags on this page.
Who maintains dpc00/sublime-mcp?
+
dpc00/sublime-mcp is maintained by dpc00. The last recorded GitHub activity is dated 2026-09-09, with 0 open issues.
Are there alternatives to sublime-mcp?
+
Yes. On ClaudeWave you can browse similar mcp servers at /categories/mcp, sorted by popularity or recent activity.
Deploy sublime-mcp to your cloud
Ship this repo to production in minutes. Each platform spins up its own environment with editable env vars.
Maintain this repo? Add a badge to your README
Drop the badge into your GitHub README to show it's tracked on ClaudeWave. Each badge links back to this page and reflects the live Trust Score.
[](https://claudewave.com/repo/dpc00-sublime-mcp)<a href="https://claudewave.com/repo/dpc00-sublime-mcp"><img src="https://claudewave.com/api/badge/dpc00-sublime-mcp" alt="Featured on ClaudeWave: dpc00/sublime-mcp" width="320" height="64" /></a>More MCP Servers
Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.
User-friendly AI Interface (Supports Ollama, OpenAI API, ...)
An open-source AI agent that brings the power of Gemini directly into your terminal.
Real-time global intelligence dashboard. AI-powered news aggregation, geopolitical monitoring, and infrastructure tracking in a unified situational awareness interface
The fastest path to AI-powered full stack observability, even for lean teams.
🕷️ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl!