New Your team’s decisions, in one playbook every coding agent works from. Never answer your agent twice

create_harness

Create a new harness (persistent context memory) for a wallet. Also creates RIG STEPS (harness_type 'skill'/'instruction'): content is the step's JSON config — {skill?, instruction, endpoint?, tool?, params?, expects?, produces?, secret_refs?, model?, model_policy?}. model pins the Anthropic mode...

SERVERRokha SOURCEhttps://rokha.ai/mcp/jsonrpc
Medium RISK CLASS
Category Write
Parameters 53 required
Recommended Rate-limitedsee the rule below
Registry record Grade F, identity unverified Pull the record →

This record as markdown: /tools/ai-rokha-rokha/create-harness.md

What create_harness does on Rokha

AI agents use create_harness to create or update resources in Rokha, usually the action step of a workflow, after the agent has gathered context. Every call changes real data in your Rokha environment.

ParameterTypeRequiredDescription
key string Yes Unique key for this harness within the wallet
content string Yes Content/value of the harness
metadata object — Optional metadata for the harness
harness_type string Yes Type of harness
wallet_address string — Wallet address that owns the harness

Parameters from the server's own tool schema.

Why create_harness is rated Medium

Creates persistent memory and execution rigs tied to a wallet; reversible but high-impact write.

From the tool's definition Create a new harness (persistent context memory) for a wallet

Risk signalsAccepts raw HTML/template content (content)

Questions about create_harness

What does the create_harness tool do? +

Create a new harness (persistent context memory) for a wallet. Also creates RIG STEPS (harness_type 'skill'/'instruction'): content is the step's JSON config — {skill?, instruction, endpoint?, tool?, params?, expects?, produces?, secret_refs?, model?, model_policy?}. model pins the Anthropic model for the step's agentic execution (e.g. 'claude-sonnet-4-6'); model_policy 'preferred' (default — swap to the best usable model when the pin isn't available) or 'required' (the step refuses to run without it, typed model_unavailable; non-Haiku models need the owner's own API key). It is categorised as a Write tool in the Rokha MCP Server, which means it can create or modify data. Consider rate limits to prevent runaway writes.

What parameters does create_harness accept? +

create_harness accepts 5 parameters: key, content, metadata, harness_type, wallet_address. Required: key, content, harness_type. The full parameter table on this page comes from the server's own tool schema.

How do I enforce a policy on create_harness? +

Register the Rokha MCP server in PolicyLayer and add a rule for create_harness: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Rokha. Nothing to install.

What risk level is create_harness? +

create_harness is a Write tool with medium risk. Write tools should be rate-limited to prevent accidental bulk modifications.

Can I rate-limit create_harness? +

Yes. Add a rate_limit block to the create_harness rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.

How do I block create_harness completely? +

Set action: deny in the PolicyLayer policy for create_harness. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.

What MCP server provides create_harness? +

create_harness is provided by the Rokha MCP server (https://rokha.ai/mcp/jsonrpc). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.

More on Rokha, and thousands of servers like it.

// THE MCP REGISTRY

PolicyLayer tracks 44,603 MCP servers and 515,000+ tools.

Every server has a live record: who publishes it, whether it answers without auth, its risk grade, every tool classified, the recommended policy. This page is one line of Rokha's. Pull the full record:

Teams ship this data inside their own products. See what a licence covers →

// GET IN TOUCH

Have a question or want to learn more? Send us a message.

Message sent.

We'll get back to you soon.