MCP server & agent scenarios

Let AI agents search, curate and organize your library — locally, token-guarded.

OY.Surf ships a local MCP server so connected agents such as Claude Code, Claude Desktop and Cursor can query your library. The server runs on your Mac; a connected client may send tool results to its own cloud model.

Enable & connect

Turn the MCP server on in Settings → Integrations. It listens on a local port (8765 by default) and is protected by a bearer token shown in Settings.

Use the command shown in Settings so it includes your actual port and bearer token. If you use this example, replace YOUR_TOKEN with that token; do not share it.

claude mcp add --transport http oy-surf http://127.0.0.1:8765/mcp --header "Authorization: Bearer YOUR_TOKEN"

What agents can do

Safety

Changes such as ratings, collection edits, moodboard creation and duplicate cleanup ask for native confirmation. Additive note creation is also available to a connected client without a separate confirmation. Cleanup moves duplicate files to the Trash. The local server is token-guarded, but read tools can return metadata, thumbnails, full note text and your built voiceprint. Review the connected client’s permissions and data policies before giving it access.