mcp-runtime-governance

mcp-runtime-governance is a skill for Claude Code, Codex from Agent-Hellboy/mcp-runtime. It costs 64 tokens per session (922 once invoked), scanned A, original, Apache-2.0.

A governance workflow for MCP Runtime, a platform that controls which agents can access which MCP servers and tools.

In plain words
What is it for?
It is for managing access grants and agent sessions, configuring adapters, inspecting server policies, and troubleshooting MCP JSON-RPC traffic. JSON-RPC is a format for sending structured requests between software services.
Why use it?
It helps enforce team boundaries, explicit permissions, side-effect limits, and allow-or-deny rules for tool calls.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/agent-hellboy/mcp-runtime/mcp-runtime-governance
Any agent
npx skills add Agent-Hellboy/mcp-runtime --skill mcp-runtime-governance
Clone the repo
git clone --depth 1 https://github.com/Agent-Hellboy/mcp-runtime

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for mcp-runtime-governance

README.md
[![agentmods](https://agentmods.dev/badge/skills/agent-hellboy/mcp-runtime/mcp-runtime-governance.svg)](https://agentmods.dev/skills/agent-hellboy/mcp-runtime/mcp-runtime-governance)
Your own site
<a href="https://agentmods.dev/skills/agent-hellboy/mcp-runtime/mcp-runtime-governance"><img src="https://agentmods.dev/badge/skills/agent-hellboy/mcp-runtime/mcp-runtime-governance.svg" alt="Measured on agentmods" height="20"></a>
Per session 64 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 922 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00064 $0.00922
Opus 5 $0.00032 $0.00461
Sonnet 5 $0.00013 $0.00184
Haiku 4.5 $0.00006 $0.00092

Measured 4d ago against content hash 1ea745e0e504, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

mcp-runtime-governance scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -sS -H "content-type: application/json" \
.codex/skills/mcp-runtime-governance/SKILL.md · 79 lines

How it starts

The opening of the file, as written. The whole thing — 79 lines — stays where its author put it; the contents beside it link to each section on GitHub.

MCP Runtime — governance and MCP traffic

Flows

Path Notes
UI Create/apply grants and sessions; toggle enable/revoke
CLI (default) mcp-runtime auth login --api-url <url>access grant init / access grant apply --file …
Adapter (recommended for agents) adapter stdio|proxy --server <name> --agent <id> [--auto-refresh]POST /api/v1/runtime/adapter/sessions
Admin kube fallback kubectl apply -f or access … --use-kube (bypasses platform auth)

Session apply via platform API is admin-only. Adapters usually skip manual session apply.

Rules (short)

  • One namespace per team; MCPServer.spec.teamID and SubjectRef.teamID must match gateway identity fields exactly when set.
  • Platform API rejects cross-namespace serverRef and shared-catalog writes for non-admins.
  • Each MCPServer.spec.tools[] needs sideEffect: read|write|destructive; grants need explicit allowedSideEffects (empty = deny all classes).
  • server policy inspect shows rendered policy; gateway reloads on a short poll — wait before assuming session_not_found.

Example manifests

apiVersion: mcpruntime.org/v1alpha1
kind: MCPAccessGrant
metadata:
  name: workspace-assistant-grant
  namespace: mcp-servers
spec:
  subject: {humanID: user-123, agentID: ops-agent}
  serverRef: {name: workspace-assistant-mcp, namespace: mcp-servers}
  maxTrust: high
  allowedSideEffects: [read]
  toolRules:
    - {name: add, decision: allow, requiredTrust: low}
---
apiVersion: mcpruntime.org/v1alpha1
kind: MCPAgentSession
metadata:
  name: sess-ops-agent
  namespace: mcp-servers
spec:
  subject: {humanID: user-123, agentID: ops-agent}
  serverRef: {name: workspace-assistant-mcp, namespace: mcp-servers}
  consentedTrust: high
  policyVersion: v1

HTTP API (admin x-api-key)

  • POST /api/v1/runtime/grants, POST /api/v1/runtime/sessions
  • POST /api/v1/runtime/grants/{ns}/{name}/enable|disable
  • POST /api/v1/runtime/sessions/{ns}/{name}/revoke|unrevoke

Read the full file on GitHub · 79 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago First seen · 79 lines · 64 tokens per session scan A 1ea745e0e504

Subscribe to this mod's changes

mcp-runtime-governance is a skill published in the GitHub repository Agent-Hellboy/mcp-runtime (5 stars, last pushed 10d ago), licensed Apache-2.0. It adds 64 tokens to every session and 922 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

local-frontend-check

Smoke-test or verify UI behaviour on the local Jarvis Registry frontend running at http://localhost/gateway. Use for manual regression checks, bug-fix verification, and end-to-end confirmation of specific flows without running the automated test suite.

ascending-llc/jarvis-registry · 52 tokens

generate-server-card

Generate an MCP server card JSON (mcp-gateway-registry format) by analyzing server source code in a folder or GitHub URL. Studies code to detect server name, tools, transport, auth, and generates a registry-compatible config.

agentic-community/mcp-gateway-registry · 52 tokens

debug

Debug issues in the MCP Gateway Registry using first-principles thinking. Invoke when something is broken, timing out, returning errors, or behaving unexpectedly. Forces structured root-cause analysis before any code change is proposed.

agentic-community/mcp-gateway-registry · 45 tokens

playwright-e2e-testing

Playwright modern end-to-end testing framework with cross-browser automation, auto-wait, and built-in test runner.

activepieces/activepieces · 29 tokens

build-audit-logs

Build or review audit trails in TypeScript/JavaScript apps using evlog (pipelines, typed actions, denials, retention, compliance-style reviews). For application code, not for extending the evlog package.

activepieces/activepieces · 49 tokens

triage-image-cves

Scan an Activepieces Docker image with grype for OS/base-image (deb) and application (npm) CVEs of High/Critical severity. Lists the 3 most-recent published tags and lets the user pick which to scan, validates each finding is real and reachable, and proves candidate fixes in an isolated git worktree (rebuild image +…

activepieces/activepieces · 136 tokens