Odel
volcengine mcp

volcengine mcp

Local
@expertvagabondRustMITUpdated 5mo ago

ByteDance Volcano Engine (Doubao) MCP server

volcengine-mcp

[!License: MIT](https://opensource.org/licenses/MIT) [!MCP](https://modelcontextprotocol.io) [!Node.js](https://nodejs.org)

MCP server for ByteDance Volcano Engine. Enables text generation, multi-turn chat, and embeddings via Doubao LLM models through the Volcano Ark API.

Tools (4 total)

ToolDescription
doubao_generateGenerate text using Doubao models (single-turn completion)
doubao_chatMulti-turn conversation with message history
doubao_embeddingsGenerate text embeddings for semantic search and RAG
doubao_list_modelsList available Doubao chat and embedding models

Available Models

Chat Models

Model IDContextDescription
doubao-pro-32k32KGeneral purpose, large context
doubao-pro-4k4KGeneral purpose, fast
doubao-lite-32k32KLightweight, large context
doubao-lite-4k4KLightweight, fast
doubao-seed-1-6-25061532KLatest with vision support
doubao-seed-1-6-flash-25061532KFast thinking, low latency
doubao-seed-1-6-thinking-25061532KDeep reasoning for complex tasks

Embedding Models

Model IDDimensionsDescription
doubao-embedding2560Text embeddings
doubao-embedding-text-2407152560Latest text embeddings

Install

npm install

Configuration

{
  "mcpServers": {
    "volcengine": {
      "type": "stdio",
      "command": "node",
      "args": ["/path/to/volcengine-mcp/index.js"],
      "env": {
        "ARK_API_KEY": "your-api-key"
      }
    }
  }
}

Environment Variables

VariableDescriptionRequired
ARK_API_KEYVolcano Ark API keyYes
VOLCENGINE_API_KEYAlternative API key variableYes (if ARK_API_KEY not set)
ARK_BASE_URLAPI base URLNo (defaults to Beijing endpoint)
ARK_CHAT_MODELDefault chat modelNo (defaults to doubao-pro-32k)
ARK_EMBEDDING_MODELDefault embedding modelNo (defaults to doubao-embedding)

Getting an API Key

  1. Sign up at console.volcengine.com
  2. Complete real-name authentication (required for Chinese cloud services)
  3. Navigate to Large Models > Volcano Ark > API Key Management
  4. Create and copy your API key

Use Cases

  • Chinese language tasks -- Doubao excels at Chinese NLP
  • Low-latency inference -- Doubao Flash for real-time applications
  • Deep reasoning -- Doubao Thinking for complex analysis
  • Cost-effective bulk processing -- Doubao Lite for high-volume tasks
  • Semantic search and RAG -- Doubao embeddings (2560 dimensions)

Dependencies

  • @modelcontextprotocol/sdk -- MCP protocol SDK

License

MIT