Back to MCP directory
publicPublicdnsLocal runtime

orshot-mcp-server

Orshot MCP Server是一个图像生成API服务,允许用户通过API从预设计或AI生成的模板动态生成图像,并支持在Claude、Cursor等应用中通过MCP服务器调用。

article

README

🚀 Orshot MCP 服务器

Orshot 是一个图像生成 API,它允许你通过 API 和集成预先设计和 AI 生成的模板 动态生成图像。

Orshot 的 MCP 服务器让你可以在 Claude、Cursor 或任何支持 MCP 服务器的应用程序中,根据你的提示从模板动态生成图像。

🚀 快速开始

🔑 获取 API 密钥

🖥️ Claude 桌面集成

将服务器添加到 claude_desktop_config.json 中的 Claude 桌面配置中:

{
  "mcpServers": {
    "orshot": {
      "command": "node", // 或 "which node" 的输出
      "args": ["/path/to/orshot-mcp-server/build/index.js"], // 更新路径
      "env": { "ORSHOT_API_KEY": "your-api-key" } // 添加 Orshot API 密钥
    }
  }
}

⚠️ 重要提示

如果你使用 nvm 等库,有时 node 的路径会不同,只需运行 "which node" 并将输出作为 "command" 的值粘贴。

💻 使用示例

以下是一些你可以与 Orshot 的 MCP 服务器一起使用的示例提示:

  • 使用 ID 为 64 的工作室模板和这张图片 https://example.com/logo.png 生成一个模型。
  • 使用 Orshot 生成 github.com 的网站截图。
  • 使用 Orshot 从 “广告横幅” 工作室模板生成图像,标题为 “发展你的业务”,副标题为 “立即获取你的电子书”。
  • 列出 Orshot 中的所有工作室模板。
  • 使用 Orshot 生成这条推文的截图 https://x.com/TheCatsX/status/1941620988279652599

✨ 主要特性

这个 MCP 服务器提供了七个与 Orshot 配合使用的工具:

模板发现

  1. 获取库模板 - 列出你账户的所有可用库模板。
  2. 获取工作室模板 - 列出你账户的所有可用工作室模板。

图像生成

  1. 生成图像 - 具有自动模板检测功能的统一工具(推荐)。
  2. 从库模板生成图像 - 从 Orshot 库模板生成图像。
  3. 从工作室模板生成图像 - 从 Orshot 工作室模板生成图像。

专业工具

  1. 检查 API 状态 - 测试 API 连接并验证你的 API 密钥。

📦 安装指南

本地开发

# 1. 安装并构建
npm install && npm run build

# 2. 配置(必需)
export ORSHOT_API_KEY="your-api-key-here"

# 3. 运行生产服务器
npm start

开发环境

# 安装依赖
npm install

# 构建项目
npm run build

# 在开发模式下运行
npm run dev

📄 许可证

ISC

help

Runtime guide

cloud

Hosted runtime

Hosted servers run from a provider-managed environment. You usually connect the MCP client to the hosted endpoint or follow the provider's authorization flow, without keeping a local process alive

  1. Open provider connection page
  2. Authorize or copy endpoint
  3. Connect from your MCP client
terminal

Local runtime / other methods

Local servers run on your own machine or infrastructure. You normally copy the server_config into your MCP client, install the required package, and provide env variables from env_schema when needed

  1. Copy server_config
  2. Install required package
  3. Fill env variables and restart client