labnana-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| LABNANA_API_KEY | Yes | Labnana API key. |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| get_subscriptionA | 获取当前 API Key 账户的订阅状态、可用积分(月度/永久/限时)、免费额度(freeUsages)与重置时间。对应 GET /openapi/v1/user/subscription。 |
| estimate_creditsA | 根据 provider、模型、尺寸、宽高比等参数预估生成图片所需的积分。同步返回,不实际生成图片、不扣除积分。对应 POST /openapi/v1/images/generation/estimate-credits。 |
| generate_imageA | 同步生成图片,直接返回 base64 图片数据与生成元数据。支持 Gemini 系列、GPT-Image-2、Wan2.7、Seedream 5.0 Pro。可传参考图片(fileUri 或 base64 inlineData)做图生图、改图。对应 POST /openapi/v1/images/generation。注意:同步接口返回体积大,4K 图片建议改用 generate_image_async。 |
| generate_image_asyncA | 创建图片生成任务并立即返回 taskId,不阻塞等待。任务成功后图片为公开链接,可用 get_generation_task 查询详情,或用 wait_for_generation_task 等待完成。适合大图、批量生成。对应 POST /openapi/v1/images/generation/async。 |
| list_generation_tasksA | 按创建时间倒序返回当前 API Key 用户的图片生成任务列表。对应 GET /openapi/v1/images/generation/tasks。 |
| get_generation_taskA | 查询图片生成任务状态。任务成功后 images 字段为公开图片链接数组,可直接下载。对应 GET /openapi/v1/images/generation/tasks/{taskId}。 |
| wait_for_generation_taskA | 轮询等待异步生成任务完成(success / fail),返回公开图片链接或失败原因。适合在 generate_image_async 之后直接调用,避免手动多次轮询。 |
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/exoticknight/labnana-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server