What are the Vim requirements?
Vim must be compiled with `+python3`.
@breggles
基本信息
An MCP server for driving Vim. Connect your coding agent to show you changed files in Vim, or get it to advise you on the code in your open buffers. Can also set your quickfix/location list to direct you to multiple points in your code.
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"vim": {
"type": "remote",
"url": "http://localhost:8765/mcp",
"enabled": true
}
}
}List all open buffers
Read buffer contents (optionally a line range)
Replace, insert, or delete lines in a buffer
Open a file via `:edit`
Save a buffer via `:write` (opt-in, see above)
Close a buffer via `:bdelete`
Get current cursor position
Move cursor to a line and column
Get the current visual selection, if any
Run an arbitrary Ex command (opt-in, see above)
Get the current quickfix list entries
Set the quickfix list
Get the location list for the current window
Set the location list for the current window
Get Vim's message history (`:messages` output)
Open a side-by-side diff view in a new tab (files or content)
Vim MCP Server is an MCP (Model Context Protocol) server embedded in Vim that exposes tools over HTTP. It lets MCP-compatible clients—such as AI coding agents—read and modify buffers, move the cursor, retrieve visual selections, manage quickfix and location lists, open side-by-side diffs, read message history, and run Ex commands.
Install the plugin using your preferred Vim plugin manager (e.g., vim‑plug, Vundle, or manual clone). Start the server in Vim with :McpServerStart (default port 8765). Optionally, set g:mcp_server_autostart = 1 in your vimrc to start it automatically. Point your MCP client at http://127.0.0.1:8765/mcp.
Vim must be compiled with `+python3`.
Use `:McpServerStart [port]` to start and `:McpServerStop` to stop. Check status with `:McpServerStatus`.
`execute_command`, `save_buffer`, and `edit_buffer` are disabled by default. Enable them by setting `g:mcp_server_allow_execute`, `g:mcp_server_allow_save`, or `g:mcp_server_allow_edit` to `1` in your `vimrc`.
Set the client to connect to `http://127.0.0.1:8765/mcp`. For example, in OpenCode’s `opencode.jsonc` add the server with `"type": "remote"` and the URL.
In `opencode.jsonc` under `agent.plan.tools`, disable all `vim_*` tools and then re‑enable specific read‑only ones like `vim_list_buffers`, `vim_get_buffer`, etc.

Health by Dr Brad works out a health plan from your own results: which screening is due at your age, and evidence-based suggestions, each with the reason and the published guideline or study behind it. Your record is one
Open-source MCP to use Blender with any LLM

Request dedicated senior developers to work on your project, write job descriptions, and prep technical interviews — all without leaving your Claude chat. Just describe what you need, and Lemon.io MCP does the rest. 1–3
不止于 CSS

Couples therapist Figs O'Sullivan (LMFT, 17 years, endorsed by Sue Johnson, creator of EFT) inside your AI. Ask relationship questions answered from his clinical writing, name the pattern in a fight, get a three-step rep
评论