Claude can read and edit SilverBullet pages through an MCP bridge: a small server that turns Claude's requests into calls to SilverBullet's API. This uses Ahmad-A0's silverbullet-mcp. Its README has the full details; these are the main steps.
What you need
- A SilverBullet server that Claude's bridge can reach over the internet.
- A place to run a Docker container, such as your own server or a host like Fly.io.
Setup
- Make a user for Claude. If your SilverBullet setup has user accounts, make a separate user that is not an admin. Give it read and write access to only the space Claude should see. Keep your private spaces out of its reach.
- Get a token for that user. Make an API token for the new user. The bridge signs in to SilverBullet with it.
- Make a bridge password. Make up a long random string. Claude uses it to sign in to the bridge.
- Set up the bridge. Copy the project and fill in its settings (the
.env file, or your host's secret settings):
SB_API_BASE_URL= the address of the space Claude should use
SB_AUTH_TOKEN= the user's API token from step 2
MCP_TOKEN= the bridge password from step 3
- Run it. On your own server, run it with Docker Compose as the README shows. On a host such as Fly.io, deploy the project there and set the same three values as secrets. One machine that sleeps when idle is enough, and keeps the cost low.
- Add it to Claude. In Claude, add a custom connector with the bridge's address, ending in
/mcp. Put the bridge password on the end:
https://your-bridge-address/mcp?token=YOUR_MCP_TOKEN
Notes
- Anyone who has that address can reach the space, so keep it private. To change the password, set a new
MCP_TOKEN on the bridge, then remove the connector in Claude and add it again with the new address.
- The bridge can read, search, create, edit and delete pages. It can't rename them; do that in SilverBullet, which also updates links.
- SilverBullet 2 has no search on the server, so the bridge searches the pages itself.
- A bridge that sleeps when idle is slow to answer the first request after a break.
- On Fly.io, add a card to the account. Without one, trial machines are stopped after a few minutes.