Skip to main content
Glama
remixu1994
by remixu1994

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
HOSTNoServer listen address; only for local testing can use 127.0.0.1.0.0.0.0
PORTNoServer listen port, range 1-65535.8080
NODE_ENVNodevelopment, test, or production.production
AUTH_MODENoAuthentication mode: 'fixed' or 'oauth'.fixed
OAUTH_SCOPESNoSpace-separated available scopes, default 'siyuan.read siyuan.write'.siyuan.read siyuan.write
SIYUAN_TOKENYesSiYuan API token body; do not add 'Token ' or 'token ' prefix.
MCP_PUBLIC_URLNoMCP service public HTTPS base URL, e.g., https://mcp.example.com.
OAUTH_AUDIENCENoJWT must contain this audience.
OAUTH_JWKS_URLNoJWT public key set URL; default is <issuer>/.well-known/jwks.json.
MCP_FIXED_TOKENNoMCP client fixed token, at least 16 characters. Do not add 'Bearer '.
SIYUAN_BASE_URLYesSiYuan service base URL, e.g., http://127.0.0.1:6806.
OAUTH_ISSUER_URLNoOAuth Provider issuer, must match JWT iss exactly.
SIYUAN_TIMEOUT_MSNoSingle SiYuan API request timeout, range 100-120000 ms.20000
SIYUAN_READ_RETRIESNoRetry count for read requests on temporary errors, range 0-5.2

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

NameDescription

No tools

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources