Skip to content

The agent that grows with you

fix(mcp): migrate Asana catalog to V2

KoNit-K7954418d9029
diff --git a/optional-mcps/asana/manifest.yaml b/optional-mcps/asana/manifest.yaml
index 800ed65c0fb..fd4a4b19694 100644
--- a/optional-mcps/asana/manifest.yaml
+++ b/optional-mcps/asana/manifest.yaml
@@ -7,13 +7,14 @@ description: >-
Tasks, projects, and goals from your Asana workspace.
source: https://developers.asana.com/docs/using-asanas-mcp-server
-# Official vendor-hosted remote MCP (URL-only — Hermes never spawns a local
-# process for this entry). Native OAuth 2.1 + Dynamic Client Registration;
-# Hermes's MCP client + mcp_oauth_manager handle discovery, PKCE, token
-# exchange, and refresh.
+# Asana's V2 remote MCP uses Streamable HTTP. It requires a user-owned,
+# pre-registered Asana MCP app with static OAuth client credentials.
+# V2 does not support Dynamic Client Registration. Hermes preserves its OAuth
+# callback flow and uses the configured client credentials for token exchange
+# and refresh.
transport:
type: http
- url: https://mcp.asana.com/sse
+ url: https://mcp.asana.com/v2/mcp
auth:
type: oauth
@@ -26,6 +27,20 @@ suggest:
- asana.com
post_install: |
- On first connection Hermes opens a browser to authorize with
- Asana (or run `hermes mcp login asana`). Approve access,
- then restart the session so tools load.
+ Before logging in, create an Asana MCP app in the Asana developer console
+ and register Hermes's exact callback URL. The default is
+ http://localhost:27890/callback; if you configure a different redirect host
+ or port, register that exact URL instead.
+
+ Store the app's client ID and client secret outside source control (for
+ example, as ASANA_CLIENT_ID and ASANA_CLIENT_SECRET in the active profile's
+ .env), then add them to this server's oauth configuration:
+
+ mcp_servers:
+ asana:
+ oauth:
+ client_id: "${ASANA_CLIENT_ID}"
+ client_secret: "${ASANA_CLIENT_SECRET}"
+
+ Run `hermes mcp login asana`, approve access in the browser, and reload or
+ restart the Hermes session or gateway that should expose the Asana tools.
diff --git a/tests/hermes_cli/test_mcp_catalog.py b/tests/hermes_cli/test_mcp_catalog.py
index 04f8bcacf82..30d40de672d 100644
--- a/tests/hermes_cli/test_mcp_catalog.py
+++ b/tests/hermes_cli/test_mcp_catalog.py
@@ -888,6 +888,26 @@ class TestToolsConfigIncludeMode:
class TestShippedCatalog:
+ def test_asana_catalog_uses_v2_static_oauth_guidance(self):
+ """Asana V2 is Streamable HTTP and does not support OAuth DCR."""
+ manifest = Path(__file__).parents[2] / "optional-mcps" / "asana" / "manifest.yaml"
+ raw_manifest = manifest.read_text(encoding="utf-8")
+ entry = yaml.safe_load(raw_manifest)
+
+ assert entry["transport"] == {
+ "type": "http",
+ "url": "https://mcp.asana.com/v2/mcp",
+ }
+ assert "https://mcp.asana.com/sse" not in raw_manifest
+ assert "Streamable HTTP" in raw_manifest
+ assert "Native OAuth 2.1 + Dynamic Client Registration" not in raw_manifest
+ assert re.search(
+ r"does\s+not support Dynamic Client Registration", raw_manifest
+ )
+ assert "pre-registered" in raw_manifest
+ assert "ASANA_CLIENT_ID" in raw_manifest
+ assert "ASANA_CLIENT_SECRET" in raw_manifest
+
def test_all_shipped_manifests_parse(self, monkeypatch):
"""Every manifest in optional-mcps/ must parse cleanly.