Integrating with Asana's MCP Server
Beta feature
By enabling this app integration, you acknowledge that you are using an experimental Model Context Protocol (MCP) server to connect Asana with external large language models (LLMs). As this is an experimental beta tool, it is provided on an "as is" basis. You may encounter bugs, errors, or unexpected results.
Integrating with Our Asana MCP Server
This documentation outlines the process for connecting your MCP client to our official Asana MCP server.
What is a Redirect URI?
A redirect URI, also known as a callback URL, is a critical part of the OAuth 2.0 authorization process. After a user successfully approves your application to access their Asana data, the Asana MCP server sends them back to your application. The redirect URI is the specific endpoint where the authorization server sends the user, along with an authorization code. Your application then exchanges this code for an access token to make authenticated requests to the Asana API on the user's behalf.
Why do we have an allowlist?
MCP is an open protocol, and recommended features like Dynamic Client Registration can introduce challenges to combating malicious clients. To help mitigate this, Asana maintains an allowlist of approved MCP client redirect URIs to protect our users. This is a crucial security measure that helps prevent several types of attacks, most notably phishing and authorization code interception.
Invalid redirect URI handling
If your application attempts to register with the MCP server but its redirect URI is not on our allowlist, the authorization attempt will fail. Your application will receive a JSON error response that looks like this:
{
"error": "invalid_redirect_uri",
"error_description": "One or more redirect URIs are not allowed",
"disallowed_uris": ["https://unallowed.com"]
}
Connecting your MCP client
If you wish to connect your MCP client to the official Asana MCP server, you will need to have your redirect URI added to our allowlist.
To request the addition of a new redirect URI, please make a request through our internal request form.
Our team will review your request and, upon approval, add your redirect URI to the allowlist, enabling your client to integrate with our server.
Updated 1 day ago