nai-mcp
by hello2565
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| NAI_TOKEN | Yes | NovelAI 令牌(必需)。NovelAI 持久令牌(`pst-` 开头,账户设置 → API 令牌创建),或短期用户访问令牌。 | |
| NAI_TAG_DB | No | tag 词库路径。server 通过 env `NAI_TAG_DB` 指词库(默认项目根 `tag_vectors.db`)。 | tag_vectors.db |
| NAI_EMBEDDING_URL | No | embeddings 端点(server 与填充脚本共用)。配置 embeddings 后自动启用余弦语义检索。 | |
| NAI_EMBEDDING_MODEL | No | embeddings 模型名(server 与填充脚本共用)。 | |
| NAI_MCP_WORKFLOW_DIR | No | 工作流目录。工作流存储为 `nai_mcp/workflows/<name>.json`(env `NAI_MCP_WORKFLOW_DIR` 可改目录)。 | nai_mcp/workflows/ |
| NAI_EMBEDDING_API_KEY | No | embeddings 端点的可选 API key(server 与填充脚本共用)。 | |
| NAI_EMBED_CONCURRENCY | No | 填充性能调优:并发数。 | 4 |
| NAI_EMBED_BATCH_TOKENS | No | 填充性能调优:请求打满模型 token 上限的批大小(默认 32k 输入模型 24000)。 | 24000 |
| NAI_EMBED_CHARS_PER_TOKEN | No | 填充性能调优:每 token 字符数估算。 | 1.0 |
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