# Smithery configuration file: https://smithery.ai/docs/config#smitheryyaml
startCommand:
type: stdio
configSchema:
# JSON Schema defining the configuration options for the MCP.
type: object
required:
- siyuanToken
properties:
siyuanToken:
type: string
description: The API token for SiYuan. (Required)
siyuanApiUrl:
type: string
default: http://localhost:6806
description: The SiYuan API URL.
commandFunction:
# A JS function that produces the CLI command based on the given config to start the MCP on stdio.
|-
(config) => ({
command: 'node',
args: ['dist/server.js'],
env: {
SIYUAN_TOKEN: config.siyuanToken,
SIYUAN_API_URL: config.siyuanApiUrl
}
})
exampleConfig:
siyuanToken: your_token_here
siyuanApiUrl: http://localhost:6806
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/onigeya/siyuan-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server