How to update Jira story points with an AI agent

Connect the AgileMana MCP server and Atlassian's Jira MCP server to an AI agent such as Claude Code. Then ask the agent to copy the final estimates from a planning poker room into the story points field of the matching Jira tickets.

I wrote this because copying estimates by hand after a session is slow, and it is easy to put a 5 on the wrong ticket. With ten tickets it takes a few minutes. The agent does it in one request, and you can review each update before it happens. Below: what the AgileMana server does, how to connect both servers, and the prompt to use.

What does the AgileMana MCP server do?

MCP, the Model Context Protocol, is an open standard that lets an AI agent call tools in other apps. The AgileMana server is at https://agilemana.com/mcp. The agent signs in with a token that you create, and it sees only what you see in the web app.

With a read token, the agent can:

With a write token, it can also create a room, add stories to a room, and change the status of an action item. The agent never sees individual votes, only the final estimate of each story.

How do I connect AgileMana to Claude Code?

  1. Sign up or sign in to AgileMana.
  2. Open Profile > API tokens, enter a name for the token, and select an expiry. Choose read only if the agent only copies estimates to Jira.
  3. Select Create token and copy the token. It starts with amk_, and AgileMana shows it only once.

In Claude Code, run this command in bash or zsh, then paste the token and press Enter. The token is not shown on screen and does not go into your shell history.

read -rs AGILEMANA_TOKEN && \
  claude mcp add --transport http agilemana https://agilemana.com/mcp \
  --header "Authorization: Bearer $AGILEMANA_TOKEN"

Codex CLI, Cursor, VS Code, and Gemini CLI work too. After you sign in, Profile > Connect an AI agent has a configuration snippet for each of them.

To check the connection, ask the agent "List my AgileMana rooms". It should answer with the rooms you have joined, as in this Claude Code session.

Claude Code answering the request List my AgileMana rooms, with a table of room names, slugs, creation dates, and story counts

How do I connect the Jira MCP server to the agent?

Atlassian runs its own Jira MCP server, which also covers Confluence. It signs in with your Atlassian account, so you don't need a Jira API token. I checked these steps against Claude Code and Atlassian's server on 2026-12-03.

  1. Add the server to Claude Code:
    claude mcp add --transport http atlassian https://mcp.atlassian.com/v2/mcp
  2. Start Claude Code and run /mcp. Select atlassian, then Authenticate.
  3. Sign in to Atlassian in the browser window that opens, and allow access to your Jira site.

Run /mcp again. Both agilemana and atlassian should show as connected.

How do I copy the estimates to Jira?

The agent matches each story to a Jira ticket by its link, so put the Jira ticket link or key in each story when you create the room, for example https://your-site.atlassian.net/browse/KAN-12. The browser extension does this for you when it imports tickets.

Run the session as usual. When the team has agreed on the estimates, ask the agent:

Get the AgileMana room sprint-12. For each story with a numeric
final estimate, set the story points of its Jira issue to that
estimate. Skip the other stories. Then list each issue you changed.

Replace sprint-12 with your room's slug, the last part of the room's URL. The agent finds the slug in the room list above, and a request such as "get room details for Sprint 42 Demo" shows what it reads from the room: the ticket and final estimate of each story.

Claude Code showing the details of the room Sprint 42 Demo: state, mode, Fibonacci scheme, room URL, and a table of tickets KAN-1 to KAN-8 with their final estimates, including none and a question mark

The agent reads the room from AgileMana, updates each ticket through Atlassian's server, and lists what it changed. By default, Claude Code asks before it calls each tool, so you can check every update before it happens.

The agent skips stories with no estimate, and stories where the team chose a card such as ?. Estimate those in the next session.

What if the agent cannot find the Jira story points field?

Jira keeps story points in a custom field, and each Jira site names it differently. Common names are "Story Points" and "Story point estimate". If the agent says it cannot find the field, tell it the name you see on your tickets, for example "Use the field Story point estimate". The agent can then look up the field's ID and retry.

How do I keep my AgileMana token safe?

Treat the token like a password. Claude Code stores it in its configuration file, so keep that file private. Signing out and changing your password do not stop a token. To stop one, revoke it on the API tokens page. Create a separate token for each machine, so you can revoke one without touching the others.

Should I use the AI agent or the Jira browser extension?

Both put the estimates in Jira. The browser extension works inside Jira: you pick tickets, create a room from them, and click Sync to JIRA at the end. It needs a Premium or Enterprise plan. The agent suits teams that already work in Claude Code or a similar tool, and the AgileMana side works on any plan. New to estimation sessions? Read how to run a planning poker session first.

Published 2026-12-03. Last updated 2026-12-03.