4,500+ servers built on MCP Fusion
Vinkius
Baidu Qianfan logo
Vinkius
Claude Code logo

How to Use the Baidu Qianfan MCP in Claude Code

Pipe Baidu Qianfan's AI models into your shell scripts and CI/CD pipelines with Claude Code. Generate text, images, and embeddings from the command line.

See Vinkius in Action

Works with every AI agent you already use

…and any MCP-compatible client

Baidu Qianfan MCP on Cursor AI Code Editor MCP Client Baidu Qianfan MCP on Claude Desktop App MCP Integration Baidu Qianfan MCP on OpenAI Agents SDK MCP Compatible Baidu Qianfan MCP on Visual Studio Code MCP Extension Client Baidu Qianfan MCP on GitHub Copilot AI Agent MCP Integration Baidu Qianfan MCP on Google Gemini AI MCP Integration Baidu Qianfan MCP on Lovable AI Development MCP Client Baidu Qianfan MCP on Mistral AI Agents MCP Compatible Baidu Qianfan MCP on Amazon AWS Bedrock MCP Support
MCP Servers - Free for Subscribers
Claude Code

Connect Baidu Qianfan MCP to Claude Code

Create your Vinkius account to connect Baidu Qianfan to Claude Code and route execution through our secure gateway. The platform manages server hosting, runtime updates, and security layers. Configuration requires no manual server provisioning.

GDPR Free for Subscribers

Baidu Qianfan in Your CI/CD Pipeline

This MCP Server lets you call Baidu Qianfan models from any shell environment. Use `chat_completions` in a GitHub Action to auto-generate release notes from your commit logs. The output is just stdout, so you can pipe it to a file or another command. You can also build a pre-deployment check. Have a script use `list_models` to confirm the right model version is active before deploying an application that depends on it. If it's not, the script can fail the build.

Scriptable Image and Embedding Generation

Generate images headlessly from the terminal. A cron job can use the `text_to_image` tool to create a 'chart of the day' and save it to a file. It's all done from the command line, no browser required. The same goes for embeddings. You can write a script that watches a directory, and any time a new text file appears, it calls `get_embeddings` and stores the resulting vector in a database. This is perfect for building automated data processing pipelines.

Manage Models from the Terminal

Stop logging into web UIs to check on things. With Claude Code and this MCP server, you can manage your Baidu Qianfan resources directly. Run `claude mcp call baidu-qianfan-mcp list_train_jobs` to check on fine-tuning progress from your terminal. This makes it easy to query your AI resources as part of a larger script. You can combine it with tools like `jq` to parse the JSON output and script actions based on the results, like sending an alert when a training job completes.

Setup guide

Set up Baidu Qianfan MCP in Claude Code

Prerequisites

  • Claude Code CLI installed (npm install -g @anthropic-ai/claude-code)
  • Active Vinkius subscription with a valid endpoint token
  1. 1

    Run the add command

    Open your terminal and run the command shown on the right. Replace [YOUR_TOKEN_HERE] with your endpoint token from cloud.vinkius.com. Use --scope user to make it available across all projects.

  2. 2

    Verify the connection

    Start a Claude Code session and type /mcp to list connected servers. You should see baidu-qianfan-mcp with a green status indicator.

  3. 3

    Start using tools

    Ask Claude Code something like "Check my latest Baidu Qianfan transactions." It will automatically discover and invoke the available Baidu Qianfan tools.

Terminal
claude mcp add --transport http baidu-qianfan-mcp https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp

Why Choose Vinkius

Vinkius connects your tools to AI with real-time monitoring and automatic cost savings — all from one dashboard.

Real-time monitoring

Live

visibility into every interaction

Connect your favorite tools to your AI and see exactly what's happening — every request, every response, in real time.

Built-in savings

60%

lower AI costs

Vinkius compresses data between your apps and your AI automatically. Lower bills every month — no configuration required.

Single dashboard

One

place for every integration

Every tool your AI connects to, managed from a single screen. One account, complete control.

Common questions about Baidu Qianfan MCP in Claude Code

Run `claude mcp add --transport http baidu-qianfan-mcp -- ` in your terminal. Use `claude mcp list` to confirm it's connected. Your configuration is saved in the `~/.claude.json` file.
Yes, that's exactly what it's built for. Call the `chat_completions` tool from your shell script and pass it a model and prompt. You can then pipe the standard output to a file or another process.
Use the command `claude mcp call baidu-qianfan-mcp list_models`. This executes the tool on the server and prints the JSON list of your available models directly to standard output.
Yes. The `text_to_image` tool works headlessly. You call it from a script and handle the output, which will likely be a URL or base64-encoded data that you can then save to a file.
The server processes the text prompts and other inputs you provide to tools like `chat_completions`, `text_to_image`, and `get_embeddings`. Each command you run executes in a zero-trust, ephemeral instance on Vinkius. Nothing is stored after the command finishes.

Start using the Baidu Qianfan MCP today

We host it, we monitor it, we maintain it. You just paste one token.

Built & Managed by Vinkius 30s setup 6 tools

We've already built the connector for Baidu Qianfan. Just plug in your AI agents and start using Vinkius.

No hosting. No infrastructure. No complex setup.
All 6 tools are live and waiting. You're up and running in seconds.

Claude Claude
ChatGPT ChatGPT
Cursor Cursor
Gemini Gemini
Windsurf Windsurf
VS Code VS Code
JetBrains JetBrains
Vercel Vercel
+ other MCP clients

Vinkius gives your AI agents access to the full catalog of app connectors, all fully managed, secure, and enterprise-ready. One subscription, every tool you need.

Zero hosting required Full MCP catalog included Enterprise-grade security Auto-updated by Vinkius

Built, hosted, and secured by Vinkius. You just connect and go.