MDIC (Comércio Exterior) MCP Server for AutoGenGive AutoGen instant access to 5 tools to Get Package, Get Resource, List Packages, and more
Microsoft AutoGen enables multi-agent conversations where agents negotiate, delegate, and execute tasks collaboratively. Add MDIC (Comércio Exterior) as an MCP tool provider through Vinkius and every agent in the group can access live data and take action.
Ask AI about this MCP Server for AutoGen
The MDIC (Comércio Exterior) MCP Server for AutoGen is a standout in the Data Analytics category — giving your AI agent 5 tools to work with, ready to go from day one.
Vinkius delivers Streamable HTTP and SSE to any MCP client
import asyncio
from autogen_agentchat.agents import AssistantAgent
from autogen_ext.tools.mcp import McpWorkbench
async def main():
# Your Vinkius token. get it at cloud.vinkius.com
async with McpWorkbench(
server_params={"url": "https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp"},
transport="streamable_http",
) as workbench:
tools = await workbench.list_tools()
agent = AssistantAgent(
name="mdic_comercio_exterior_agent",
tools=tools,
system_message=(
"You help users with MDIC (Comércio Exterior). "
"5 tools available."
),
)
print(f"Agent ready with {len(tools)} tools")
asyncio.run(main())
* Every MCP server runs on Vinkius-managed infrastructure inside AWS - a purpose-built runtime with per-request V8 isolates, Ed25519 signed audit chains, and sub-40ms cold starts optimized for native MCP execution. See our infrastructure
About MDIC (Comércio Exterior) MCP Server
Connect to the MDIC (Ministry of Development, Industry, Trade and Services) open data portal to analyze Brazilian foreign trade metrics directly through your AI agent.
AutoGen enables multi-agent conversations where agents negotiate, delegate, and collaboratively use MDIC (Comércio Exterior) tools. Connect 5 tools through Vinkius and assign role-based access. a data analyst queries while a reviewer validates, with optional human-in-the-loop approval for sensitive operations.
What you can do
- Dataset Discovery — List and search through all available trade packages (datasets) like 'comex-stat' or 'exportacao-municipios'
- Metadata Inspection — Get detailed descriptions, tags, and resource lists for specific trade datasets
- Direct Data Querying — Use the Datastore search to filter and retrieve specific rows from CSV resources using SQL-like parameters
- Resource Management — Access individual file metadata and download links for trade statistics
The MDIC (Comércio Exterior) MCP Server exposes 5 tools through the Vinkius. Connect it to AutoGen in under two minutes — credentials fully managed, no infrastructure to provision, no vendor lock-in. Your configuration, your data, your control.
All 5 MDIC (Comércio Exterior) tools available for AutoGen
When AutoGen connects to MDIC (Comércio Exterior) through Vinkius, your AI agent gets direct access to every tool listed below — spanning brazil-trade, export-import, economic-data, and more. Every call runs in a secure, isolated environment with full audit visibility. Beyond a simple connection, you get real-time monitoring of agent activity, enterprise governance, and optimized token usage.
Get package on MDIC (Comércio Exterior)
Get detailed metadata for a specific dataset (package)
Get resource on MDIC (Comércio Exterior)
Get metadata for a specific resource (data file)
List packages on MDIC (Comércio Exterior)
List all datasets (packages) available in the MDIC portal
Search datastore on MDIC (Comércio Exterior)
Query data directly from a resource stored in the Datastore
Search packages on MDIC (Comércio Exterior)
g., "comex", "exportação"). Search for datasets matching a specific query string
Connect MDIC (Comércio Exterior) to AutoGen via MCP
Follow these steps to wire MDIC (Comércio Exterior) into AutoGen. The entire setup takes under two minutes — your credentials stay safe behind Vinkius.
Install AutoGen
pip install "autogen-ext[mcp]"Replace the token
[YOUR_TOKEN_HERE] with your Vinkius tokenIntegrate into workflow
Explore tools
Why Use AutoGen with the MDIC (Comércio Exterior) MCP Server
AutoGen provides unique advantages when paired with MDIC (Comércio Exterior) through the Model Context Protocol.
Multi-agent conversations: multiple AutoGen agents discuss, delegate, and collaboratively use MDIC (Comércio Exterior) tools to solve complex tasks
Role-based architecture lets you assign MDIC (Comércio Exterior) tool access to specific agents. a data analyst queries while a reviewer validates
Human-in-the-loop support: agents can pause for human approval before executing sensitive MDIC (Comércio Exterior) tool calls
Code execution sandbox: AutoGen agents can write and run code that processes MDIC (Comércio Exterior) tool responses in an isolated environment
MDIC (Comércio Exterior) + AutoGen Use Cases
Practical scenarios where AutoGen combined with the MDIC (Comércio Exterior) MCP Server delivers measurable value.
Collaborative analysis: one agent queries MDIC (Comércio Exterior) while another validates results and a third generates the final report
Automated review pipelines: a researcher agent fetches data from MDIC (Comércio Exterior), a critic agent evaluates quality, and a writer produces the output
Interactive planning: agents negotiate task allocation using MDIC (Comércio Exterior) data to make informed decisions about resource distribution
Code generation with live data: an AutoGen coder agent writes scripts that process MDIC (Comércio Exterior) responses in a sandboxed execution environment
Example Prompts for MDIC (Comércio Exterior) in AutoGen
Ready-to-use prompts you can give your AutoGen agent to start working with MDIC (Comércio Exterior) immediately.
"Search for MDIC datasets related to 'exportação'."
"List the resources available in the 'comex-stat' package."
"Query the first 5 rows from resource ID d3b0c1... with a limit of 5."
Troubleshooting MDIC (Comércio Exterior) MCP Server with AutoGen
Common issues when connecting MDIC (Comércio Exterior) to AutoGen through Vinkius, and how to resolve them.
McpWorkbench not found
pip install "autogen-ext[mcp]"MDIC (Comércio Exterior) + AutoGen FAQ
Common questions about integrating MDIC (Comércio Exterior) MCP Server with AutoGen.
How does AutoGen connect to MCP servers?
Can different agents have different MCP tool access?
Does AutoGen support human approval for tool calls?
Explore More MCP Servers
View all →
CRC32 Checksum Engine
1 toolsCalculate CRC32 checksums instantly — the same algorithm inside ZIP, PNG, Ethernet, and MPEG-2. Pure JS, zero dependencies, three output formats.

Mirakl (Enterprise Marketplace Platform)
10 toolsManage your enterprise marketplace via Mirakl — list global offers, track multi-vendor orders, and audit seller shops.

Airbrake
10 toolsCatch application errors in real time, track performance bottlenecks, and keep your codebase healthy with proactive monitoring.

Manage your Pinterest profile — audit boards and pins via AI.
