Baidu Qianfan Connector for AI agents.
6 live capabilities
Connect to Chinese LLMs for enterprise RAG and text generation.
Waiting for input…
Why people use Baidu Qianfan
Baidu Qianfan for Chinese Language LLM Integration
The Baidu Qianfan MCP changes that by bringing the entire suite into your agent's workspace. You can trigger completions, grab embeddings, and check your model status without ever leaving your primary capability. You get a unified way to interact with Ernie Bot that actually fits into a modern workflow.
What Vinkius changes
You get a direct line to Baidu's enterprise models with zero manual API management.
Use it from Claude, ChatGPT, Cursor or another AI client you already have.
One account · 5,900+ Connectors
- Real-world use case 01
Building a RAG search index
A knowledge manager uses get_embeddings to convert a thousand internal PDFs into a searchable vector database for their team.
- Real-world use case 02
Localized customer support
A developer uses chat_completions to power a customer service bot that understands and responds in native Chinese.
- Real-world use case 03
Automated content creation
A marketing lead uses text_to_image to generate social media headers based on specific campaign descriptions.
Complete set · 6capabilities
The complete Baidu Qianfan capability set.
These are the exact actions your AI can choose when you ask it to work with Baidu Qianfan.
01—03
3 capabilities in this set.
Part of 6 available through Baidu Qianfan.
- 01 Capability
Get embeddings
Create vector embeddings for text to power your search index. This helps make your RAG system much more accurate.
- 02 Capability
List train jobs
Show a list of your current model training jobs. Use this to keep track of your ongoing training tasks.
- 03 Capability
Chat completions
Send a message to a Baidu Qianfan model and get a response. It is the primary way to interact with Ernie Bot.
04—06
3 capabilities in this set.
Part of 6 available through Baidu Qianfan.
- 04 Capability
List datasets
List the datasets you've uploaded to the platform. Use this to manage the data sources for your AI workflows.
- 05 Capability
List models
List the available model services you can use right now. This helps you see which Ernie versions are active.
- 06 Capability
Text to image
Turn a text prompt into a generated image. Use this to create visual assets directly through your agent.
Set up in minutes
One URL. Then ask Baidu Qianfan to work.
Claude and ChatGPT only need the Connector URL. Copy it once, add it in settings, and use Baidu Qianfan from the conversation.
Choose your client
Live previewAdvanced clients IDE · CLI
Claude · Web + desktop
Connector URL · ready to paste
Streamable HTTPhttps://edge.vinkius.com/vk_preview_nSPMSdk1YEMCwy7aSAehImUREP7520Z8lSHvuSUL/mcp - Step 01
Open Connectors
In Claude Web or Claude Desktop, open Settings and choose Connectors.
- Step 02
Add the URL
Choose Add custom connector, name it Baidu Qianfan, and paste the URL above.
- Step 03
Turn it on in chat
Select +, open Connectors, and enable Baidu Qianfan for the conversation.
ChatGPT · Web + desktop
Connector URL · ready to paste
Streamable HTTPhttps://edge.vinkius.com/vk_preview_nSPMSdk1YEMCwy7aSAehImUREP7520Z8lSHvuSUL/mcp - Step 01
Open MCP settings
On desktop, open Settings and MCP servers. On web, open your workspace app or connector settings.
- Step 02
Add the URL
Choose Add server with Streamable HTTP, or create a custom MCP app, then paste the Baidu Qianfan URL.
- Step 03
Save and start
Save the connection and enable Baidu Qianfan in your conversation. Desktop may ask you to restart once.
Cursor · IDE configuration
Advanced setup
{
"mcpServers": {
"baidu-qianfan": {
"url": "https://edge.vinkius.com/vk_preview_nSPMSdk1YEMCwy7aSAehImUREP7520Z8lSHvuSUL/mcp"
}
}
} - Step 01
Open MCP Settings
Press Cmd+Shift+P (macOS) or Ctrl+Shift+P (Windows/Linux) → search "MCP Settings"
- Step 02
Add the server config
Paste the JSON configuration above into the mcp.json file that opens
- Step 03
Save the file
Cursor will automatically detect the new Connector
- Step 04
Start using Baidu Qianfan
Open Agent mode in chat and ask: "Using Baidu Qianfan, help me...". 6 tools available
VS Code Copilot · IDE configuration
Advanced setup
{
"mcpServers": {
"baidu-qianfan": {
"url": "https://edge.vinkius.com/vk_preview_nSPMSdk1YEMCwy7aSAehImUREP7520Z8lSHvuSUL/mcp"
}
}
} - Step 01
Create MCP config
Create a .vscode/mcp.json file in your project root
- Step 02
Add the server config
Paste the JSON configuration above
- Step 03
Enable Agent mode
Open GitHub Copilot Chat and switch to Agent mode using the dropdown
- Step 04
Start using Baidu Qianfan
Ask Copilot: "Using Baidu Qianfan, help me...". 6 tools available
Windsurf · IDE configuration
Advanced setup
{
"mcpServers": {
"baidu-qianfan": {
"url": "https://edge.vinkius.com/vk_preview_nSPMSdk1YEMCwy7aSAehImUREP7520Z8lSHvuSUL/mcp"
}
}
} - Step 01
Open MCP Settings
Go to Settings → MCP Configuration or press Cmd+Shift+P and search "MCP"
- Step 02
Add the server
Paste the JSON configuration above into mcp_config.json
- Step 03
Save and reload
Windsurf will detect the new server automatically
- Step 04
Start using Baidu Qianfan
Open Cascade and ask: "Using Baidu Qianfan, help me...". 6 tools available
Cline · IDE configuration
Advanced setup
{
"mcpServers": {
"baidu-qianfan": {
"url": "https://edge.vinkius.com/vk_preview_nSPMSdk1YEMCwy7aSAehImUREP7520Z8lSHvuSUL/mcp"
}
}
} - Step 01
Open Cline MCP Settings
Click the Connectors icon in the Cline sidebar panel
- Step 02
Add remote server
Click "Add Connector" and paste the configuration above
- Step 03
Enable the server
Toggle the server switch to ON
- Step 04
Start using Baidu Qianfan
Ask Cline: "Using Baidu Qianfan, help me...". 6 tools available
Claude Code · Terminal command
Advanced setup
claude mcp add baidu-qianfan --transport http "https://edge.vinkius.com/vk_preview_nSPMSdk1YEMCwy7aSAehImUREP7520Z8lSHvuSUL/mcp" - Step 01
Install Claude Code
Run npm install -g @anthropic-ai/claude-code if not already installed
- Step 02
Add the Connector
Run the command above in your terminal
- Step 03
Verify the connection
Run claude mcp to list connected servers, or type /mcp inside a session
- Step 04
Start using Baidu Qianfan
Ask Claude: "Using Baidu Qianfan, show me...". 6 tools are ready
Where the request belongs
Work Baidu Qianfan can move forward.
This is for developers and knowledge managers who need to integrate high-performance Chinese LLMs into their production workflows without building custom API wrappers.
AI Developer
You use this to compare different Ernie model versions and test their performance on specific Chinese language tasks.
System Integrator
You use this to bridge enterprise applications with Baidu's infrastructure to provide localized AI services.
Knowledge Manager
You use this to build RAG pipelines that turn internal company documents into searchable vector databases.
Build the capability set
Add more capabilities.
Each Connector adds new actions and data without changing how you work.
Browse ConnectorsLingyi Wanwu
Orchestrate Lingyi Wanwu AI models. manage chat completions, embeddings, and monitor Yi model performance directly from any AI agent.
Mistral AI (Frontier LLMs & Embeddings)
Manage AI inference via Mistral. execute chat completions, generate RAG embeddings, and audit frontier models.
Cohere (AI Platform)
Power enterprise AI via Cohere. generate text, perform chat completions, reorder documents, and manage embeddings directly from any AI agent.
OpenAI
Use GPT-4o, DALL-E 3, embeddings, fine-tuning, and moderation as capabilities inside your AI agent workflows.
DeepInfra (Serverless LLM Inference)
Run top-tier LLMs, image generation, and embeddings via DeepInfra's serverless infrastructure directly from your AI agent.
Gradient AI (LLM API & Finetuning)
Access powerful LLMs, fine-tune models on your own data, and generate embeddings directly through your AI agent.
Bring your own AI
Change the model, client or framework. Keep Baidu Qianfan connected.
-
Claude -
ChatGPT -
Gemini -
Cursor -
VS Code -
Windsurf -
ZCode -
Cline -
Zed -
Continue -
Kiro -
Roo Code -
Zencoder -
Goose -
Void -
Augment Code -
Amp -
Qodo -
Tabnine -
Pieces -
Sourcegraph Cody -
JetBrains -
Warp -
Amazon Q -
Antigravity -
BoltAI -
Raycast -
Jan -
LM Studio -
AnythingLLM -
Open WebUI -
Msty -
Cherry Studio -
LibreChat -
TypingMind -
Chorus -
5ire -
n8n -
LangChain -
LlamaIndex -
CrewAI -
Vercel AI SDK
Before you connect
Questions about Baidu Qianfan.
The practical details behind the request, access and result.
What is the Baidu Qianfan MCP used for?
It connects your AI agent to Baidu's enterprise LLM platform. You can use it to run Ernie Bot, generate vector embeddings for search, and create images from text prompts.
Can I use Baidu Qianfan MCP for RAG systems?
Yes, it's perfect for RAG. You can use it to generate high-quality embeddings for your internal data, making it much easier to build a searchable knowledge base.
Does the Baidu Qianfan MCP support image generation?
Yes, it includes capabilities to trigger text-to-image tasks. This allows your agent to create visual content based on your descriptions.
How do I get my API keys for the Baidu Qianfan MCP?
You can get your credentials by logging into the Baidu Qianfan Console and creating a new application. Once you have your keys, you can plug them directly into the Connector.
Can I manage my prompts using the Baidu Qianfan MCP?
Yes, you can manage and retrieve centralized prompt templates. This helps you keep your agent's instructions consistent across different tasks.
Is Baidu Qianfan MCP good for Chinese language tasks?
It is specifically designed for that. It gives you direct access to Ernie Bot, which is one of the most capable models for Chinese language understanding and generation.
Which version of Ernie Bot should I use for chat?
For high performance and reasoning, use ernie-4.0-8k. For faster response times and cost efficiency, ernie-speed-128k or ernie-lite-8k are excellent choices.
Can I automatically generate embeddings for RAG?
Yes! Use the get_embeddings capability with your text input. The agent will retrieve the vector representations from Baidu's embedding models, ready for indexing in your vector database.
How do I use prompt templates from the console?
Use the list_prompt_templates capability to find your configured templates. You can then retrieve specific details using get_prompt_template to maintain consistency across your AI workflows.
One connection away
Give your agent a direct line to Baidu Qianfan.
Connect Baidu Qianfan once. Keep it beside 5,900+ managed Connectors when the next task needs more.
Explore every Connector No credit card required · Free tier available