Markitup Mcp Server

io.github.smythmyke由 GitHub 账号 smythmyke 发布v0.1.1更新于 Oct 24, 2026

MarkItUp AI image annotation and marketing-visual generator (variations, outpaint, bg-removal).

已验证STDIO仅桌面商业与电商媒体与设计

概览

AI 生成的概览

MarkItUp MCP 服务器让助手通过 MarkItUp API 把截图生成营销视觉图,并支持重新生成变体、扩图和去背景。

可以做什么
  • 查询账户的积分余额与订阅状态
  • 按所选模板、画幅比例和尺寸,从截图生成三张营销视觉变体,并返回文案与图片
  • 基于上一次生成结果重新生成单个变体,保持相同的标题与副标题
  • 将图片扩展到更大画布或不同画幅比例(AI 扩图)
  • 移除图片背景并返回透明 PNG
适用场景
适合让助手把产品截图转成营销或落地页视觉图、产出风格一致的多个变体、把图片改造成其他画幅比例,或直接在对话客户端里完成抠图。
运行要求
需要 MarkItUp 账户,以及从 MarkItUp 控制台获取的 API 密钥,通过环境变量 MARKITUP_API_KEY 提供。以 stdio 方式在本机运行,通常经 npx 启动,需要 Node.js 18 或更高版本(除非 MCP 客户端自带)。需要访问 MarkItUp API 的网络;可用 MARKITUP_API_BASE 覆盖接口地址。
安装前请注意
API 密钥是可计费的凭据:不要把 MARKITUP_API_KEY 提交到代码仓库,若泄露应立即吊销。生成、重新生成、扩图和去背景每次各消耗 1 个积分(去背景对有效的 Pro/Power 订阅用户免费),调用会消耗账户积分。源图片会发送到 MarkItUp 的 API,去背景由 Photoroom 的模型处理,请勿提交敏感截图。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Markitup Mcp Server,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

markitup-mcp-server

[npm version] [MCP Registry] [Glama] [smithery badge] [License: MIT]

MCP (Model Context Protocol) server for MarkItUp — AI-powered image annotation and marketing-visual generation. Lets Claude Code, Claude Desktop, Cursor, ChatGPT-with-MCP, and other MCP-compatible clients call MarkItUp directly.

Five tools available: markitup_credit_balance, markitup_generate, markitup_regen, markitup_extend, markitup_remove_background.

Prerequisites

  1. A MarkItUp account — sign up at https://markitup.app.
  2. A MarkItUp API key — generate one at https://markitup.app/dashboard.
  3. Node.js 18 or newer (only if installing locally; npx doesn't require a local Node.js if your MCP client bundles one).

Configure in Claude Code

Add to your MCP config (~/.claude/mcp.json or project-scoped .mcp.json):

jsonc
{  "mcpServers": {    "markitup": {      "command": "npx",      "args": ["-y", "markitup-mcp-server"],      "env": {        "MARKITUP_API_KEY": "mk_live_..."      }    }  }}

Configure in Claude Desktop

Edit ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):

jsonc
{  "mcpServers": {    "markitup": {      "command": "npx",      "args": ["-y", "markitup-mcp-server"],      "env": {        "MARKITUP_API_KEY": "mk_live_..."      }    }  }}

Configure in Cursor

Cursor uses the same JSON shape. Settings → MCP → Add Server:

jsonc
{  "mcpServers": {    "markitup": {      "command": "npx",      "args": ["-y", "markitup-mcp-server"],      "env": { "MARKITUP_API_KEY": "mk_live_..." }    }  }}

Tools

markitup_credit_balance

Returns the current credit balance and subscription status.

No arguments. Use it to verify your API key works and to check credits before calling generation tools.

markitup_generate

Generates 3 polished marketing-visual variations from a screenshot. Costs 1 credit.

ArgumentTypeRequiredDescription
descriptionstringyesWhat the image shows and what to highlight
template_idstringyesOne of glassmorphic, clean_minimal, bold_marketing, dark_professional, documentation (and more)
image_urlstringone-ofPublic HTTPS URL of the source image
image_base64stringone-ofBase64-encoded image bytes (no data: prefix)
image_mime_typestringnoMIME type when supplying image_base64. Default: image/png
aspect_ratiostringnoOne of 1:1, 3:2, 2:3, 3:4, 4:3, 4:5, 5:4, 9:16, 16:9, 21:9
image_sizestringno1K, 2K, or 4K

Returns: the marketing copy (headline, sub-headline) plus 3 generated image variations as base64 image content blocks. The full structured response is also available under structuredContent.

Example prompt (in Claude Code):

Use markitup_generate with the screenshot at https://example.com/dashboard.png — highlight the export button and pitch it for a marketing landing page using the bold_marketing template.

markitup_regen

Regenerate one variation from a previous markitup_generate call. Costs 1 credit by default (charge_credit: false to skip).

The LLM must pass back the text_analysis object from the previous generate's structuredContent.text so the regenerated visual stays on-brand with the same headline / sub-headline. variation_index selects which slot (0–2).

markitup_extend

AI outpaint — extend an image to a larger canvas / different aspect ratio. Costs 1 credit.

ArgumentTypeRequiredDescription
image_url / image_base64stringone-ofSource image
aspect_ratiostringyesTarget ratio (16:9, 9:16, etc.)
target_width / target_heightnumberyesOutput pixel dimensions
image_sizestringno1K, 2K, or 4K

markitup_remove_background

Remove the background from an image via Photoroom's HD model. Returns a transparent PNG. Costs 1 credit (free for active Pro/Power subscribers).

ArgumentTypeRequiredDescription
image_url / image_base64stringone-ofSource image

Environment variables

VarRequiredDescription
MARKITUP_API_KEYyesAPI key from your MarkItUp dashboard
MARKITUP_API_BASEnoOverride the API base URL. Default: https://markitup.app/api/v1. Useful for testing against staging.

Local development

bash
git clone https://github.com/markitup/mcp-server.gitcd mcp-servernpm installnpm run build
# Point your MCP client config at the local build:{  "command": "node",  "args": ["/absolute/path/to/mcp-server/dist/index.js"],  "env": { "MARKITUP_API_KEY": "mk_test_..." }}

Security

  • Never commit MARKITUP_API_KEY to source control.
  • If you accidentally expose a key, revoke it immediately at https://markitup.app/dashboard and create a new one.
  • Keys are SHA-256 hashed on the server; the raw key is shown only once at creation.

Errors

The server surfaces clean human-readable errors for the common cases:

  • Invalid or missing MARKITUP_API_KEY — set or rotate the key.
  • Out of MarkItUp credits — top up at https://markitup.app/credits.
  • Rate limit exceeded — wait briefly and retry.

License

MIT

来源:README.md,提交 a8d88fd

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v0.1.1最新Sep 16, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分