silverbullet-mcp
by finestream
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| PORT | No | The listening port. | 4000 |
| SB_URL | No | The SilverBullet instance URL; spaces are addressed as /<space> below it. | http://silverbullet:3000 |
| MCP_SPACES | No | The spaces to guard, comma-separated. | all the scan user can see |
| MCP_LOG_LEVEL | No | Log level: info or debug; the log is JSON lines on stdout. | info |
| MCP_SCAN_MODE | No | Scan mode: report or quarantine. | report |
| MCP_SCAN_USER | No | The technical user of the scan: the credentials-file line that holds its token. | scan |
| MCP_CONFIG_DIR | No | Where the access list, the allowlist and the allowed-files list are, unless given one by one. | /etc/silverbullet-mcp |
| MCP_FILE_TYPES | No | The file types the server writes. | .md |
| MCP_INDEX_WAIT | No | How long a render waits for the runtime's index to hold a page written through the server before it reboots the runtime. | 5s |
| MCP_RATE_LIMIT | No | Tool calls per user and minute; 0 for none. | 120 |
| MCP_REPORT_PAGE | No | The report page, written at the top level of every guarded space. | MCP Server |
| MCP_OAUTH_ISSUER | No | OAuth issuer; set together with MCP_OAUTH_RESOURCE to verify OAuth access tokens beside static bearers. | none |
| MCP_OAUTH_SCOPES | No | Which scopes a token must carry. | none |
| MCP_CF_ACCESS_AUD | No | Cloudflare Access application AUD tag; set together with MCP_CF_ACCESS_TEAM_DOMAIN. | none |
| MCP_SCAN_INTERVAL | No | Time between scans (0: at start and on SIGHUP only). | 15m |
| MCP_ALLOWLIST_FILE | No | Path to the allowlist file: the functions a page may call. | $MCP_CONFIG_DIR/allowlist |
| MCP_OAUTH_JWKS_URL | No | Where the issuer's keys are. | from the issuer |
| MCP_OAUTH_RESOURCE | No | OAuth resource URL; set together with MCP_OAUTH_ISSUER. | none |
| MCP_RENDER_TIMEOUT | No | The most a render-note or screenshot-note call may take, queue and index wait included. | 90s |
| MCP_RENDER_PARALLEL | No | Runtime API calls in flight at once, over all users and spaces. | 4 |
| MCP_ACCESS_LIST_FILE | No | Path to the access list file: what each user or group may do per space and path. | $MCP_CONFIG_DIR/access-list |
| MCP_CREDENTIALS_FILE | No | Path to the credentials file (a secret): one line per SilverBullet user with API token, default space, groups, bearer hashes and, optionally, Cloudflare Access e-mail addresses. | /run/secrets/credentials |
| MCP_OAUTH_USER_CLAIM | No | Which claim names the user. | preferred_username |
| MCP_ALLOWED_FILES_FILE | No | Path to the optional allowed-files list: non-page files the scan may ignore. | $MCP_CONFIG_DIR/allowed-files |
| MCP_CF_ACCESS_TEAM_DOMAIN | No | Cloudflare Access team domain; set together with MCP_CF_ACCESS_AUD to authenticate requests that came through Cloudflare Access. | none |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Server capabilities have not been inspected yet.
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
No tools | |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
This server cannot be deployed
Maintenance
ActivityMaintained
ResponsivenessNo recent community issues