MCP server for Sublime Text 4 — lets Claude Code read and control a running ST instance
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add sublime-text -- uvx sublime-mcp~/.codex/config.toml
[mcp_servers.sublime-text]
command = "uvx"
args = ["sublime-mcp"]
# codex mcp add sublime-text -- uvx sublime-mcp~/.cursor/mcp.json
{
"mcpServers": {
"sublime-text": {
"command": "uvx",
"args": [
"sublime-mcp"
]
}
}
}.vscode/mcp.json
{
"servers": {
"sublime-text": {
"type": "stdio",
"command": "uvx",
"args": [
"sublime-mcp"
]
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"sublime-text": {
"command": "uvx",
"args": [
"sublime-mcp"
]
}
}
}claude_desktop_config.json
{
"mcpServers": {
"sublime-text": {
"command": "uvx",
"args": [
"sublime-mcp"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"sublime-text": {
"command": "uvx",
"args": [
"sublime-mcp"
]
}
}
}