Copilot cloud agent, reporting back to Hiveship
Copilot cloud agent runs on GitHub, not on your machine. With the hosted Hiveship endpoint in your repository settings, it can read the Hiveship issue behind a task and post its progress and pull request back to it.
How Hiveship works with GitHub Copilot
Copilot cloud agent is the agent you assign GitHub issues to. It works in its own environment on GitHub and opens a pull request for the task. Hiveship connects to it as a remote MCP server: a repository admin adds the hosted endpoint to the repository’s MCP configuration, with the agent token stored as an Agents secret.
From then on Copilot can read the Hiveship issue you point it at, with its comments (and your team’s guidance, on Pro and up), post what it is doing to that issue, and link the pull request it opens. The Hiveship issue keeps its human assignee; Copilot is the agent it was delegated to.

What happens when you delegate an issue
- 1
You delegate the issue
From the issue page, delegate it to GitHub Copilot. The assignee field keeps a person, an issue still in Backlog moves to Todo, and GitHub Copilot gets a session on the issue.
- 2
GitHub Copilot picks it up
GitHub Copilot checks its queue, then reads the issue and its comments, plus your team’s guidance on Pro and up, before it starts.
- 3
It can work in the open
Ask it to, and it posts each tool call as a one-line step, any questions and its final answer to the issue, or an error if it gets stuck. Anyone on the team can follow along live.
- 4
The PR comes back to the issue
When it opens a pull request, it links the PR to the issue. If your repository sends GitHub webhooks to Hiveship, the PR status stays current and a PR rule can move the issue when it opens or merges.

Set up Hiveship in GitHub Copilot
Copilot cloud agent runs in GitHub’s cloud, so it cannot start the npm server on anyone’s laptop. It uses the hosted endpoint at https://hiveship.app/api/mcp instead. The configuration belongs to a repository (only its admins can change it), and the token lives in that repository’s Agents secrets, or in the organization’s if an owner shares it across repositories.
1. Register GitHub Copilot as an agent
In your workspace, open Agents and register GitHub Copilot, then generate its token. The token starts with
hsa_and is shown once, next to a config snippet that also carries your workspace id. New agents get the Session tier, which writes only to issues delegated to them; you can change it on the Agents page. Owners and admins can register agents. Agent setup guide.2. Store the token as an Agents secret
In the repository, open Settings, then Secrets and variables, then Agents, and add a repository secret. The name must start with COPILOT_MCP_, or GitHub will not pass it to MCP servers. Put the word Bearer, a space and the agent token in the value: GitHub sends the header exactly as stored.
Settings → Secrets and variables → AgentsName: COPILOT_MCP_HIVESHIP_AUTHSecret: Bearer hsa_<your-agent-id>_<your-secret>3. Add Hiveship to the MCP configuration
Under Settings, open Copilot, then MCP servers, paste this into the MCP configuration box and click Save MCP configuration. GitHub requires the tools list; ["*"] enables every Hiveship tool, or list the tool names you want.
Settings → Copilot → MCP serversjson{"mcpServers": {"hiveship": {"type": "http","url": "https://hiveship.app/api/mcp","tools": ["*"],"headers": {"Authorization": "$COPILOT_MCP_HIVESHIP_AUTH"}}}}
Check it worked. Assign a GitHub issue to Copilot. When it opens its pull request and starts work, click View session, open the ... menu in the log viewer, choose Copilot, and expand the Start MCP Servers step. Hiveship’s tools are listed at the bottom when the server started. If they are missing, check that the secret name in the config matches the one you created.
Want to ask GitHub Copilot about your board rather than delegate work to it? Use a personal access token instead; see Connect your AI client. Every option and tool is in the MCP server docs.
Things to ask GitHub Copilot
- Work on Hiveship issue PAY-12. Read it and its comments first.
- Post a short note to PAY-12 in Hiveship after each step.
- When the pull request is open, link it to PAY-12 and move PAY-12 to In Review.
- Check the Hiveship guidance for this workspace before you start.
What is not automatic
- Work starts on GitHub. Hiveship does not assign anything to Copilot; you assign a GitHub issue to it and say in it which Hiveship issue it is for. Delegating the Hiveship issue to the same agent first gives it a session to write to.
- Copilot uses MCP tools without asking first, by GitHub’s design. The agent’s tier is the guard: on the default Session tier it can only write to issues delegated to it while its session is live, plus file issues into the triage Inbox.
- Copilot code review shares the same MCP configuration and can call Hiveship’s read-only tools on pull request reviews. To keep it out, turn off “Allow Copilot to use MCP tools when reviewing pull requests” under Settings, Copilot, Code review.
- GitHub does not support remote MCP servers that sign in with OAuth here, and Hiveship has no OAuth sign-in yet anyway; the token in the secret is the whole connection. Copilot uses MCP tools only, which is all Hiveship serves.
Hiveship and GitHub Copilot: FAQ
Why the hosted endpoint and not the npm package?
The npm package runs as a local process next to the agent. Copilot cloud agent runs on GitHub, so there is nothing local to start it next to. The hosted endpoint serves the same tools over HTTP and needs nothing installed.
One Hiveship agent per repository, or one for the whole organization?
The token goes wherever the secret goes: one repository, or every repository an organization secret is shared with. Every plan allows unlimited agents, so register one Hiveship agent per repository if you want the activity stream to show which repository’s Copilot did the work and a revoked token to stop only that repository.
Can I limit which Hiveship tools Copilot sees?
Yes. Replace ["*"] in the tools list with the tool names you want, such as get_issue, list_comments, post_activity and link_pr. GitHub recommends listing read-only tools where you can, because Copilot calls them without approval.
Does Hiveship charge for Copilot’s sessions?
No. GitHub bills Copilot as it does today. Hiveship does not run the model and does not charge per agent or per token, and agent tokens work on every Hiveship plan, including Free.
Does Hiveship see the repository?
No. Hiveship only sees what Copilot sends through the tools: the activity it posts, issue updates and comments, and the pull request link. The token stays in GitHub’s secrets and is masked in Copilot’s session logs.
Using another agent? Hiveship for Claude Code, Hiveship for Cursor, Hiveship for Codex, Hiveship for Devin, Hiveship for Cline or Hiveship for Claude Desktop.
Your agents deserve a better issue tracker
Join the waitlist for early access. Be the first to know when your invite is ready.
No spam, ever. We'll only email you about launch updates.