weknora-mcp
by yinxianwei
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| MCP_HOST | No | 监听地址(主机) | 127.0.0.1 |
| MCP_PATH | No | MCP 端点路径 | /mcp |
| MCP_PORT | No | 监听地址(端口) | 8765 |
| MCP_TOKEN | Yes | URL token,≥32 字符(必填,使用 openssl rand -hex 32 生成) | |
| MCP_DB_PATH | No | outbox 数据库路径 | ./data/weknora-writes.db |
| MCP_LOG_LEVEL | No | 日志级别 | info |
| WEKNORA_API_KEY | Yes | WeKnora 凭证(必填) | |
| MCP_MAX_ATTEMPTS | No | 连续失败上限(≈10 分钟) | 20 |
| MCP_POST_TIMEOUT | No | 单次推送超时(秒) | 10 |
| WEKNORA_BASE_URL | No | WeKnora API 地址 | https://weknora.weixin.qq.com/api/v1 |
| MCP_ALLOWED_HOSTS | No | 逗号分隔的 Host 白名单;空=关闭校验 | |
| MCP_JSON_RESPONSE | No | POST 回 JSON(推荐)而非 SSE 流 | true |
| MCP_RETRY_INTERVAL | No | 重推间隔(秒) | 30 |
| MCP_MAX_CONTENT_CHARS | No | 正文长度上限 | 100000 |
| WEKNORA_DEFAULT_KB_ID | Yes | 唯一目标知识库(必填) |
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 issues