CAT
/MCP
SkillsMCPMarketplacesDigestToolsAdvertise

This week in Claude

Every Monday: Claude Code, Agent SDK, MCP, and the Anthropic platform moves worth your time.

Skills by Category
Frontend DevelopmentBackend & APIsTesting & QASecurityDevOps & CI/CDGit & Pull RequestsDocumentationCode Review & QualityAI & Agent BuildingSkill Development
MCP Servers by Category
Sales & MarketingWeb & Browser AutomationDatabasesAI & LLM ToolsCloud & InfrastructureCommunication & MessagingDeveloper ToolsDesign & CreativeDocuments & KnowledgeSearch & Web Crawling
Marketplaces by Category
AI Agents & OrchestrationLLM IntegrationDevelopment ToolsFrontend & UIBackend & APIsDatabasesTesting & Code QualityDevOps & CloudSecurity & ComplianceGit & Version Control

Cross AI Tools

Discover Claude Code plugins, extensions, and tools. Automatically updated directory of Anthropic Claude AI marketplaces with development tools, productivity plugins, and integrations.

Resources

  • Browse Skills
  • Browse MCP Servers
  • Browse Marketplaces
  • Plugins Reference

Community

  • About
  • Tools
  • Feedback
  • Privacy Policy
  • Advertise

Built for the Claude Code community with Claude Code by @mertduzgun

Independent project, not affiliated with Anthropic

Sublime Text MCP

dpc00/sublime-mcp
STDIOregistry active
Summary

Runs a Python MCP server outside Sublime Text that talks to an HTTP bridge plugin inside the editor, giving Claude direct control over your ST4 instance. You get 59 tools covering the full API surface: read file content and selections, navigate to lines, edit via str_replace or insert operations, search across projects, run builds, manage layouts, and even send commands to Terminus terminal tabs. The architecture keeps ST responsive by running the MCP protocol over stdio to a separate process that forwards requests via localhost HTTP. Useful when you want Claude to perform multi-step refactoring, navigate large codebases, or orchestrate edits across multiple open files without leaving your existing ST workflow.

CodeRabbit
CodeRabbit
AI writes the code. CodeRabbit catches the slop.
Try For Free →
Keep your Mac awake
Keep your Mac awake
Keep your Mac awake while Claude Code and 40+ AI agents run. Sleeps when they're idle.
One time payment $9 →
Context.devContext.dev
Context.dev
Integrate web data into your AI product. One API to scrape website & brand data.
Get API Key Now →
Make your agent a DeFi expert
Make your agent a DeFi expert
Agent, run crypto. Access onchain data & trade routes via 1inch.
Install now →
Make money from your Skills
Make money from your Skills
On Capafy, your Skill runs online 24/7 as an agent product, and you get paid every time someone uses it.
Start earning →
AppSignal
AppSignal
Monitor with ease. Code with confidence.
Start Free Trial →
CodeRabbit
CodeRabbit
AI writes the code. CodeRabbit catches the slop.
Try For Free →
Keep your Mac awake
Keep your Mac awake
Keep your Mac awake while Claude Code and 40+ AI agents run. Sleeps when they're idle.
One time payment $9 →
Context.devContext.dev
Context.dev
Integrate web data into your AI product. One API to scrape website & brand data.
Get API Key Now →
Make your agent a DeFi expert
Make your agent a DeFi expert
Agent, run crypto. Access onchain data & trade routes via 1inch.
Install now →
Make money from your Skills
Make money from your Skills
On Capafy, your Skill runs online 24/7 as an agent product, and you get paid every time someone uses it.
Start earning →
AppSignal
AppSignal
Monitor with ease. Code with confidence.
Start Free Trial →

MCP Commander

Exposes Sublime Text to AI assistants (Claude Code, Cursor, etc.) via the Model Context Protocol. The MCP server is built directly into the ST plugin — no separate process or external dependency required.

63 tools covering reading, navigation, editing, searching, build, Terminus integration, settings, layout, menus, console log, and live Python scripting.

Architecture

The plugin runs two local servers on startup:

ServerDefault portPurpose
MCP SSE9502 (Win) / 9503 (Mac/Linux)MCP 2024-11-05 SSE transport — connect your agent here
HTTP bridge9500 (Win) / 9501 (Mac/Linux)Internal REST API used by the SSE dispatcher
Claude Code (MCP client)
        │  MCP SSE  (port 9502)
        ▼
  sublime_mcp.py  ←  ST plugin — MCP server + HTTP bridge, all in one file
        │  sublime API
        ▼
  Sublime Text 4

