Phil's ST MCP
This server (MCP Commander) exposes Sublime Text 4 to AI assistants via the Model Context Protocol, providing 63+ tools across these capabilities:
Read & Introspect: Get active file content, selections, cursor context, open files, project folders, symbols, output panel content, phantoms, build variables, command palette entries, commands, menu items, syntaxes, scope/word at cursor, bookmarks, line count, encoding, settings, and window layout.
Navigate: Open files (with line/column jump), move cursor to a specific line, show output panels, and focus pane groups.
Edit: Perform string replacements, replace selections/lines, insert snippets, duplicate lines, toggle comments, sort lines, select/fold lines, undo/redo, and run arbitrary ST commands.
Search: Find patterns in the active file or across project folders, with regex and case-sensitivity options.
File & Project Management: Save, close, or revert files; save all open files; add/remove project folders.
Syntax & Encoding: Set the syntax and character encoding of the active file.
Settings & Window: Set ST settings, toggle the sidebar, set window pane layout, and write to the status bar.
Build: Trigger the current build system or run custom build commands.
Terminus Integration: Send text to any open tab, simulating keyboard input for Terminus terminal tabs.
Scripting: Execute arbitrary Python code in ST's main thread or the system interpreter, and retrieve console logs.
Controls a running Sublime Text 4 instance, providing tools for reading and editing files, navigating, searching, building, managing settings and layout, and executing Python scripts through a local HTTP bridge.
Sublime-MCP: Universal AI Agent Connector for Sublime Text
Installation
1. Clone the Repository
git clone https://github.com/dpc00/sublime-mcp.git
cd sublime-mcp2. Install the Sublime Text Plugin
Windows (Command Prompt):
mklink /J "%APPDATA%\Sublime Text\Packages\sublime-mcp" "C:\path\to\your\sublime-mcp\repo\packages\st-plugin"macOS/Linux:
ln -s "`pwd`/packages/st-plugin" "~/Library/Application Support/Sublime Text/Packages/sublime-mcp"(Remember to replace C:\path\to\your\sublime-mcp\repo with the actual path to where you cloned the repository.)
3. Install Optional Standalone MCP Plugins
The repo ships two additional standalone Sublime Text plugins that expose
debugging (DAP) and language-server (LSP) tools over MCP. Install them the
same way as the main plugin, by symlinking each package into your Sublime
Text Packages/ directory.
debugger-mcp (serves Debugger DAP tools over MCP SSE on port 9505):
Windows (Command Prompt):
mklink /J "%APPDATA%\Sublime Text\Packages\debugger-mcp" "C:\path\to\your\sublime-mcp\repo\packages\debugger-mcp"macOS/Linux:
ln -s "`pwd`/packages/debugger-mcp" "~/Library/Application Support/Sublime Text/Packages/debugger-mcp"lsp-mcp (serves LSP tools over MCP SSE on port 9506):
Windows (Command Prompt):
mklink /J "%APPDATA%\Sublime Text\Packages\lsp-mcp" "C:\path\to\your\sublime-mcp\repo\packages\lsp-mcp"macOS/Linux:
ln -s "`pwd`/packages/lsp-mcp" "~/Library/Application Support/Sublime Text/Packages/lsp-mcp"The ports can be overridden with the DEBUGGER_MCP_PORT and LSP_MCP_PORT
environment variables. Restart Sublime Text after linking so the plugins load.
4. Configure Your Agent
Install the agent-side proxy and configure your agent:
For Node.js agents:
cd packages/node-proxy
npm install .
npx sublime-mcpFor Python agents:
cd packages/python-proxy
pip install .
sublime-mcpMaintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityDmaintenanceRemote-control Unity Editor from any AI IDE via file-based IPC — 62 tools, zero dependenciesLast updated6519Apache 2.0
- Alicense-qualityCmaintenanceConnects OpenSpec specification system to AI coding assistants, enabling automated spec-driven development workflows.Last updated542MIT

Elgato MCP Serverofficial
Alicense-qualityDmaintenanceBridges AI assistants with Elgato apps via IPC, enabling dynamic tool discovery and notification forwarding.Last updated5197MIT- Alicense-qualityDmaintenanceConnects AI assistants to Nuke for compositing tasks via natural language.Last updated8MIT
Related MCP Connectors
Connect AI assistants to your GitHub-hosted Obsidian vault to seamlessly access, search, and analy…
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
Let ChatGPT, Claude & Cursor use your Mac: email, calendar, iMessage, Teams, files. Local, free.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/dpc00/sublime-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server