INTEGRATIONS
Connect BrazilStack to opencode
Add BrazilStack to opencode as a remote MCP server and give your coding agent access to supported Brazilian data sources.
What BrazilStack provides
- A remote MCP endpoint configurable in opencode.
- Tool listing for the active Brazilian catalog.
- Source attribution for Brazilian data.
Prerequisites
- opencode installed.
- A BrazilStack account and API access.
Connection flow
- Open your opencode configuration.
- Add a remote MCP server entry for BrazilStack.
- Provide the endpoint URL and authentication.
- Restart opencode and confirm the tools load.
Troubleshooting
- Confirm the config file syntax and endpoint URL.
- Check that the token is set in the environment.
Security
- Keep tokens in environment variables, not committed files.
- Access is scoped to your workspace and plan.
Configuration
MCP endpoint: https://brazilstack.gustavospalencia.com/mcp
Endpoint: https://brazilstack.gustavospalencia.com/mcp
Transport: remote (streamable HTTP)Test the connection
In opencode, list MCP tools and ask for a summary of Brazilian public procurement for a category.
What to ask
- Summarize Brazilian public procurement for a category.
- Find recent regulatory publications for a sector.
- Explain a Brazilian macroeconomic series.