Credentials. A native MCP grant lets the authorized client decrypt the session server side, so issue it only to an agent you fully trust and rotate it when the work ends.
Who it is forAn engineer running multiple agents who wants one agent to monitor or drive a session started by another agent.
The problemLetting a second agent act on a live terminal needs a bounded permission, and a browser password alone does not give it the right access.
The outcomeA second agent receives a scoped grant for one session, and you can revoke that access by rotating the session password.
What you need first
- A computer that will run the work, kept awake and online for the whole session
- Terminal access on that computer, plus Git and Go 1.26.9 if you build from source instead of using the installer
- A browser on the phone, tablet or other computer you will use to open the session link
- An agent you already have installed (Claude Code, Codex, OpenCode or Muse), or any terminal command you want to run
Steps
- Install the CLI and start the primary agent with
shell claude,shell codex,shell opencodeorshell muse. - Follow the guide at https://shell.online/agents/ to create a scoped MCP grant for the session.
- Give the grant only to the agent you intend to authorize.
- Run
shell password rotateon that session to change browser access and revoke MCP grants when access should end.
Prompt for your agent
Using the repo TeoSlayer/shell.online, start <agent-name> on this machine with `shell <agent-name>` and follow https://shell.online/agents/ to create one scoped MCP grant for that session. Expected output: a grant that the second agent can use for that session only. Verify that the grant works for inspecting the session and that `shell password rotate` on that session revokes it.
Caveat. The README points to the agents guide for the grant steps and does not show the grant commands, so follow that guide directly rather than assuming a command.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for TeoSlayer/shell.online and "Give another agent scoped access to a session"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer