Connect a client
Setting up an agent takes three steps in Taskgert, then one in your MCP client.
Asking an AI agent to do it. Tell it "install the Taskgert MCP, https://taskgert.com/mcp". The page points
agents at /llms.txt: the same steps as plain text, with the command for each client. Opening the
server's own address (https://mcp.taskgert.com/mcp) in a browser or a fetch tool also answers with them. The agent
cannot make the token: it asks you for one (steps 1 to 3 below), adds the server and checks it with whoami.
1. Create a bot
Open Agents in the sidebar (you need a workspace), tab Live sessions (the sessions are listed first; the bots are under Bots and tokens), and create a bot. Give it a name people will recognise in the activity, such as "Claude".
2. Add the bot to a project
Open the project, go to Settings → Members & access, and add the bot with the role it needs — usually EDITOR. The bot only ever
sees the projects it was added to.
3. Create a token
On the bot's page, create a token and choose its scopes (see Concepts). An agent that works
on tasks needs projects:read tasks:read tasks:write comments:write attachments:write memory:read memory:write. Copy the token: it is shown
only once.
4. Configure your client
The server speaks Streamable HTTP at https://mcp.taskgert.com/mcp (for a self-hosted Taskgert, use your own
MCP address), with the token as a bearer header.
Claude Code
claude mcp add --transport http taskgert https://mcp.taskgert.com/mcp \
--header "Authorization: Bearer tgt_live_…"
Add --scope project to share the server (not the token) with your repository, or --scope local to keep it to
yourself. Check it with claude mcp get taskgert.
In a repository with the kit, taskgert init --update also adds a status line (model, task, context, tokens) and
hooks that tell each task what your session used on it, per model and with its subagents
(Session usage); they use this registration.
Cursor
In ~/.cursor/mcp.json (or .cursor/mcp.json in a project):
{
"mcpServers": {
"taskgert": {
"url": "https://mcp.taskgert.com/mcp",
"headers": { "Authorization": "Bearer tgt_live_…" }
}
}
}
opencode
In opencode.json at the root of a project, or in ~/.config/opencode/opencode.json for every project:
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"taskgert": {
"type": "remote",
"url": "https://mcp.taskgert.com/mcp",
"oauth": false,
"headers": { "Authorization": "Bearer tgt_live_…" }
}
}
}
"oauth": false tells opencode not to try OAuth with this server: Taskgert authenticates with the bot's token.
To keep the token out of a shared opencode.json, write "Bearer {env:TASKGERT_TOKEN}" and export
TASKGERT_TOKEN in your shell. Check it with opencode mcp list (taskgert should show as connected), then ask
the agent to call whoami: the token itself is checked on the first tool call. With the kit, the plugin
.opencode/plugin/taskgert-usage.ts reports what each session uses on its task, with that TASKGERT_TOKEN.
Pi
One command in your terminal (Pi, the coding agent) connects it:
pi mcp add taskgert --url https://mcp.taskgert.com/mcp \
--header "Authorization=Bearer tgt_live_…"
Pi takes a header as KEY=VALUE, with = (not Authorization: Bearer). This writes the server to
~/.pi/agent/mcp.json. Check it with pi mcp list (taskgert should show as connected). To keep the token out of that file, add --bearer-token-env-var TASKGERT_TOKEN instead
of --header and export TASKGERT_TOKEN in your shell — Pi then sends Authorization: Bearer ${TASKGERT_TOKEN}. Ask the agent to call whoami to check the token on the first tool call.
Claude Desktop
Claude Desktop runs local servers from claude_desktop_config.json; bridge to Taskgert with mcp-remote:
{
"mcpServers": {
"taskgert": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://mcp.taskgert.com/mcp",
"--header",
"Authorization: Bearer tgt_live_…"
]
}
}
}
Restart Claude Desktop after editing the file.
Any other MCP client
Point it at the URL above with the header Authorization: Bearer <token>. The server is stateless: no session
to open or close, every request stands alone.
5. Try it
Ask your agent:
Call whoami, then list my projects and show me the board of the first one.
whoami tells the agent which bot it is and what its token allows — the quickest way to check the setup.