Skip to content
MCP server
Registry

ModelFold MCP Server

Discover ModelFold models, run chat and image generation, and check account balances.

ModelFold scores 66 (Good), licensed MIT and written in TypeScript. It installs as a local process. It declares 3 tools. Filed under Design, Media. GitHub shows 0 stars. Package registries report about 413 downloads a week. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.

by aimodelfoldMITTypeScript0 stars
Trust score
66Good
Trust score 66 of 100, Good

Good trust

66 of 100 from six public signals. Nobody can buy a point.

  • Listed in the official MCP registry.
  • OSI-style license: mit.
How we score trust
Scorecard

License, quality and maintenance

How grades work
Trust breakdown

Where the 66 comes from

22 + 20 + 0 + 10 + 4 + 10 = 66. Each factor is capped, so no single signal can carry a listing.

Registry22 / 30

Active in the official MCP registry, plus a known vendor namespace.

Registry: 22 of 30 points.
Maintenance20 / 20

How recently the repository saw a commit or release.

Maintenance: 20 of 20 points.
Popularity0 / 20

GitHub stars and weekly downloads, on a log scale.

Popularity: 0 of 20 points.
License10 / 10

A clear, OSI-style open-source license.

License: 10 of 10 points.
Security4 / 10

Not archived, a secure install path, a pinned version.

Security: 4 of 10 points.
Docs10 / 10

A real summary, a README with depth, listed tools.

Docs: 10 of 10 points.

Install

Pick your client, copy the config, paste it in.

Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.

~/Library/Application Support/Claude/claude_desktop_config.json
{  "mcpServers": {    "aimodelfold-modelfold-mcp": {      "command": "npx",      "args": [        "-y",        "modelfold-mcp@0.1.0"      ],      "env": {        "MODELFOLD_API_KEY": "YOUR_MODELFOLD_API_KEY"      }    }  }}

Environment variables

NameRequiredNotes
MODELFOLD_API_KEYSecretRequiredModelFold API key used for the local MCP server.

Tools3Tool docs quality grade B

All capabilities
  • Generate images from model and prompt; returns URLs.

  • Read account credits, subscription and key quota.

  • List models; filter by type (e.g. chat, image) and vendor (e.g. OpenAI, Google).

About

ModelFold MCP / ModelFold MCP 服务

Use ModelFold's OpenAI-compatible API from an MCP client. This MIT-licensed server runs locally over stdio.

通过 MCP 客户端使用 ModelFold 的 OpenAI 兼容 API。服务采用 MIT 许可,在本机通过 stdio 运行。

Tools / 工具

ToolEnglish中文
list_modelsList models; filter by type (e.g. chat, image) and vendor (e.g. OpenAI, Google).列模型,可按类型和模型厂商筛选。
chatGenerate a text reply from a model ID and messages.指定模型和消息,生成文本回复。
generate_imageGenerate images from model and prompt; returns URLs.按模型和提示词生成图片,返回 URL。
get_balanceRead account credits, subscription and key quota.查询账户积分、订阅额度及 API Key 额度。

Chat and image calls are billed. See current pricing and approve billed calls only when intended. No automatic retries for billed requests.

对话和图片生成会扣费,见当前价格。请按需审批调用,服务不会自动重试扣费请求。

Install / 安装

Requires Node.js 20+ and a ModelFold API key. The npm package is not published yet; install from GitHub now:

需要 Node.js 20+ 和 ModelFold API Key。npm 包尚未发布,可先从 GitHub 安装:

git clone https://github.com/AIModelFold/modelfold-mcp.git
cd modelfold-mcp
npm ci
npm run build

In the examples, use the absolute path to Node (command -v node on macOS/Linux), the absolute checkout path, and your own key. Keep the key out of Git; use your client's secret store if available. After npm publication, the command and arguments can instead be npx and ["-y", "modelfold-mcp@0.1.0"].

下面请替换为 Node 的绝对路径(macOS/Linux 可运行 command -v node)、仓库的绝对路径和自己的 Key。不要提交密钥;客户端支持密钥管理时优先使用。npm 发布后,也可以把命令和参数改成 npx 和 ["-y", "modelfold-mcp@0.1.0"]。

