CPA Image MCP
by Bing2000me
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| PORT | No | Local listening port; also update the tunnel origin if changed. | 8787 |
| TZ_NAME | No | Time zone for date grouping and daily quota. | Asia/Shanghai |
| CPA_BASE | No | Base URL of CPA on the same VPS; adjust the port as needed. | http://127.0.0.1:8317/v1 |
| IMAGE_DIR | No | Data directory, used with systemd's StateDirectory. | /var/lib/cpa-image-mcp/images |
| MCP_TOKEN | No | Request-header authentication; at least 24 characters using letters, digits, `_`, or `-`. Randomly generated by the installer. | |
| MCP_SECRET | No | Optional secret path segment; usually unnecessary. | |
| PREVIEW_PX | No | Maximum preview side length. | 512 |
| CPA_API_KEY | Yes | API credential for your own CPA instance (Required). | |
| DAILY_LIMIT | No | Maximum daily generation/editing calls; deleting images does not restore quota. | 40 |
| IMAGE_MODEL | No | Backend image model. | gpt-image-2 |
| PUBLIC_HOST | Yes | Public HTTPS hostname, without a scheme or path. Replace the example. | |
| DOWNLOAD_TTL_HOURS | No | Link validity in hours; a positive integer. | 72 |
| DOWNLOAD_SIGNING_KEY | No | HMAC signing key, at least 32 characters; changing it invalidates existing links. Independently generated by the installer. | |
| IMAGE_RETENTION_DAYS | No | Image retention in days; a positive integer. | 3 |
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