Connect your agent
Pensieve for Windsurf
This page tells you how to connect Windsurf to Pensieve over MCP, and what changes on your computer.
Connect Windsurf
- Install Pensieve (see Install).
- Run one of these commands:
pensieve integrate recommended # every agent on this computer pensieve integrate windsurf-mcp pensieve-search # only Windsurf - Restart Windsurf. It loads its MCP servers when it starts.
- Ask Windsurf a question about your code, for example “where do we retry failed webhooks?”.
What Pensieve adds
| Add-on | Id | File |
|---|---|---|
| MCP server | windsurf-mcp | ~/.codeium/windsurf/mcp_config.json |
| Skills | pensieve-search | ~/.agents/skills |
Windsurf has no global instructions file that Pensieve writes to. Copy the instructions block into the rules of Windsurf. It tells the agent to call search before it greps.
Connect by hand
Add this entry to ~/.codeium/windsurf/mcp_config.json. Use the full path of your pensieve command. To find it, run
which pensieve.
{
"mcpServers": {
"pensieve": {
"command": "/Users/you/.local/bin/pensieve",
"args": ["mcp"]
}
}
}
Remove
pensieve integrate windsurf-mcp --remove
Pensieve removes only the entries that it added.
See also: scopes, the MCP tools, and the benchmark.
Something wrong or missing? Tell us on GitHub.