Claude Desktop

Open Settings → Developer → Edit Config, merge the example below into claude_desktop_config.json, then restart Claude Desktop.

打开 Settings → Developer → Edit Config,把下方配置合并进 claude_desktop_config.json,再重启 Claude Desktop。

{
  "mcpServers": {
    "modelfold": {
      "command": "/absolute/path/to/node",
      "args": ["/absolute/path/to/modelfold-mcp/dist/index.js"],
      "env": { "MODELFOLD_API_KEY": "YOUR_MODELFOLD_API_KEY" }
    }
  }
}

Claude Code

Set MODELFOLD_API_KEY in the environment used to launch Claude Code. In a POSIX shell, run the following. The single quotes preserve Claude Code's environment variable reference in the stored config. Check with claude mcp list.

请先在启动 Claude Code 的环境中设置 MODELFOLD_API_KEY。在 POSIX shell 中执行下方命令,保留单引号以让 Claude Code 在运行时读取环境变量。用 claude mcp list 检查。

claude mcp add-json --scope user modelfold '{"type":"stdio","command":"/absolute/path/to/node","args":["/absolute/path/to/modelfold-mcp/dist/index.js"],"env":{"MODELFOLD_API_KEY":"${MODELFOLD_API_KEY}"}}'

Cursor

Save the Claude Desktop JSON example in ~/.cursor/mcp.json (global) or .cursor/mcp.json (project). For a project config, omit the secret from files you share. Verify under Cursor Settings → Tools & MCP.

将 Claude Desktop 的 JSON 示例保存到 ~/.cursor/mcp.json(全局)或 .cursor/mcp.json(项目)。不要把含密钥的项目配置共享出去。在 Cursor Settings → Tools & MCP 中检查。

Cline

Open MCP Servers → Configure MCP Servers and merge the Claude Desktop example into Cline's cline_mcp_settings.json. Keep auto-approval off for billed tools.

打开 MCP Servers → Configure MCP Servers,把 Claude Desktop 示例合并进 Cline 的 cline_mcp_settings.json。不要给扣费工具开启自动审批。

Python / Python SDK

See the Python SDK README for a local install and usage example. The modelfold PyPI distribution is not published yet.

本地安装与使用见 Python SDK 说明。PyPI 上的 modelfold 包尚未发布。

Verification / 验证

Run npm test for offline MCP tests. node test/live-smoke.mjs runs the stdio server against ModelFold with the dedicated test key at ~/.modelfold-keys/test.txt. It makes two read-only requests and one billed chat request; it does not generate images.

运行 npm test 做离线 MCP 测试。node test/live-smoke.mjs 用指定测试 Key 验证 stdio,执行两次只读查询和一次扣费对话,不生成图片。

Frequently asked questions

What is ModelFold MCP Server?

Discover ModelFold models, run chat and image generation, and check account balances.

How do I install ModelFold MCP Server in Claude Desktop, Cursor, or VS Code?

Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. ModelFold MCP Server runs locally from the npm package modelfold-mcp with the command npx -y modelfold-mcp@0.1.0.

Is ModelFold MCP Server free and open source?

Yes. ModelFold MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.

Does ModelFold MCP Server support remote (HTTP) connections?

No remote endpoint is listed for ModelFold MCP Server. It runs locally on your machine over stdio, started by your MCP client.

What tools does ModelFold MCP Server provide?

ModelFold MCP Server provides 3 tools: generate_image, get_balance, and list_models. See the full tool list for descriptions and parameters.

How is ModelFold MCP Server's trust score calculated?

ModelFold MCP Server scores 66 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.

Reviews

No reviews yet

—Be the first to review

5 star0 reviews at 5 stars
4 star0 reviews at 4 stars
3 star0 reviews at 3 stars
2 star0 reviews at 2 stars
1 star0 reviews at 1 stars

No published reviews yet. Used it? Tell the next person how it went.

Add badge to your README

Paste either snippet into the repository README. The image links to this listing.

Listed on MCPpedia

Top 5 MCP servers

Daily or weekly. Confirm by email, unsubscribe any time.

How often

Manage this listing

Claim this server