Add Selvedge to Cline
Cline is the open-source autonomous agent for VS Code. It reads MCP servers from its own settings file, so Selvedge drops in with a small JSON block.
Before you start
Section titled “Before you start”pip install selvedge gives you the selvedge CLI (selvedge setup, selvedge blame, and the selvedge prompt helper below):
pip install selvedgeThe MCP config below launches the server with uvx instead of a bare selvedge-server, so it starts reliably even when your editor doesn’t share your shell’s PATH — it just needs uv installed. Prefer the global binary? Swap uvx --from selvedge selvedge-server for selvedge-server.
Add the MCP server
Section titled “Add the MCP server”Add this to cline_mcp_settings.json — open it from Cline → MCP Servers → Configure MCP Servers:
{ "mcpServers": { "selvedge": { "command": "uvx", "args": ["--from", "selvedge", "selvedge-server"] } }}Tell your agent when to call it
Section titled “Tell your agent when to call it”Selvedge only captures the why if your agent knows to call it. Install the one-block instruction set into your project’s CLAUDE.md / .cursorrules:
selvedge prompt --install CLAUDE.mdIt’s also a copy-paste block on the site: the Selvedge agent prompt block.
Verify
Section titled “Verify”Open Cline’s MCP Servers panel — selvedge should appear with a green dot and its 8 tools listed. Then ask Cline to make a structural change and confirm it calls log_change.
If it doesn’t connect
Section titled “If it doesn’t connect”Cline runs the command in your VS Code environment. If the server won’t start, make sure uv is installed there (the config calls uvx, which ships with uv). Prefer a global install? pip install selvedge and set command to selvedge-server.
- Quickstart → — the three-command setup and what
selvedge setupautomates. - MCP tools → — the eight tools Cline will be able to call.
- Cline MCP docs → — the upstream reference.