Installation

1. Install via Package Control

  1. Open the Command Palette (Ctrl+Shift+P)
  2. Run Package Control: Install Package
  3. Search for MCP Commander and install

The plugin loads automatically. Check View › Show Console for:

sublime-mcp: MCP SSE on 127.0.0.1:9502, HTTP bridge on 127.0.0.1:9500

Manual install: copy sublime_mcp.py (and optionally sublime_mcp_browse.py) into your Packages/User/ folder.

2. Register with Claude Code

Add to ~/.claude/settings.json under "mcpServers":

Windows:

"sublime-mcp": { "type": "sse", "url": "http://127.0.0.1:9502/sse" }

Mac / Linux:

"sublime-mcp": { "type": "sse", "url": "http://127.0.0.1:9503/sse" }

Restart Claude Code. Tools appear with the mcp__sublime-mcp__ prefix.

Server management

The MCP server starts automatically when ST loads the plugin. To stop or restart it, open the Command Palette and run:

MCP Commander: Server Status

The panel shows whether the server is running and on which port, and lets you start or stop it with a single keypress.

Tab and Sheet Indexing

IMPORTANT: Users refer to tabs by 1-based numbering (tab 1, tab 2, etc.), but get_sheets() returns 0-based indexes. Always convert user tab references before using:

  • User tab 1 = index 0
  • User tab 2 = index 1

When targeting a specific tab, call get_sheets() first to verify the index.

Tools

Read / Introspect

ToolDescription
get_active_filePath, full content, cursor line/col, dirty flag, and syntax name
get_selectionCurrent selection(s): text and begin/end line+col for each
get_cursor_contextlines lines above and below cursor, with 1-based line numbers prepended
get_open_filesAll files open in the current window (path, name, is_dirty)
get_sheetsAll sheets (tabs) in the window by index — includes images and untitled buffers
get_sheet_contentContent of any tab by sheet index (from get_sheets)
get_project_foldersProject root folder paths
get_file_contentFull content of any already-open file by path
get_view_contentFull content of any open tab by name (partial match, case-insensitive)
get_view_sizeTotal character count of any open tab
get_view_charsText at character offsets begin..end (0-based, end exclusive)
get_view_phantomsPhantom HTML and extracted plain text from a named view
get_output_panelText content of a named output panel (name='exec' for build output)
get_active_panelActive panel id and, if it is an output panel, its content
get_symbolsAll symbols (functions, classes, etc.) in the active file with line numbers
lookup_symbolFind where a symbol is defined across all open files
get_project_dataRaw .sublime-project JSON for the current project
get_variablesST build variables: $file, $project_path, $platform, etc.
get_command_paletteCommand Palette entries from installed *.sublime-commands resources
get_commandsRunnable command ids from loaded command classes
get_menu_itemsMenu items from *.sublime-menu resources
get_syntaxesAll syntax definitions available in ST (name + path)
get_scope_at_cursorFull syntax scope string at the cursor position
get_word_at_cursorWord under the cursor and its line/col
get_bookmarksAll bookmarked positions in the active file
get_line_countTotal number of lines in the active file
get_encodingCharacter encoding of the active file
get_settingA ST setting by key. scope='view' (default) or 'window'
get_layoutCurrent window layout (groups, cells) and which files are in each group

Navigate

ToolDescription
open_fileOpen a file, optionally jumping to a specific line and column
goto_lineMove cursor to line (and optional column) in the active file
show_panelBring an output panel to the front. Default name='exec' for the build panel
focus_groupMove focus to a pane group by 0-based index

Edit

ToolDescription
str_replace_based_edit_toolST-native editor: str_replace, insert, create, view. Full undo, gutter diff, 30s highlight
replace_selectionReplace the current selection(s) with text
replace_linesReplace lines begin..end (inclusive, 1-based) in the active file
insert_snippetInsert at the cursor using ST snippet syntax
duplicate_lineDuplicate the current line(s)
toggle_commentToggle line comment, or block comment if block=True
sort_linesSort selected lines, or all lines if nothing is selected
select_linesSelect lines begin..end (1-based, inclusive)
fold_linesFold (collapse) lines begin..end in the active file
undoUndo the last edit
redoRedo the last undone edit
run_commandRun any ST command with optional args

Search

ToolDescription
find_in_fileFind all occurrences of a pattern in the active file
find_in_filesSearch across project folders. Skips .git, __pycache__, node_modules, .venv

