mcp-cogview
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| HOST | No | Listening address | 127.0.0.1 |
| PORT | No | Listening port | 3000 |
| MCP_NAME | No | Service identifier reported in initialize | mcp-cogview |
| MCP_PATH | No | Streamable HTTP endpoint | /mcp |
| LOG_LEVEL | No | Log level: debug/info/warn/error | info |
| GLM_API_KEY | No | Alias for ZHIPU_API_KEY | |
| MCP_VERSION | No | Service version | 0.1.0 |
| COGVIEW_MOCK | No | Enable mock mode; automatically true if no API key set | |
| COGVIEW_SIZE | No | Default size | 1024x1024 |
| COGVIEW_MODEL | No | Default model | cogview-3-plus |
| MCP_LIVE_PATH | No | Liveness probe path | /live |
| MCP_STATELESS | No | Stateless mode (each request gets an independent server) | false |
| ZHIPU_API_KEY | No | Zhipu API Key (also accepts GLM_API_KEY / COGVIEW_API_KEY) | |
| COGVIEW_API_KEY | No | Alias for ZHIPU_API_KEY | |
| COGVIEW_ENDPOINT | No | Text-to-image API endpoint | https://open.bigmodel.cn/api/paas/v4/images/generations |
| MCP_ALLOWED_ORIGINS | No | Comma-separated origin whitelist; enables DNS rebinding protection if set | |
| MCP_SESSION_IDLE_MS | No | Session idle reclamation threshold, 0 means no reclamation | 600000 |
| COGVIEW_POLL_TIMEOUT_MS | No | Async task maximum wait time | 120000 |
| COGVIEW_RESPONSE_FORMAT | No | Default response format | url |
| COGVIEW_POLL_INTERVAL_MS | No | Async task polling interval | 2000 |
| COGVIEW_REQUEST_TIMEOUT_MS | No | Single HTTP request timeout | 60000 |
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
ActivitySlowing
ResponsivenessNo issues