/dsg-governance:dsg-mcpfrom DSG Governance Control Plane
Wraps DSG ONE MCP server endpoints for governance evaluation, execution proofs, agent command routing, and autonomy control. Useful when managing DSG runtime from MCP-compatible clients.
Ships in DSG Governance Control Plane. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Connect your MCP-compatible client (Claude Desktop, Cursor, Hermes agent) to the DSG ONE control plane via the Model Context Protocol.
This skill wraps the DSG ONE MCP server endpoints, exposing:
The MCP protocol uses JSON-RPC 2.0 over HTTP. Authentication is Bearer token-based; the server checks Authorization: Bearer ${DSG_ACCESS_TOKEN} or falls back to the INTERNAL_SERVICE_TOKEN environment variable.
/api/mcp-server (Primary Tools)6 MCP tools for app builder, agent runtime, and autonomy:
| Tool | Description | Input |
|---|---|---|
get_proof | Retrieve execution proof by goal | goal (string, min 8 chars) |
list_app_builder_jobs | List all app builder jobs | limit (number, default 10) |
create_app_builder_job | Create a new app builder job | title, description (strings) |
create_job_plan | Generate execution plan for job | jobId, strategy (strings) |
route_agent_command | Route command to specific agent | agentId, command, args (strings) |
get_autonomous_level | Check agent autonomy level | agentId (string) |
Server Info:
dsg-one-v1-mcp2024-11-051.0.0/api/mcp (Combined Tools)Aggregated endpoint combining Android, DSG, and Hermes tool schemas:
DSG Tools (dsg.* prefix):
dsg.evaluate — Evaluate action against policy gates
action, actor, tool, args, env (strings)gateStatus, proofStatus, riskLevel, reason, proofHashdsg.verifyClaim — Verify a governance claim
claim, evidence (strings)dsg.recordEvidence — Record audit evidence
executionId, evidenceType, data (strings)Hermes Tools (hermes.* prefix):
Android Tools (android.* prefix):
Create or update ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):
{
"mcpServers": {
"dsg-one": {
"command": "node",
"args": [
"-e",
"const http = require('http'); const token = process.env.DSG_ACCESS_TOKEN || process.env.INTERNAL_SERVICE_TOKEN; const url = new URL(process.env.NEXT_PUBLIC_APP_URL || 'http://localhost:3000'); const path = '/api/mcp-server'; const handleReq = (req) => { const method = req.method; const body = []; req.on('data', c => body.push(c)); req.on('end', async () => { const msg = body.length ? JSON.parse(Buffer.concat(body)) : {}; const opts = { hostname: url.hostname, port: url.port || (url.protocol === 'https:' ? 443 : 80), path, method: 'POST', headers: { 'Content-Type': 'application/json', 'Authorization': `Bearer ${token}` } }; const res = http.request(opts, (r) => { let d = ''; r.on('data', c => d += c); r.on('end', () => process.stdout.write(d)); }); res.write(JSON.stringify(msg)); res.end(); }); }; const server = http.createServer(handleReq); server.listen(0, () => process.stdin.pipe(server)); "
],
"env": {
"DSG_ACCESS_TOKEN": "${DSG_ACCESS_TOKEN}",
"INTERNAL_SERVICE_TOKEN": "${INTERNAL_SERVICE_TOKEN}",
"NEXT_PUBLIC_APP_URL": "${NEXT_PUBLIC_APP_URL}"
}
}
}
}
Create .cursor/mcp.json or .vscode/claude.json:
{
"mcp": {
"servers": {
"dsg-one": {
"endpoint": "${NEXT_PUBLIC_APP_URL}/api/mcp-server",
"auth": {
"type": "bearer",
"token": "${DSG_ACCESS_TOKEN}"
}
}
}
}
}
Configure in agent context or memory:
mcp_servers:
dsg_control_plane:
endpoint: /api/mcp-server
auth_token: ${DSG_ACCESS_TOKEN}
timeout_ms: 30000
curl -X GET http://localhost:3000/api/mcp-server \
-H "Authorization: Bearer ${DSG_ACCESS_TOKEN}"
Expected response:
{
"ok": true,
"tools": 6,
"server": "dsg-one-v1-mcp"
}
curl -X POST http://localhost:3000/api/mcp-server \
-H "Content-Type: application/json" \
-H "Authorization: Bearer ${DSG_ACCESS_TOKEN}" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/list",
"params": {}
}'
curl -X POST http://localhost:3000/api/mcp-server \
-H "Content-Type: application/json" \
-H "Authorization: Bearer ${DSG_ACCESS_TOKEN}" \
-d '{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"name": "get_proof",
"arguments": {
"goal": "verify execution compliance"
}
}
}'
curl -X POST http://localhost:3000/api/mcp \
-H "Content-Type: application/json" \
-H "Authorization: Bearer ${DSG_ACCESS_TOKEN}" \
-d '{
"jsonrpc": "2.0",
"id": 3,
"method": "tools/list",
"params": {}
}'
Set these in your environment or MCP client config:
| Variable | Purpose | Example |
|---|---|---|
DSG_ACCESS_TOKEN | Bearer token for MCP server auth | sk-dsg-... (placeholder) |
INTERNAL_SERVICE_TOKEN | Fallback service-to-service token | Server-side only |
NEXT_PUBLIC_APP_URL | Control plane base URL | http://localhost:3000 or https://tdealer01-crypto-dsg-control-plane.vercel.app |
Important: Never commit real token values. Use environment variables or .env files (kept in .gitignore).
DSG_ACCESS_TOKEN every 90 days or after team member departure{
"jsonrpc": "2.0",
"id": 1,
"method": "initialize",
"params": {
"protocolVersion": "2024-11-05",
"capabilities": {},
"clientInfo": {
"name": "claude-desktop",
"version": "1.0.0"
}
}
}
{
"jsonrpc": "2.0",
"id": 1,
"result": {
"protocolVersion": "2024-11-05",
"capabilities": {},
"serverInfo": {
"name": "dsg-one-v1-mcp",
"version": "1.0.0"
}
}
}
{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"name": "tool_name",
"arguments": {
"param1": "value1",
"param2": "value2"
}
}
}
/api/mcp-server or /api/mcptools/list returns the expected tool countCause: Missing or invalid DSG_ACCESS_TOKEN
Fix:
export DSG_ACCESS_TOKEN="your-actual-token"
# Or set INTERNAL_SERVICE_TOKEN if using service-to-service auth
Cause: MCP server endpoint not responding
Fix:
NEXT_PUBLIC_APP_URL points to a running DSG control plane/api/health returns {"ok":true}/api/readinessCause: Tool name mismatch or endpoint changed
Fix:
tools/list to verify available toolsdsg.evaluate, not dsg_evaluate)/api/mcp vs /api/mcp-server endpointCause: Missing required parameters or wrong type
Fix:
tools/list responseFor issues or questions:
/api/agent/statusWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
dsg-one, mcp-server, governance, agent-runtime, control-plane
claude plugin marketplace add tdealer01-crypto/tdealer01-crypto-dsg-control-plane && claude plugin install dsg-governance@dsg-plugins25 skills in this plugin
/dsg-action-layer-gedExecute user goals through the existing DSG Spacetime production MCP connection. Use for plan alignment, governance gates, owner approvals, provider execution, and signed evidence verification./dsg-aws-agent-toolkitUse AWS Agent Toolkit as the AWS inspection/execution adapter for DSG ONE while preserving plan alignment, approval, least privilege, and evidence capture./dsg-github-marketplace-action-controllerUse this skill when creating, packaging, validating, publishing, or maintaining DSG GitHub Marketplace Actions. It turns DSG control-plane, action-layer permission gates, deterministic GO/NO-GO valida/dsg-hybrid-agentDSG Hybrid Agent - Multi-agent workflow executor with ROM DOM simulation + real browser fallback for DSG Control Plane/dsg-infrastructure-deployerDeploy and manage DSG ONE / ProofGate control plane infrastructure on AWS using CDK. Automate the complete deployment pipeline: CloudFormation stack creation, resource validation, Secrets Manager inte/dsg-ising-optimizationDSG Ising Optimization Skill**Status:** ✅ Governance-enabledOther plugins' skills for the same job