manage-users

Manage users, user groups, and service accounts via Harness MCP: list and search users, create and manage team-based user groups, create service accounts for automation, and view available permissions. Use for listing users, creating user groups, managing service accounts, checking who has access, or setting team permissions (not for role assignments or resource group management).

Last repository push
GitHub Stars
138
Forks
30
Issues / PRs
4

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "manage-users" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-11476b02e8666363a35c0150b12082ab2d5d633810576d4225be259ad31da5c1. Verify the upstream source and version against https://github.com/harness/harness-skills before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

github.com

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

Manage users, user groups, and service accounts via Harness MCP: list and search users, create and manage team-based user groups, create service accounts for automation, and view available permissions. Use for listing users, creating user groups, managing service accounts, checking who has access, or setting team permissions (not for role assignments or resource group management).

0 Downloads

Introduction source: third_party · harness · 1.0.0 Reference

SkillPi interpretation

Tasks
Not specified in the source documentation.
Audience
Not specified in the source documentation.
Inputs and outputs
Not specified in the source documentation.
Software, accounts and paid services
Not specified in the source documentation.
Limits and differences
Not specified in the source documentation.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: manage-users
description: >-
  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.
metadata:
  author: Harness
  version: 1.0.0
  mcp-server: harness-mcp-v2
license: Apache-2.0
compatibility: Requires Harness MCP v2 server (harness-mcp-v2)

Manage Users

Manage users, user groups, and service accounts via MCP.

Instructions

Step 1: List Users

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.

Step 2: Get User Details

Call MCP tool: harness_get
Parameters:
  resource_type: "user"
  resource_id: "<user_id>"

Step 3: Manage User Groups

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>"

Step 4: Manage Service Accounts

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>"

Step 5: List Available Permissions

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 Types

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)

Relationship to /manage-roles

This skill manages principals (users, groups, service accounts). Use /manage-roles to assign roles and resource groups to these principals:

  1. /manage-users -- Create the user group or service account
  2. /manage-roles -- Assign a role + resource group to that principal

Examples

  • "List all users in the account" -- List users with no filter
  • "Find user john.doe" -- List users with search_term "john.doe"
  • "Create a user group for the platform team" -- Create user_group with member user IDs
  • "Create a service account for CI automation" -- Create service_account
  • "What permissions are available?" -- List permissions
  • "Delete the old test-bot service account" -- Delete service_account

Performance Notes

  • Verify user email addresses and group identifiers before making changes.
  • List existing groups and service accounts before creating to avoid duplicates.
  • For service accounts, confirm the token expiry and scope match the intended usage.

Troubleshooting

User Not Found

  • Users are account-scoped -- no org/project needed
  • Try searching by email address instead of display name
  • User must be invited to the account before they appear

Cannot Create User

  • Users cannot be created via API -- they must be invited through the Harness UI or SCIM provisioning
  • Use user groups and service accounts for programmatic access

Service Account Has No Access

  • Creating a service account alone does not grant permissions
  • Use /manage-roles to assign a role to the service account
  • Generate an API key for the service account via the Harness UI

Current listing version

1.0.0

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value92/100

Highlights

  • 面向 Harness 平台用户管理的高频刚需场景
  • 提供完整闭环能力(增删查改及权限查看)
  • 明确的使用边界说明(与 manage-roles 分工)
Trigger Precision95/100

Highlights

  • 触发词覆盖全面且边界清晰
  • 明确排除角色分配和资源组管理场景
  • description 位置正确且内容完整
Structure and Standards95/100

Highlights

  • Phase/步骤清晰(Step 1-5 分阶段说明)
  • 含端到端示例和完整 frontmatter
  • 单文件长度合理,结构规范
Execution Reliability90/100

Highlights

  • 工具来源明确,参数说明完整
  • 覆盖主要异常场景(Troubleshooting 章节)
  • 不可逆操作有确认机制和验证提醒
Evidence Verifiability (mean of the first four)93/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

  • Accounts, secrets or authorization

    Use a dedicated least-privilege account. Keep secrets out of public content and command logs; verify the receiving service and tenant.

    Mentioned in main document · lines 189

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Not specified in the source documentation.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.