Create project
Create a project with a billable default and its members.
MCP tool hubstaff_write → create_project
write
Creates a project and returns it. Only the name is required; add a description, a client, a billable default and members with roles viewer, user or manager in the same call. It reaches no one outside the members you list, and you can archive the project in Hubstaff in one click, so it does not ask for confirmation by default.
Parameters
| Name | Type | Description |
|---|---|---|
| organization_id integer required | integer | Organization ID from list_organizations. |
| name string required | string | Project name. |
| description string | string | Project description. |
| billable boolean | boolean | Whether time is billable by default. Default: true. |
| client_id integer | integer | Client to link; clients need a Teams or Enterprise plan. |
| members object[] | object[] | List of { user_id, role }, role is viewer, user or manager. |
tools/call
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "hubstaff_write",
"arguments": {
"operation": "create_project",
"arguments": {
"organization_id": 412093,
"name": "Website relaunch",
"billable": true,
"members": [
{
"user_id": 3011,
"role": "user"
},
{
"user_id": 3014,
"role": "manager"
}
]
}
}
}
} Example response
{
"content": [
{
"type": "text",
"text": "{ ... same JSON as structuredContent ... }"
}
],
"structuredContent": {
"project_id": 90417,
"name": "Website relaunch",
"status": "active",
"billable": true,
"members": [
{
"user_id": 3011,
"role": "user"
},
{
"user_id": 3014,
"role": "manager"
}
]
},
"isError": false
}