How to Use the Baidu Qianfan MCP in Windsurf
Connect Baidu Qianfan to Windsurf and let Cascade generate text, images, and embeddings without you prompting every single step.
Works with every AI agent you already use
…and any MCP-compatible client
Connect Baidu Qianfan MCP to Windsurf
Create your Vinkius account to connect Baidu Qianfan to Windsurf and route execution through our secure gateway. The platform manages server hosting, runtime updates, and security layers. Configuration requires no manual server provisioning.
Generate Content and Embeddings
Ask Windsurf to write a blog post and then generate a header image for it. Cascade, Windsurf's autonomous agent, chains the `chat_completions` and `text_to_image` tools automatically. You get the final result, not a list of questions to answer. Need to analyze that new text? Just tell Cascade to create vector embeddings. It calls the `get_embeddings` tool on the content it just wrote. No copy-pasting from one window to another.
Manage Your Baidu Models in Windsurf
This MCP Server gives Cascade a direct line into your Baidu Qianfan account. You can ask it to check which models are available with `list_models` or see your active training jobs with `list_train_jobs`. It's way faster than logging into a web console. Before you start a new fine-tuning run, have Cascade check your existing data. It uses `list_datasets` to get the info and shows it to you right in your IDE. This keeps you focused on your work, not on account management.
Chain AI Operations Autonomously
The real power here is in the chaining. Prompt Windsurf with 'draft a product update and generate an image for it based on our latest training job.' Cascade will `list_train_jobs`, pick the latest one, use that info to call `chat_completions`, then feed a summary to `text_to_image`. One prompt triggers a full sequence of work. This isn't about single commands. It's about giving your agent a goal and the right tools to achieve it. Your agent figures out the steps, so you don't have to.
Set up Baidu Qianfan MCP in Windsurf
Prerequisites
- Windsurf IDE installed (macOS, Windows, or Linux)
- Active Vinkius subscription with a valid endpoint token
- 1
Open MCP configuration
Click the Cascade assistant icon in the sidebar, then click the hammer icon (🔨) at the top of the panel. Select "Configure" to open
~/.codeium/windsurf/mcp_config.json. - 2
Add the Baidu Qianfan MCP
Paste the JSON snippet shown on the right into the
mcpServersobject. Replace[YOUR_TOKEN_HERE]with your endpoint token from cloud.vinkius.com. - 3
Refresh MCPs
Go back to the hammer icon (🔨) in Cascade and click "Refresh". Windsurf will detect the new server. No full restart is needed — the connection is hot-reloaded.
- 4
Verify in Cascade
Start a new Cascade conversation and ask something like "Show my Baidu Qianfan payment history." If connected, Cascade will call the Baidu Qianfan tools directly. You will see a green dot next to the server name in the MCP panel.
{
"mcpServers": {
"baidu-qianfan-mcp": {
"url": "https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp"
}
}
} Independent Platform Disclaimer: Vinkius is an independent platform and is not affiliated with, endorsed by, sponsored by, verified by, or otherwise authorized by Baidu Qianfan. All third-party trademarks, logos, and brand names are the property of their respective owners. Their use on this website is strictly for informational purposes to identify service compatibility and interoperability.
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 Windsurf
Use it with your favorite AI tools
Connect this server to Cursor, Claude, VS Code, and more.
Start using the Baidu Qianfan MCP today
We host it, we monitor it, we maintain it. You just paste one token.