Agent♥︎Age
Catalog

Sublime Text MCP

Official

by dpc00 · Python

MCP server for Sublime Text 4. Lets AI coding agents read and control a running ST instance.

io.github.dpc00/sublime-mcp — Sublime-MCP (Model Context Protocol)

This MCP server integrates with Sublime Text 4 so MCP-speaking AI coding agents can read and control a running instance. It enables agents to run registered Sublime Text commands, access and modify views and selections, inspect tabs and project state, and execute eval_python in Sublime’s plugin host for capabilities beyond typed tools.

🛠️ Key Features

  • Run registered Sublime Text 4 commands
  • Read/write views and selections
  • Inspect tabs and project state
  • Execute eval_python via the plugin host
  • Built for MCP (Model Context Protocol)
  • Related companion tools include DAP and LSP support

🚀 Use Cases

  • Agent-driven interaction with a live Sublime Text 4 session
  • Code assistance workflows that require selecting and editing content
  • Debugging and development tooling access for running editor state

⚡ Developer Benefits

  • Connect AI agents to Sublime Text 4 over MCP
  • Extend agent capability via plugin-host Python evaluation
  • Use optional companion plugins for DAP and LSP operations

⚠️ Limitations

  • Additional debugging (DAP) and LSP capabilities depend on optional companion plugins (debugger-mcp, lsp-mcp)
  • Provides “Seven workflow tool” per the excerpt, without further tool details

Topics

ai-agentsclaude-codedaplspmcpmodel-context-protocolpythonsublime-textsublime-text-plugin