Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| PORT | No | 服务器端口 | 9088 |
| NODE_ENV | No | 运行环境 | development |
| LOG_LEVEL | No | 日志级别 (debug, info, warn, error) | info |
| SERVER_NAME | No | 服务器名称 | mcp-server |
| MAX_SESSIONS | No | 最大会话数 | 100 |
| SERVER_VERSION | No | 服务器版本 | 1.0.0 |
| ALLOWED_ORIGINS | No | 允许的CORS源 | * |
| SESSION_TIMEOUT | No | 会话超时时间(ms) | 300000 |
Schema
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
No tools | |