Skip to main content
Glama
BillSJC
by BillSJC

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
SUB2API_API_KEYNo直接设置 API Key(与 SUB2API_API_KEY_FILE 二选一)
SUB2API_BASE_URLYesSub2API 基础 URL,例如 https://sub2api.example.com/v1
SUB2API_TIMEOUT_MSNo上游请求超时毫秒数600000
SUB2API_IMAGE_MODELNo图片模型gpt-image-2
SUB2API_API_KEY_FILENoAPI Key 文件路径(与 SUB2API_API_KEY 二选一)
SUB2API_IMAGE_OUTPUT_DIRNo图片输出目录(可选)
SUB2API_MAX_RESPONSE_BYTESNo上游响应体大小上限(字节)41943040
SUB2API_MAX_INPUT_IMAGE_BYTESNo单张参考图大小上限(字节)20971520

Capabilities

Server capabilities have not been inspected yet.

Tools

Functions exposed to the LLM to take actions

NameDescription

No tools

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

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