Start a new Happy AI session on a machine. Use happy_list_machines to find available machines first. Use happy_list_environment_sets to see available environment presets. Optionally create a Git worktree for isolated development.
AI agents invoke happy_start_session to trigger actions in Happy Server MCP. What it does depends on the arguments the agent supplies, and its effects often reach beyond the immediate call — builds kicked off, notifications sent, workflows started.
This tool initiates processes on remote machines and creates development environments, making it an Execute action. It has a high severity due to its ability to spawn sessions and configure development contexts across multiple machines, with potential side effects including resource allocation, environment setup, and Git repository state changes.
From the tool's definition The tool 'starts a new Happy AI session on a machine' and can 'create a Git worktree for isolated development', triggering external operations on remote machines whose effects depend on arguments (machine selection, environment preset, Git configuration).
Attacks that exploit this kind of access
Start a new Happy AI session on a machine. Use happy_list_machines to find available machines first. Use happy_list_environment_sets to see available environment presets. Optionally create a Git worktree for isolated development. It is categorised as a Execute tool in the Happy Server MCP MCP Server, which means it can trigger actions or run processes. Use rate limits and argument validation.
Register the Happy Server MCP server in PolicyLayer and add a rule for happy_start_session: 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 Happy Server MCP. Nothing to install.
happy_start_session is a Execute tool with high risk. Execute tools should be rate-limited and have argument validation enabled.
Yes. Add a rate_limit block to the happy_start_session 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 happy_start_session. 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.
happy_start_session is provided by the Happy Server MCP server (zhigang1992/happy-server-mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
Every MCP server has a record like this.
Type a name, get the same breakdown: verified identity, auth posture, risk grade, capabilities, recommended policy.
Teams ship this data inside their own products. See what a licence covers →