jump to content

Claude Code Configuration

Add the MCP server to the Claude Code CLI with clause add, check the connection, and automatize scripts or CI compliance checks.

Show as Markdown

This guide shows you how to configure the MCPServer platform with Claude Code, Anthropic’s official CLI tool, allowing Claude to interact with your compliance data directly from the command line.

  • Claude Code CLI installed (npm install -g @anthropic-ai/claude-code)
  • A court running the API platform

Choose the end point for your platform environment:

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

The ___ZBT_I18N_RUNTIME_BLOCK_172__ segment is required.

Run the following command:

Terminal window
claude mcp add --transport http probo https://your-probo-instance.com/api/mcp/v1

Replace https://your-probo-instance.com/api/mcp/v1 with the URL of the platform instance.

At first use, Claude Code will open a browser window to authorize access to your platform court through OAuth - log in and click on Authorize. No token generation or configuration needed.

List your configured MCP servers:

Terminal window
claude mcp list

You should see probo in the list.

"List all organizations I have access to"

Claude should use the listOrganizations tool and return the organizations.

Utilizarea codului Claude cu platforma

"Using Claude Code with the Platform"
Terminal window
claude

Claude loads the server of the platformMCPautomat. You can have a continuous conversation:

> List all third parties
> Add a new risk for data breaches
> Update the third-party security measure to implemented
Terminal window
claude "List all open nonconformities"
You: "Show me all risks with a residual risk score above 15"
Claude: Let me fetch those high-risk items.
[Uses listRisks tool with filtering]
Found 3 high-risk items:
1. Third-party security breach (Score: 20)
2. Data center failure (Score: 18)
3. Insider threat (Score: 16)
You: "Add a third party named 'SecureCloud' that provides backup services"
Claude: I'll add that third party now.
[Uses addThirdParty tool]
Successfully added SecureCloud as a third party.

To connect to additional media (for example, stationary, a different region), add them with separate names:

Terminal window
claude mcp add --transport http probo-staging https://staging.probo.com/api/mcp/v1

Each court requests its own OAuth authorization at the first use.

update-compliance.sh
#!/bin/bash
claude << EOF
Connect to Probo and:
1. List all risks with status 'open'
2. For each risk, check if mitigation measures are in place
3. Update risk status to 'mitigated' where appropriate
4. Generate a summary report
EOF

Daily Compliance Check

“Daily Compliance Check”
daily-check.sh
#!/bin/bash
claude "Generate a compliance status report including:
- Number of open nonconformities
- Risks with scores above 15
- Overdue obligations
- In-progress audits"
.github/workflows/compliance-check.yml
name: Compliance Check
on:
schedule:
- cron: "0 9 * * 1" # Every Monday at 9 AM
jobs:
check:
runs-on: ubuntu-latest
steps:
- name: Check Compliance
run: |
npx -y @anthropic-ai/claude-code "Review current compliance status and report any critical issues"
env:
ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}

MCP Server Not Found

“MCPServer Not Found”
Terminal window
# List configured servers
claude mcp list
# Remove and re-add if needed
claude mcp remove probo
claude mcp add --transport http probo https://your-probo-instance.com/api/mcp/v1
Terminal window
claude --debug

Need help with Claude Code configuration?

Ultima actualizare: