Skip to main content
@shelv/mcp is an MCP server that exposes Shelv shelf operations as tools. Any MCP-compatible client — Claude Code, Claude Desktop, Cursor, Windsurf — can list shelves, read files, search content, and optionally create and hydrate shelves. Supports stdio (default) and HTTP transports. Source code: github.com/shelv-dev/shelv-mcp

Quick setup

Run the server with npx:
Or install globally:

Claude Code

Set your API key in the environment where Claude Code runs:
Don’t have an API key yet? See the Authentication guide.

Claude Desktop

Add to your Claude Desktop config (claude_desktop_config.json):

Cursor

Add to .cursor/mcp.json in your project root:

Available tools

Write tools

Write tools (create_shelf and hydrate_shelf) are disabled by default. Enable them by setting:
When disabled, only the four read tools are registered with the MCP server.

Environment variables

HTTP transport

Run the server in HTTP mode for shared or remote setups:
In HTTP mode, authenticate each request with an Authorization: Bearer sk_... header unless SHELV_API_KEY is set as a startup fallback.