marchward_register_agent
Register a new agent with Marchward so it is governed from its first action. Returns the agent record and its Marchward API key — the only credential the agent should hold. Call this when building or deploying a new agent.
This record as markdown: /tools/ai-marchward-mcp-server/marchward-register-agent.md
What marchward_register_agent does on Mcp Server
AI agents use marchward_register_agent to create or update resources in Mcp Server, usually the action step of a workflow, after the agent has gathered context. Every call changes real data in your Mcp Server environment.
Why marchward_register_agent is rated Medium
This tool creates and modifies data (agent registration records and API key issuance) but does not delete, execute arbitrary code, or commit financial transactions. The 'high' severity reflects that issuing credentials and registering agents could be misused to create unauthorized agents or compromise governance if called maliciously, though the effects are reversible via agent deletion or key revocation.
From the tool's definition Tool description states 'Register a new agent' and 'Returns the agent record and its Marchward API key', indicating creation of a new record and issuance of credentials.
Attacks that exploit this kind of access
The rule that runs marchward_register_agent safely
PolicyLayer is an MCP gateway: it sits between your AI agents and Mcp Server, and checks every tool call against a rule you set before the call runs. Nothing changes on the server itself. For marchward_register_agent, this is the rule to start with:
marchward_register_agent stays usable, but capped: an agent stuck in a loop can't make hundreds of changes a minute. Everything else on the server is denied unless you say otherwise.
The button opens the PolicyLayer dashboard: create your workspace, connect Mcp Server, apply this rule, and every marchward_register_agent call is checked against it from then on.
Questions about marchward_register_agent
Register a new agent with Marchward so it is governed from its first action. Returns the agent record and its Marchward API key — the only credential the agent should hold. Call this when building or deploying a new agent. It is categorised as a Write tool in the Mcp Server MCP Server, which means it can create or modify data. Consider rate limits to prevent runaway writes.
Register the Mcp Server MCP server in PolicyLayer and add a rule for marchward_register_agent: 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 Mcp Server. Nothing to install.
marchward_register_agent is a Write tool with medium risk. Write tools should be rate-limited to prevent accidental bulk modifications.
Yes. Add a rate_limit block to the marchward_register_agent 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.
Set action: deny in the PolicyLayer policy for marchward_register_agent. 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.
marchward_register_agent is provided by the Mcp Server MCP server (@marchward/mcp-server). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
More on Mcp Server, and thousands of servers like it.
This server
Across the catalogue