How to Use the Correios API (REST) MCP in Windsurf
Get live Brazilian shipping rates and package tracking directly inside Windsurf with Cascade.
Works with every AI agent you already use
…and any MCP-compatible client
Connect Correios API (REST) MCP to Windsurf
Create your Vinkius account to connect Correios API (REST) 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.
Calculate Brazilian shipping rates in Windsurf
The `calculate_price_deadline` tool lets your agent query the official Correios database to get real-time freight pricing and delivery times for Brazil. Cascade uses this tool to instantly fetch shipping costs based on zip codes, package weight, and physical dimensions. Instead of leaving your editor to check postal tables, you just tell Cascade to build a checkout page. Your agent calls this MCP Server, grabs the rates, and writes the shipping logic directly into your ecommerce code.
Track Brazilian packages autonomously
The `track_object` tool pulls the exact shipping history and current status of any Brazilian postal package. Cascade hooks into this endpoint to monitor active shipments and update your database without you writing a single line of API integration code. When a user asks Cascade to debug a stuck order, the agent grabs the tracking code, queries the Correios API (REST) server, and outputs the exact transit status. You get the full picture in your chat panel in seconds.
Chain shipping workflows with Windsurf Cascade
The `calculate_price_deadline` and `track_object` tools allow Cascade to chain multi-step shipping tasks using this MCP Server. You can instruct your agent to look up a customer's zip code, run the pricing calculation, and then generate a complete invoice draft. Cascade manages the entire execution sequence without asking for permission at every step. It reads the context of your workspace, calls the necessary Correios endpoints, and presents the finished code structure.
Set up Correios API (REST) 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 Correios API (REST) 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 Correios API (REST) payment history." If connected, Cascade will call the Correios API (REST) tools directly. You will see a green dot next to the server name in the MCP panel.
{
"mcpServers": {
"correios-api-rest-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 Correios. 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 Correios API (REST) MCP in Windsurf
Use it with your favorite AI tools
Connect this server to Cursor, Claude, VS Code, and more.
Start using the Correios API (REST) MCP today
We host it, we monitor it, we maintain it. You just paste one token.