Skip to main content
Glama

mclans-image-mcp

异步生图 MCP Server — 提交即忘,图片自动下载到本地。

配置 MCP

Claude Code

编辑 ~/.claude/settings.json

{
  "mcpServers": {
    "mclans-image": {
      "command": "npx",
      "args": ["-y", "github:YupegLV/mclans-create-image-mcp"],
      "env": {
        "IMAGE_API_KEY": "sk-xxxxx"
      }
    }
  }
}

Claude Desktop

编辑配置文件:

  • Windows: %APPDATA%\Claude\claude_desktop_config.json

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "mclans-image": {
      "command": "npx",
      "args": ["-y", "github:YupegLV/mclans-create-image-mcp"],
      "env": {
        "IMAGE_API_KEY": "sk-xxxxx"
      }
    }
  }
}

Cursor / VS Code

在设置中搜索 MCP,添加服务器配置:

{
  "mcp": {
    "servers": {
      "mclans-image": {
        "command": "npx",
        "args": ["-y", "github:YupegLV/mclans-create-image-mcp"],
        "env": {
          "IMAGE_API_KEY": "sk-xxxxx"
        }
      }
    }
  }
}

API Key 配置说明

方式

说明

环境变量 IMAGE_API_KEY

推荐,在 MCP 配置的 env 中传入

命令行参数

args 中添加 --api-key=sk-xxxxx

配置文件

手动创建 ~/.mclans-image-mcp/config.json

首次通过环境变量或命令行参数启动后,配置会自动持久化到 ~/.mclans-image-mcp/config.json,后续无需重复配置。

如需自定义 API 地址,可添加环境变量 IMAGE_API_BASE_URL 或命令行参数 --api-base-url=https://your-api-url

Install Server
F
license - not found
A
quality
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

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/YupegLV/mclans-create-image-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server