File / Project

ToolDescription
save_fileSave the active file (or a specific file by path)
save_allSave all open files
close_fileClose a file by path, or the active file if path is omitted
revert_fileRevert the active file to its last saved state
add_folderAdd a folder to the current project
remove_folderRemove a folder from the current project by path

Syntax / Encoding

ToolDescription
set_syntaxSet the syntax of the active file by name (case-insensitive partial match)
set_encodingSet the character encoding of the active file

Settings / Window

ToolDescription
set_settingSet a ST setting by key
toggle_sidebarShow or hide the sidebar
set_layoutSet the window pane layout
set_statusWrite a message to ST's status bar

Build

ToolDescription
run_buildTrigger the current build system, or pass cmd/shell_cmd for a custom command

Terminus Integration

Terminus is a popular ST terminal package. send_to_view is Terminus-aware: when targeting a Terminus tab it uses terminus_send_string to type text into the terminal session.

ToolDescription
send_to_viewSend text to any open tab. For Terminus tabs, types as if the user typed it. Include \n to execute

Scripting

ToolDescription
eval_pythonExecute arbitrary Python in ST's main thread. Returns captured stdout in output
eval_python_latestExecute Python in the system interpreter outside ST's sandbox
get_console_logRecent ST console output. tail=N limits to last N entries
get_console_fullEntire captured ST console buffer since startup

Configuration

Ports

ServerWindowsMac/LinuxEnv var override
MCP SSE95029503SUBLIME_MCP_MCP_PORT
HTTP bridge95009501SUBLIME_MCP_PORT

Telling Claude how to use the tools

Add a section like this to your project's CLAUDE.md (or ~/.claude/CLAUDE.md):

## Sublime Text MCP tools

MCP Commander is connected. Prefer it over standard file tools when working in ST:

- Read files with `get_active_file` or `get_file_content` rather than the Read tool
- Edit with `str_replace_based_edit_tool` — edits appear live with gutter diff and undo
- Use `find_in_files` for project-wide search
- Use `send_to_view` to run commands in a Terminus terminal tab
- Use `eval_python` for one-off ST scripting (no plugin file needed)
- Check `get_console_log` when a plugin isn't behaving as expected

Tab indexing: `get_sheets()` returns 0-based indexes; users refer to tabs
1-based. Always call `get_sheets()` first when targeting a specific tab.

Security note

Both servers bind to 127.0.0.1 only and accept any request without authentication. Do not expose these ports to a network interface.

Requirements

  • Sublime Text 4
  • Terminus package (optional — only required for send_to_view on terminal tabs)

Known limitations

  • No multi-window support — tools target the most recently focused ST window
  • No image editing — get_sheet_content returns the path for image tabs, not pixel data
  • No ST3 support — the plugin uses ST4 APIs throughout

Testing

The test suite requires Sublime Text to be running with sublime_mcp.py loaded.

cd /path/to/sublime-mcp
pip install httpx pytest
pytest tests/ -v

Contributing

Adding a tool:

  1. Add a handler function in sublime_mcp.py (run via _on_main for ST API calls)
  2. Add an entry to _MCP_TOOLS and the _GET / _POST routing dicts
  3. Add a row to the Tools table in README.md

Good first issues:

  • Multi-window support (sublime.windows() instead of sublime.active_window())
  • get_diagnostics — expose LSP error/warning annotations
  • set_bookmark / clear_bookmarks — write counterparts to get_bookmarks

Open an issue or PR on GitHub.

Featured
CodeRabbit
CodeRabbit
AI writes the code. CodeRabbit catches the slop.
Try For Free →
Keep your Mac awake
Keep your Mac awake
Keep your Mac awake while Claude Code and 40+ AI agents run. Sleeps when they're idle.
One time payment $9 →
Context.devContext.dev
Context.dev
Integrate web data into your AI product. One API to scrape website & brand data.
Get API Key Now →
Make your agent a DeFi expert
Make your agent a DeFi expert
Agent, run crypto. Access onchain data & trade routes via 1inch.
Install now →
Make money from your Skills
Make money from your Skills
On Capafy, your Skill runs online 24/7 as an agent product, and you get paid every time someone uses it.
Start earning →
AppSignal
AppSignal
Monitor with ease. Code with confidence.
Start Free Trial →
Registryactive
Packagesublime-mcp
TransportSTDIO
UpdatedMay 27, 2026
View on GitHub