Provides a unified interface for accessing multiple AI model platforms including Volcengine Ark, Alibaba Bailian, MiniMax, and OpenAI.
Also known as hoobnn/modelbay, @modelbay/mcp
- Stars
- 0
- Tools
- —
- Downloads, 30 days
- —
- Latest version
- —
- Last commit
- Nov 13, 2026
- License
- MIT
What is Modelbay MCP?
Modelbay provides a unified interface for accessing multiple AI model platforms including Volcengine Ark, Alibaba Bailian, MiniMax, and OpenAI.
Summary generated from the project's README
About Modelbay MCP server
Accessing diverse AI models from Chinese and global providers through a single interface is what Modelbay enables for developers. It provides a unified way to interact with Volcengine Ark, Alibaba Bailian, MiniMax, Doubao Speech, and OpenAI. Users can perform tasks involving chat, image generation, video creation, speech, music, and transcription without switching between different vendor SDKs.
Developers can integrate this functionality into Claude Code, Codex, Cursor, or Claude Desktop by adding an MCP server via the command npx -y @modelbay/mcp followed by the specific platform name. The setup requires providing platform-specific API keys, such as ARK_API_KEY or OPENAI_API_KEY, through environment variables. The system handles the complexities of asynchronous job polling automatically, so you do not have to write manual polling loops for long-running generation tasks.
This tool is particularly useful for those who need to work across multiple platforms or want to expose various model capabilities as MCP tools. It uses a single TypeScript implementation to drive the SDK, CLI, and MCP servers, ensuring that model parameters and tool schemas remain consistent across all entry points.
What you can do with it
- 1Generate images across platformsRequest an image generation task using a specific model like Doubao Seedream.
- 2Verify API configurationsCheck if your platform API keys are correctly configured without exposing the actual secrets.
- 3List available model capabilitiesDiscover which specific AI functions like music or voice cloning are currently supported.
Written from the project's README. Every use case is checked against a quote from it.
How to install Modelbay MCP
Formats verified 10 Nov 2026Add to CursorAdd to GooseInstall Modelbay MCP in Claude Code
$ claude mcp add modelbay -- npx -y @modelbay/mcpInstall Modelbay MCP in Cursor
~/.cursor/mcp.json
{
"mcpServers": {
"modelbay": {
"command": "npx",
"args": [
"-y",
"@modelbay/mcp"
]
}
}
}Install Modelbay MCP in VS Code
.vscode/mcp.json
{
"servers": {
"modelbay": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelbay/mcp"
]
}
}
}Install Modelbay MCP in VS Code CLI
$ code --add-mcp '{"name":"modelbay","type":"stdio","command":"npx","args":["-y","@modelbay/mcp"]}'Install Modelbay MCP in Claude Desktop
claude_desktop_config.json
{
"mcpServers": {
"modelbay": {
"command": "npx",
"args": [
"-y",
"@modelbay/mcp"
]
}
}
}Install Modelbay MCP in Codex
$ codex mcp add modelbay -- npx -y @modelbay/mcpInstall Modelbay MCP in Codex config.toml
~/.codex/config.toml
[mcp_servers.modelbay] command = "npx" args = ["-y", "@modelbay/mcp"]
Install Modelbay MCP in Gemini CLI
$ gemini mcp add -s user modelbay npx -- -y @modelbay/mcpInstall Modelbay MCP in Gemini settings.json
~/.gemini/settings.json
{
"mcpServers": {
"modelbay": {
"command": "npx",
"args": [
"-y",
"@modelbay/mcp"
]
}
}
}Automated checks
Ran Nov 15, 2026Full report →Passed our automated checks. That is not a security audit: read the code and give the server the narrowest access it needs. How checks work
- Source repository linked and reachablehoobnn/modelbay is public and reachablegithub.com/hoobnn/modelbay ↗Pass
- Package names this repository as its source@modelbay/mcp names hoobnn/modelbay as sourcenpmjs.com/package/@modelbay/mcp ↗Pass
- Build provenance (Sigstore attestation)Sigstore attestation for @modelbay/mcpnpmjs.com/package/@modelbay/mcp/v/0.5.1#provenance ↗Pass
- Open source license (OSI)MITspdx.org/licenses/MIT.html ↗Pass
- Commit or release in the last yearLast commit or release 2026-11-13github.com/hoobnn/modelbay ↗Pass
- OpenSSF ScorecardNot checked
- Package name not close to a popular packageNo popular package one edit away from @modelbay/mcpPass
- No critical advisory in the package or its dependenciesNot checked
- No hidden instructions to the model0 tool descriptions and the README read; no override phrases, credential paths or hidden charactersPass
- Destructive tools are labelledNot checked
- Remote endpoint answers the MCP handshakeNot checked
README
View on GitHubModelbay
简体中文 · English
Modelbay is an open-source (MIT) TypeScript SDK, MCP server and CLI that give you one interface to Chinese and global AI model platforms: Volcengine Ark (Doubao, Seedream, Seedance), Alibaba Cloud Bailian / DashScope (Qwen, Wan), MiniMax, Doubao Speech and OpenAI. It covers chat, image, video, speech and music generation, and handles async job polling for you.
Install the SDK with npm i modelbay zod, or add an MCP server to Claude Code, Codex, Cursor or Claude Desktop with npx -y @modelbay/mcp ark. Packages are on npm as modelbay, @modelbay/mcp and @modelbay/cli. Design decisions live in docs/decisions/.
One TypeScript implementation serves the SDK, the MCP servers and the CLI. Model parameters, limits, defaults and lifecycle states are declared as data; the MCP tool schemas and UI forms are derived from those declarations, so an upstream change only needs one edit.
Packages
Three packages are published to npm:
| Package | Role |
|---|---|
modelbay |
The SDK: core API, createModelbay(), platform registry, modelbay/node |
@modelbay/mcp |
MCP server generated from declarations; command modelbay-mcp <platform> |
@modelbay/cli |
CLI, command name modelbay |
Platform-specific exports live on subpaths of modelbay: modelbay/ark,
modelbay/bailian, modelbay/minimax, modelbay/doubao-speech,
modelbay/openai, plus modelbay/<platform>/node for Node-only helpers.
Inside the repo, @modelbay/core, @modelbay/shared and the five platform
packages stay separate private workspace packages that keep the layering honest;
modelbay bundles them at build time. All packages are ESM-only, MIT licensed,
and share one version number (changesets fixed group).
Quick start (10 lines)
External TypeScript projects only install modelbay and supply a key. Async
polling is handled by the SDK (core's runJob()), so there is no polling loop
to write.
import { createModelbay } from 'modelbay'
const mb = createModelbay({ secrets: { ARK_API_KEY: process.env.ARK_API_KEY ?? '' } })
const { outputs } = await mb.generate({
capability: 'image.generate',
input: { prompt: 'a cat wearing a hat' },
})
// outputs[0] is a URL or bytes; the host downloads and persists it
Swap the capability to video.generate or audio.speech (with
input: { text: ... }) for video and dubbing. When model is omitted, the
default is chosen from active declarations only, by
ModelRegistry.defaultFor() — consumers never hardcode a default. Results are
URLs or bytes; keys are supplied by the host and are never stored or printed by
the SDK. createModelbay() also reads keys from process.env when secrets
is omitted.
See packages/modelbay/README.md for the full
API and key names.
CLI
modelbay models [platform] # list models and their lifecycle status
modelbay capabilities # list capabilities
modelbay doctor # check key configuration (never prints keys)
modelbay generate --capability image.generate --prompt "a cat" --model ark:doubao-seedream
FAQ
What is Modelbay? A TypeScript SDK, MCP server and CLI for Volcengine Ark, Alibaba Bailian, MiniMax, Doubao Speech and OpenAI. One implementation serves all three entry points, driven by a single set of model declarations.
How do I use it in Claude Code, Codex, Cursor or Claude Desktop? Add an MCP server that runs npx -y @modelbay/mcp <platform> (ark, minimax, bailian, doubao-speech or openai) and pass the platform key through the server's environment, for example ARK_API_KEY. Each platform is a separate server. See packages/mcp/README.md.
Which platforms and capabilities are supported? Ark, Bailian, MiniMax, Doubao Speech and OpenAI; chat, image generation and editing, video generation, speech, music, voice cloning and design, and transcription, depending on the platform. Run modelbay models or modelbay capabilities for the current list, or see the goals.
Is it free? Which license? Free and open source under the MIT license. Model usage is billed by each platform on your own account.
Where do API keys go? The host supplies them through createModelbay({ secrets }) or environment variables such as ARK_API_KEY, BAILIAN_API_KEY (alias DASHSCOPE_API_KEY), MINIMAX_API_KEY, DOUBAO_API_KEY and OPENAI_API_KEY. The SDK never stores or prints them.
Does it run outside Node? The root modelbay entry only uses APIs available in Node, Bun, Deno and browsers; Node-only helpers are under the modelbay/node subpath.
When should I use something else? If you only call one platform and need every vendor-specific feature, that vendor's official SDK is the more direct choice. Modelbay is for working across several platforms, or exposing them as MCP tools.
Development
pnpm verify runs the full check: dedupe, lint, typecheck, tests with
per-package coverage, an offline check of every declaration's official source,
build, and package/license/core-runtime checks. Adding a model, platform,
capability or MCP tool is described in docs/extending.md;
conventions are in docs/engineering.md.
Releases are manual and maintainer-approved. A daily job fetches each platform's
official docs, reconciles model lists and deprecation notices against the
declarations in both directions, tracks gaps in an issue, and opens a draft PR
for lifecycle patches (docs/upstream.md, in Chinese).
MIT © ikuyu
Modelbay MCP questions
How do I add Modelbay MCP to Claude Code?
Run claude mcp add modelbay -- npx -y @modelbay/mcp in your terminal. Add --scope user to make it available in every project.
How do I add Modelbay MCP to Cursor?
Open ~/.cursor/mcp.json and add the server under mcpServers, using the Cursor config shown in the install section above.
How do I use Modelbay in Claude Code, Codex, Cursor or Claude Desktop?
Add an MCP server by running npx -y @modelbay/mcp <platform> and pass the required platform key through the server's environment variables.
Which platforms and capabilities are supported?
It supports Ark, Bailian, MiniMax, Doubao Speech, and OpenAI, covering chat, image, video, speech, music, voice cloning, and transcription.
Where are my API keys stored?
API keys are supplied by the host via environment variables or the secrets object; the SDK never stores or prints them.
Is Modelbay free to use?
The software is free and open source under the MIT license, but you are billed by the individual AI platforms for model usage.