mcp-runtime-governance

mcp-runtime-governance is a skill for Codex from Agent-Hellboy/mcp-runtime. It costs 64 tokens per session (1,019 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 Codex

Written for Codex: installed under .codex/.

Good fit 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.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/agent-hellboy/mcp-runtime/mcp-runtime-governance
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.

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: 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/github.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/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for mcp-runtime-governance

Your own site · 80×15
<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="Reviewed on agentmods" width="80" 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 1,019 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00064 $0.01019
Opus 5.5 $0.00026 $0.00408
Sonnet 5.5 $0.00013 $0.00204
Haiku 4.5 $0.00006 $0.00102

Measured 2mo ago against content hash 92408623fa8d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 2mo 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 · 80 lines

How it starts

The opening of the file, as written. The whole thing — 80 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 — create
  • GET|DELETE|PATCH /api/v1/runtime/grants/{ns}/{name} — PATCH {"disabled": true|false} is the current toggle
  • GET|DELETE|PATCH /api/v1/runtime/sessions/{ns}/{name} — PATCH {"revoked": true|false} is the current toggle
  • POST .../grants/{ns}/{name}/enable|disable and POST .../sessions/{ns}/{name}/revoke|unrevoke still work but are marked legacy in the handler comments (services/runtime-api/internal/runtimeapi/grants.go, sessions.go) — prefer PATCH for new callers

Read the full file on GitHub · 80 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. 2mo ago Changed · +1 lines 92408623fa8d
  2. 3mo 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 (6 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 64 tokens to every session and 1,019 once invoked, about $0.0003 per session on Opus 5.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

mcp-runtime-governance compared with skills from other repositories

mcp-runtime-governance next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
mcp-runtime-governanceAgent-Hellboy/mcp-runtimeSkill62mo agoApache-2.0A64Codex
agentcore-registeragentic-community/mcp-gateway-registrySkill1.1ktodayApache-2.0A49Claude Code
clio-fsiowarp/clio-kitSkill35yesterdayBSD-3-ClauseA141Claude Code
implementing-mcp-resourcesphughesmcr/deno-mcp-templateSkill3423d agoMITA76Claude Code, Codex
chimod-deviowarp/clio-kitSkill35yesterdayBSD-3-ClauseA125Claude Code
api-requestssaidsef/mcp-github-pr-issue-analyserSkill6todayApache-2.0A41Claude Code, Codex
hercules-application-testing0xMihirK/hercules-mcpSkill623d agoMITA32Claude Code