SilverBullet MCP Server
Enables LLMs to interact with SilverBullet notes and data through a bridge server. Provides secure access to read and manipulate your SilverBullet space via standardized MCP tools and resources.
README
SilverBullet MCP Server
This project provides a Model Context Protocol (MCP) server that acts as a bridge to your SilverBullet instance. It enables Large Language Models (LLMs) and other MCP-compatible clients to interact with your SilverBullet notes and data by exposing them through standardized MCP tools and resources.
The server is designed to be run via Docker Compose alongside your existing SilverBullet Docker container. It handles authentication and provides a secure way for external applications to access and manipulate your SilverBullet space.

Asking Claude to create a retirement projection, based on my notes.
Prerequisites
- Docker
- Docker Compose
Getting Started
-
Clone the repository:
git clone <repository-url> cd <repository-name> -
Create an environment file: Copy the contents of
.env.exampleto a new file named.env.cp .env.example .envUpdate the
.envfile with your specific values:SB_AUTH_TOKEN: A secure token for SilverBullet to authenticate with this MCP server and for this MCP server to authenticate with SilverBullet.MCP_TOKEN: A secure token for clients (e.g., your AI model) to authenticate with this MCP server.SB_API_BASE_URL: (Optional if running via docker-compose as defined) The base URL for the SilverBullet API. Defaults tohttp://silverbullet:3000in thedocker-compose.yml.PORT: (Optional if running via docker-compose as defined) The port the MCP server will listen on. Defaults to4000.
-
Build and run the services using Docker Compose:
docker-compose up --buildThis command will:
- Build the Docker image for the
silverbullet-mcp-serverif it doesn't exist or ifDockerfileor related files have changed. - Pull the latest
silverbulletmd/silverbulletimage. - Start both the SilverBullet instance and the MCP server.
The SilverBullet instance will be accessible at
http://localhost:3000. The MCP server will be accessible athttp://localhost:4000. - Build the Docker image for the
Connecting to the MCP Server
This MCP server runs as part of a Docker Compose setup and will be accessible at http://localhost:4000 by default.
You can connect to this server using an MCP client. The method of connection and authentication depends on the client's capabilities.
Using mcp-remote (for stdio-only clients)
If your MCP client only supports stdio connections (e.g., older versions of Claude Desktop, Cursor, Windsurf), you can use mcp-remote to bridge the connection to this HTTP-based MCP server.
mcp-remote acts as a local stdio MCP server that proxies requests to a remote HTTP MCP server, handling authentication in the process.
Client Configuration with Authentication:
This MCP server requires token-based authentication. Configure your MCP client (e.g., in claude_desktop_config.json, ~/.cursor/mcp.json, or ~/.codeium/windsurf/mcp_config.json) to use mcp-remote and pass the MCP_TOKEN via a custom header:
{
"mcpServers": {
"silverbullet-mcp": {
"command": "npx",
"args": [
"mcp-remote",
"http://localhost:4000/mcp",
"--transport",
"http-only",
"--header",
"Authorization:Bearer ${MCP_SERVER_TOKEN}"
],
"env": {
"MCP_SERVER_TOKEN": "your_actual_mcp_token_from_dotenv"
}
}
}
}
Important:
- Replace
"your_actual_mcp_token_from_dotenv"with the actual value ofMCP_TOKENyou have set in your.envfile for thesilverbullet-mcp-server. - Some clients (like Cursor and Claude Desktop on Windows) have issues with spaces in
args. The example above (Authorization:Bearer ${MCP_SERVER_TOKEN}) avoids this. - Ensure
npxcan findmcp-remote. You might need to add-yas the first argument toargs(e.g.,["-y", "mcp-remote", ...]) or installmcp-remoteglobally (npm install -g mcp-remote).
Refer to the mcp-remote documentation for more advanced configurations, including OAuth support (not used by this server's default auth), different transport strategies, and troubleshooting.
Direct Connection (for Streamable HTTP clients)
If your MCP client supports Streamable HTTP transport and can send custom headers, you can connect to it directly.
The server supports two methods for token-based authentication:
-
Authorization Header (Recommended):
- Header Name:
Authorization - Header Value:
Bearer YOUR_MCP_TOKEN
- Header Name:
-
Query Parameter:
- Append
?token=YOUR_MCP_TOKENto the server URL. - Example:
http://localhost:4000/mcp?token=YOUR_MCP_TOKEN
- Append
Replace YOUR_MCP_TOKEN with the actual value of the MCP_TOKEN environment variable set in your .env file.
Endpoint: http://localhost:4000/mcp (or as configured by PORT if not using Docker Compose defaults).
Consult your MCP client's documentation on how to configure connections to remote HTTP MCP servers, including how to send custom headers or append query parameters.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.