Home / Servers / DigitalOcean API / projects_assign_resources
Assign Resources to a Project
An MCP tool from the DigitalOcean API server, hosted on mcp.hjlabs.in.
Assign Resources to a Project To assign resources to a project, send a POST request to /v2/projects/$PROJECT_ID/resources. You must have both project:assign_resource and :read scopes to assign new resources. For example, to… [POST /v2/projects/{project_id}/resources]
Name on the gateway: digitalocean_api__projects_assign_resources · may change things.
Parameters
| Name | Type | Description |
|---|---|---|
project_id required | string | A unique identifier for a project. |
resources | array | A list of uniform resource names (URNs) to be added to a project. Only… |
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": "digitalocean_api__projects_assign_resources",
"arguments": {
"project_id": "…"
}
}Or connect the DigitalOcean API server directly, which lists 874 tools including this one:
claude mcp add --transport http hj-digitalocean-api https://mcp.hjlabs.in/mcp/digitalocean-api \
--header "Authorization: Bearer YOUR_API_KEY"Try asking
Use the assign resources to a project tool with project_id set to ….