Home / Servers / Asana API / search_projects_for_workspace
Search projects in a workspace
An MCP tool from the Asana API server, hosted on mcp.hjlabs.in.
Search projects in a workspace Required scope: projects:read To mirror the functionality of the Asana web app's advanced search feature, the Asana API has a project search endpoint that allows you to build complex filters to find… [GET /workspaces/{workspace_gid}/projects/search]
Name on the gateway: asana_api__search_projects_for_workspace · read-only.
Parameters
| Name | Type | Description |
|---|---|---|
workspace_gid required | string | Globally unique identifier for the workspace or… |
opt_pretty | boolean | Provides “pretty” output. Provides the response in a “pretty” format. In the… |
limit | integer | Results per search response. The number of objects to return in one search… |
text | string | Performs full-text search on the project name. |
sort_by | due_date | created_at | completed_at | modified_at | relevance | One of due_date, created_at, completed_at, relevance, or modified_at, defaults… |
sort_ascending | boolean | Default false. |
completed | boolean | Filter on project completion status. |
teams.any | string | Comma-separated list of team IDs. |
owner.any | string | Comma-separated list of user identifiers to filter on as project owners. This… |
members.any | string | Comma-separated list of user identifiers to filter on as members. This can… |
members.not | string | Comma-separated list of user identifiers to exclude as members. This can… |
portfolios.any | string | Comma-separated list of portfolio IDs to filter on. |
completed_on | string | ISO 8601 date string or null. |
completed_on.before | string | ISO 8601 date string. |
completed_on.after | string | ISO 8601 date string. |
completed_at.before | string | ISO 8601 datetime string. |
completed_at.after | string | ISO 8601 datetime string. |
created_on | string | ISO 8601 date string or null. |
created_on.before | string | ISO 8601 date string. |
created_on.after | string | ISO 8601 date string. |
created_at.before | string | ISO 8601 datetime string. |
created_at.after | string | ISO 8601 datetime string. |
due_on | string | ISO 8601 date string or null. |
due_on.before | string | ISO 8601 date string. |
due_on.after | string | ISO 8601 date string. |
due_at.before | string | ISO 8601 datetime string. |
due_at.after | string | ISO 8601 datetime string. |
start_on | string | ISO 8601 date string or null. |
start_on.before | string | ISO 8601 date string. |
start_on.after | string | ISO 8601 date string. |
opt_fields | array | This endpoint returns a resource which excludes some properties by default. To… |
How to call it
Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:
{
"name": "asana_api__search_projects_for_workspace",
"arguments": {
"workspace_gid": "…"
}
}Or connect the Asana API server directly, which lists 270 tools including this one:
claude mcp add --transport http hj-asana-api https://mcp.hjlabs.in/mcp/asana-api \
--header "Authorization: Bearer YOUR_API_KEY"Try asking
Use the search projects in a workspace tool with workspace_gid set to ….