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 |
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 | |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Superlittlemy/image_mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server