Skip to content

Products

Compliance Officer Service Expert-led compliance, end to end Compliance Portal Share security documents securely Open-source platform Deploy Probo on your own infrastructure

Resources

Probo stories How teams get compliant with Probo Blog Ideas and guidance from the Probo team Guides & tools Practical compliance guides and free tools Love from Customers What customers say about working with Probo Changelog Latest product updates Download Get the Probo Agent

Company

About The people and vision powering Probo Careers Join the team building Probo Brand assets Official logos and visual resources Security Review our security and compliance posture
Overview Understand Probo and its core concepts Product Explore Probo's GRC capabilities Developers Explore GraphQL, CLI, MCP, n8n, and webhooks Deployment Probo Cloud, self-hosting, and configuration

Explore

GitHub Explore our open-source compliance tools

Opencode AI

Configure the Probo MCP Server with Opencode AI

View as Markdown

Opencode AI is an AI-powered coding assistant with MCP support.

  • Opencode AI installed
  • Scoped Probo OAuth token (see Authentication)
  • Your Probo instance URL

Choose the endpoint for your Probo environment:

Environment MCP URL
Probo US https://us.probo.com/api/mcp/v1
Probo EU https://eu.probo.com/api/mcp/v1
Custom https://your-probo-instance.com/api/mcp/v1

The /v1 segment is required.

Open Opencode settings or configuration file.

Add the Probo MCP Server configuration:

{
"mcpServers": {
"probo": {
"url": "https://your-probo-instance.com/api/mcp/v1",
"headers": {
"Authorization": "Bearer your_api_token_here"
}
}
}
}

Update these values:

  • your-probo-instance.com → Your Probo instance URL
  • your_api_token_here → Your OAuth token from Probo

Restart Opencode to apply the configuration.

Once configured, you can use Probo tools through Opencode’s AI assistant:

Example queries:

"List all pending obligations in my organization"
"Add a new risk for data breach with high impact"
"Show me all third parties that need review"

Opencode will automatically invoke the appropriate Probo MCP tools.

For security, use an environment variable for your OAuth token:

{
"mcpServers": {
"probo": {
"url": "https://your-probo-instance.com/api/mcp/v1",
"headers": {
"Authorization": "Bearer ${PROBO_API_TOKEN}"
}
}
}
}

Set the environment variable:

macOS/Linux:

Terminal window
export PROBO_API_TOKEN="your_api_token_here"

Windows:

Terminal window
$env:PROBO_API_TOKEN = "your_api_token_here"

Configure different Probo instances:

{
"mcpServers": {
"probo-dev": {
"url": "http://localhost:8080/api/mcp/v1",
"headers": {
"Authorization": "Bearer ${PROBO_DEV_TOKEN}"
}
},
"probo-prod": {
"url": "https://probo.company.com/api/mcp/v1",
"headers": {
"Authorization": "Bearer ${PROBO_PROD_TOKEN}"
}
}
}
}

Problem: Probo tools aren’t showing up in Opencode

Solutions:

  1. Verify the MCP configuration is correct
  2. Restart Opencode completely
  3. Check Opencode logs for connection errors
  4. Test the endpoint with the MCP Inspector:
    Terminal window
    npx @modelcontextprotocol/inspector --cli \
    https://your-probo-instance.com/api/mcp/v1 \
    --transport http \
    --header "Authorization: Bearer $PROBO_API_TOKEN" \
    --method tools/list

Problem: 401 Unauthorized errors

Solutions:

  1. Create a replacement OAuth token in Probo
  2. Verify the token format: Bearer your_token
  3. Check for extra spaces or newlines
  4. Ensure the token hasn’t expired or been revoked

Problem: Cannot connect to Probo instance

Solutions:

  1. Verify the Probo URL is correct
  2. Check network connectivity
  3. Use HTTPS for production instances
  4. Verify firewall settings
  • Store OAuth tokens in environment variables
  • Use separate tokens for different environments
  • Rotate tokens regularly (every 90 days)
  • Use HTTPS for production connections
  • Monitor token usage in Probo settings
  • Avoid committing tokens to version control

Opencode AI with Probo MCP provides:

  • AI-powered coding with compliance context
  • Real-time access to compliance data
  • Automated compliance checks
  • Code generation with risk awareness
  • Natural language compliance queries