Exposes silverbullet-ai tools from a SilverBullet space to MCP clients
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add silverbullet-ai --env SB_URL='<SB_URL>' --env SB_AUTH_TOKEN='<SB_AUTH_TOKEN>' -- npx -y silverbullet-ai-mcp~/.codex/config.toml
[mcp_servers.silverbullet-ai]
command = "npx"
args = ["-y", "silverbullet-ai-mcp"]
env = { SB_URL = "<SB_URL>", SB_AUTH_TOKEN = "<SB_AUTH_TOKEN>" }
# codex mcp add silverbullet-ai --env SB_URL='<SB_URL>' --env SB_AUTH_TOKEN='<SB_AUTH_TOKEN>' -- npx -y silverbullet-ai-mcp~/.cursor/mcp.json
{
"mcpServers": {
"silverbullet-ai": {
"command": "npx",
"args": [
"-y",
"silverbullet-ai-mcp"
],
"env": {
"SB_URL": "<SB_URL>",
"SB_AUTH_TOKEN": "<SB_AUTH_TOKEN>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"silverbullet-ai": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"silverbullet-ai-mcp"
],
"env": {
"SB_URL": "<SB_URL>",
"SB_AUTH_TOKEN": "<SB_AUTH_TOKEN>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"silverbullet-ai": {
"command": "npx",
"args": [
"-y",
"silverbullet-ai-mcp"
],
"env": {
"SB_URL": "<SB_URL>",
"SB_AUTH_TOKEN": "<SB_AUTH_TOKEN>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"silverbullet-ai": {
"command": "npx",
"args": [
"-y",
"silverbullet-ai-mcp"
],
"env": {
"SB_URL": "<SB_URL>",
"SB_AUTH_TOKEN": "<SB_AUTH_TOKEN>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"silverbullet-ai": {
"command": "npx",
"args": [
"-y",
"silverbullet-ai-mcp"
],
"env": {
"SB_URL": "<SB_URL>",
"SB_AUTH_TOKEN": "<SB_AUTH_TOKEN>"
}
}
}
}Environment variables
SB_URLSB_AUTH_TOKEN
Replace the placeholders with your own credentials and keep them out of version control.