Manage Harness users, user groups, and service accounts via MCP. List and search users, create and manage user groups for team-based access, create service accounts for API automation, and view available permissions. Use when asked to list users, create a user group, manage service accounts, check who has access, or set up team permissions. Do NOT use for role assignments or resource groups (use manage-roles instead). Trigger phrases: list users, user group, service account, who has access, team permissions, add user to group, create service account.
74
93%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
Passed
No findings from the security scan
Manage users, user groups, and service accounts via MCP.
Call MCP tool: harness_list
Parameters:
resource_type: "user"
search_term: "<name or email>"Users are account-scoped. Use search_term to filter by name or email.
Call MCP tool: harness_get
Parameters:
resource_type: "user"
resource_id: "<user_id>"List groups:
Call MCP tool: harness_list
Parameters:
resource_type: "user_group"
org_id: "<organization>"
project_id: "<project>"
search_term: "<group name>"Get group details:
Call MCP tool: harness_get
Parameters:
resource_type: "user_group"
resource_id: "<group_identifier>"
org_id: "<organization>"
project_id: "<project>"Create a group:
Call MCP tool: harness_create
Parameters:
resource_type: "user_group"
org_id: "<organization>"
project_id: "<project>"
body:
identifier: "backend_team"
name: "Backend Team"
description: "Backend engineering team"
users:
- "<user_id_1>"
- "<user_id_2>"Delete a group:
Call MCP tool: harness_delete
Parameters:
resource_type: "user_group"
resource_id: "<group_identifier>"
org_id: "<organization>"
project_id: "<project>"List service accounts:
Call MCP tool: harness_list
Parameters:
resource_type: "service_account"
org_id: "<organization>"
project_id: "<project>"Create a service account:
Call MCP tool: harness_create
Parameters:
resource_type: "service_account"
org_id: "<organization>"
project_id: "<project>"
body:
identifier: "ci_bot"
name: "CI Bot"
description: "Service account for CI pipeline automation"
email: "ci-bot@harness.io"Delete a service account:
Call MCP tool: harness_delete
Parameters:
resource_type: "service_account"
resource_id: "<service_account_identifier>"
org_id: "<organization>"
project_id: "<project>"Call MCP tool: harness_list
Parameters:
resource_type: "permission"This returns all platform permissions. Use this to understand what permissions can be assigned via roles.
| Resource Type | Scope | Operations | Description |
|---|---|---|---|
user | Account | list, get | Platform users (read-only) |
user_group | Project | list, get, create, delete | User groups for RBAC |
service_account | Project | list, get, create, delete | API automation accounts |
permission | Account | list | Available permissions (read-only) |
This skill manages principals (users, groups, service accounts). Use /manage-roles to assign roles and resource groups to these principals:
/manage-users -- Create the user group or service account/manage-roles -- Assign a role + resource group to that principal/manage-roles to assign a role to the service accountharness/harness-ai
23e9b8b
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.