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

workspace_push

Assemble every file staged in the workspace and write them to a branch via the GitHub Git Data API (blobs, tree, commit, ref). Any file size. Creates the branch off base_branch (or the default branch) when it does not exist. Staged rows are kept after the push (retention), never deleted.

SERVERUnClick SOURCE@unclick/mcp-server
Medium RISK CLASS
Category Write
Parameters 64 required
Recommended Rate-limitedsee the rule below
Registry record Grade F, identity unverified Pull the record →

This record as markdown: /tools/io-github-malamutemayhem-unclick-mcp-server/workspace-push.md

What workspace_push does on UnClick

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

ParameterTypeRequiredDescription
repo string Yes GitHub repo name.
owner string Yes GitHub repo owner.
branch string Yes Target branch to write the files to.
message string Commit message.
base_branch string Branch to create from when the target does not exist.
workspace_id string Yes The id returned by workspace_put.

Parameters from the server's own tool schema.

Why workspace_push is rated Medium

This tool creates or modifies Git branches and commits staged files to a repository, which is a reversible write operation. While it doesn't delete data (staged rows are retained), it does materially change repository state by writing new commits and potentially creating new branches.

From the tool's definition 'write them to a branch via the GitHub Git Data API' and 'Creates the branch off base_branch'. The tool modifies repository state by creating/updating branches and committing files.

Risk signalsBulk/mass operation — affects multiple targets

Questions about workspace_push

What does the workspace_push tool do? +

Assemble every file staged in the workspace and write them to a branch via the GitHub Git Data API (blobs, tree, commit, ref). Any file size. Creates the branch off base_branch (or the default branch) when it does not exist. Staged rows are kept after the push (retention), never deleted. It is categorised as a Write tool in the UnClick MCP Server, which means it can create or modify data. Consider rate limits to prevent runaway writes.

What parameters does workspace_push accept? +

workspace_push accepts 6 parameters: repo, owner, branch, message, base_branch, workspace_id. Required: repo, owner, branch, workspace_id. The full parameter table on this page comes from the server's own tool schema.

How do I enforce a policy on workspace_push? +

Register the UnClick MCP server in PolicyLayer and add a rule for workspace_push: 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 UnClick. Nothing to install.

What risk level is workspace_push? +

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

Can I rate-limit workspace_push? +

Yes. Add a rate_limit block to the workspace_push 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 workspace_push completely? +

Set action: deny in the PolicyLayer policy for workspace_push. 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 workspace_push? +

workspace_push is provided by the UnClick MCP server (@unclick/mcp-server). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.

More on UnClick, and thousands of servers like it.

Across the catalogue

// 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 UnClick'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.