tai-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| MCP_HOST | No | 监听地址 | 0.0.0.0 |
| MCP_PORT | No | 监听端口 | 8001 |
| MCP_API_KEY | No | MCP 客户端 Bearer Token;公网部署必须设置 | |
| TAI_IMAGE_MODEL | No | generate_image 的默认模型 | tai-text-to-image |
| MCP_CORS_ORIGINS | No | 浏览器客户端的精确 Origin,逗号分隔 | |
| MCP_MAX_IMAGE_BYTES | No | 允许回传的最大解码图片大小 | 20971520 |
| TAI_OPENAPI_API_KEY | Yes | 上游 tai-openapi 原始 Bearer Token,必填 | |
| TAI_IMAGE_EDIT_MODEL | No | edit_image 的默认模型 | tai-image-to-image |
| TAI_OPENAPI_BASE_URL | No | 上游地址,必须以 /v1 结尾 | http://127.0.0.1:8000/v1 |
| MCP_CONNECT_TIMEOUT_SECONDS | No | 上游连接超时 | 10 |
| MCP_REQUEST_TIMEOUT_SECONDS | No | 包含生图时间的上游总超时 | 330 |
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
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| generate_imageA | Generate one image from a text prompt. Args: prompt: Detailed text description of the image to create. size: Optional WIDTHxHEIGHT accepted by the selected tai-openapi model. seed: Optional deterministic seed in the range 0..4294967295. model: Optional model alias; defaults to tai-text-to-image. response_format: Image response format: "url" or "b64_json" |
| edit_imageA | Edit an image through a tai-openapi edit model. Args: prompt: Edit instruction. The field is required; models that ignore it accept "". images: Ordered PNG, JPEG, or WebP inputs as base64 strings or data URLs. size: Optional WIDTHxHEIGHT; only pass it when capabilities input.size is true. model: Optional edit model alias; defaults to TAI_IMAGE_EDIT_MODEL. mask: Optional PNG, JPEG, or WebP mask as base64 or a data URL. Follow the capabilities input.mask policy. response_format: Image response format: "url" or "b64_json". parameters: Model-specific JSON values matching capabilities.parameters_schema. |
| get_image_model_capabilitiesA | Describe the exact inputs accepted by one enabled image edit model. The result includes the required image count, mask policy, size support, prompt requirement, JSON Schema for parameters, and a parameters example. Args: model: Enabled tai-openapi edit model alias to inspect. |
| list_image_modelsA | List model aliases currently exposed by tai-openapi. |
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/iat-tai/tai-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server