sub2api-imagegen-mcp
by BillSJC
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| SUB2API_API_KEY | No | 直接设置 API Key(与 SUB2API_API_KEY_FILE 二选一) | |
| SUB2API_BASE_URL | Yes | Sub2API 基础 URL,例如 https://sub2api.example.com/v1 | |
| SUB2API_TIMEOUT_MS | No | 上游请求超时毫秒数 | 600000 |
| SUB2API_IMAGE_MODEL | No | 图片模型 | gpt-image-2 |
| SUB2API_API_KEY_FILE | No | API Key 文件路径(与 SUB2API_API_KEY 二选一) | |
| SUB2API_IMAGE_OUTPUT_DIR | No | 图片输出目录(可选) | |
| SUB2API_MAX_RESPONSE_BYTES | No | 上游响应体大小上限(字节) | 41943040 |
| SUB2API_MAX_INPUT_IMAGE_BYTES | No | 单张参考图大小上限(字节) | 20971520 |
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/BillSJC/sub2api-imagegen-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server