siyuan-mcp
by remixu1994
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| HOST | No | Server listen address; only for local testing can use 127.0.0.1. | 0.0.0.0 |
| PORT | No | Server listen port, range 1-65535. | 8080 |
| NODE_ENV | No | development, test, or production. | production |
| AUTH_MODE | No | Authentication mode: 'fixed' or 'oauth'. | fixed |
| OAUTH_SCOPES | No | Space-separated available scopes, default 'siyuan.read siyuan.write'. | siyuan.read siyuan.write |
| SIYUAN_TOKEN | Yes | SiYuan API token body; do not add 'Token ' or 'token ' prefix. | |
| MCP_PUBLIC_URL | No | MCP service public HTTPS base URL, e.g., https://mcp.example.com. | |
| OAUTH_AUDIENCE | No | JWT must contain this audience. | |
| OAUTH_JWKS_URL | No | JWT public key set URL; default is <issuer>/.well-known/jwks.json. | |
| MCP_FIXED_TOKEN | No | MCP client fixed token, at least 16 characters. Do not add 'Bearer '. | |
| SIYUAN_BASE_URL | Yes | SiYuan service base URL, e.g., http://127.0.0.1:6806. | |
| OAUTH_ISSUER_URL | No | OAuth Provider issuer, must match JWT iss exactly. | |
| SIYUAN_TIMEOUT_MS | No | Single SiYuan API request timeout, range 100-120000 ms. | 20000 |
| SIYUAN_READ_RETRIES | No | Retry 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
| 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 | |