Skip to main content
Glama
yinxianwei
by yinxianwei

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MCP_HOSTNo监听地址(主机)127.0.0.1
MCP_PATHNoMCP 端点路径/mcp
MCP_PORTNo监听地址(端口)8765
MCP_TOKENYesURL token,≥32 字符(必填,使用 openssl rand -hex 32 生成)
MCP_DB_PATHNooutbox 数据库路径./data/weknora-writes.db
MCP_LOG_LEVELNo日志级别info
WEKNORA_API_KEYYesWeKnora 凭证(必填)
MCP_MAX_ATTEMPTSNo连续失败上限(≈10 分钟)20
MCP_POST_TIMEOUTNo单次推送超时(秒)10
WEKNORA_BASE_URLNoWeKnora API 地址https://weknora.weixin.qq.com/api/v1
MCP_ALLOWED_HOSTSNo逗号分隔的 Host 白名单;空=关闭校验
MCP_JSON_RESPONSENoPOST 回 JSON(推荐)而非 SSE 流true
MCP_RETRY_INTERVALNo重推间隔(秒)30
MCP_MAX_CONTENT_CHARSNo正文长度上限100000
WEKNORA_DEFAULT_KB_IDYes唯一目标知识库(必填)

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