asana-setup

asana-setup is a command for Claude Code from anthropics/claude-plugins-official. It costs 22 tokens per session (491 once invoked), scanned A, original, Apache-2.0.

A one-time setup guide for connecting Claude Code to Asana's V2 MCP server. OAuth is the sign-in process that lets the connection act with your permission.

In plain words
What is it for?
Set the callback URL, collect an Asana client ID and secret, and add the Asana server to Claude Code.
Why use it?
It explains how to create the required Asana OAuth app and run the connection command yourself, including the hidden secret prompt that needs a real terminal.

Command for Claude Code ✓ vendor

Written for Claude Code: argument-hint in frontmatter. Also seen: positional $N argument; mentions Claude Code.

Part of the asana plugin — 1 command shipped together

Good fit Set the callback URL, collect an Asana client ID and secret, and…

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/anthropics/claude-plugins-official/asana-setup
About the project

Claude Code Plugins Directory is a marketplace containing plugins for Claude Code, including tools, commands, skills, agents, hooks, and model context servers. Claude Code users browse it to install Anthropic-maintained or approved third-party extensions.

anthropics/claude-plugins-official · 35,945 stars · on GitHub · code.claude.com

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/anthropics/claude-plugins-official

Made for: Claude Code.

Or install asana, the plugin that ships this one along with the rest of its 1 command.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for asana-setup

README.md
[![agentmods](https://agentmods.dev/badge/commands/anthropics/claude-plugins-official/asana-setup.svg)](https://agentmods.dev/commands/anthropics/claude-plugins-official/asana-setup)
Your own site
<a href="https://agentmods.dev/commands/anthropics/claude-plugins-official/asana-setup"><img src="https://agentmods.dev/badge/commands/anthropics/claude-plugins-official/asana-setup.svg" alt="Measured on agentmods" height="20"></a>
Per session 22 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 491 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00022 $0.00491
Opus 5 $0.00011 $0.00246
Sonnet 5 $0.00004 $0.00098
Haiku 4.5 $0.00002 $0.00049

Measured 7d ago against content hash 3d4d6079c76c, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

asana-setup scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 7d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

external_plugins/asana/commands/asana-setup.md · 43 lines

What it actually says

The user wants to connect Claude Code to Asana's V2 MCP server. Guide them through the one-time setup below. Do NOT run claude mcp add yourself — the --client-secret prompt needs a real terminal (a hidden TTY prompt), so the user must run it in their own terminal.

Their Asana OAuth Client ID (if provided): $1

Print these steps clearly, substituting the Client ID into the command if $1 is non-empty (otherwise leave the YOUR_CLIENT_ID placeholder):

Step 1 — Create an Asana OAuth app (one time)

  1. Open the Asana developer console: https://app.asana.com/0/my-apps
  2. Create a new app.
  3. Under OAuth, add this exact Redirect URL:
    http://localhost:8080/callback
    
  4. Copy the Client ID and Client Secret.

Note: localhost is correct — Claude Code is a local client and catches the OAuth callback on your own machine. Asana's V2 server does not support Dynamic Client Registration, so you must bring your own client_id + client_secret.

Step 2 — Add the server (run this in YOUR terminal)

claude mcp add --transport http \
  --client-id YOUR_CLIENT_ID --client-secret \
  --callback-port 8080 \
  asana https://mcp.asana.com/v2/mcp
  • --client-secret (no value) triggers a hidden prompt; paste the Client Secret there. It is stored in your OS keychain.
  • The port in --callback-port must match the http://localhost:8080/callback redirect you registered.

Step 3 — Authenticate & verify

  1. On first use, Claude Code opens your browser for Asana consent — approve it.
  2. Run /mcp and confirm asana shows as connected.
  3. Test it: ask "list my Asana workspaces".

After printing the steps, offer to help troubleshoot if they hit invalid_redirect_uri (redirect/port mismatch) or invalid_client (wrong id/secret).

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 7d ago First seen · 43 lines · 22 tokens per session scan A 3d4d6079c76c

Subscribe to this mod's changes

asana-setup is a command published in the GitHub repository anthropics/claude-plugins-official (35,945 stars, last pushed yesterday), licensed Apache-2.0. It adds 22 tokens to every session and 491 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.