Harness

Harness documentation

Your organization inbox, in any harness.

Connect your account to any MCP-capable AI client, then receive and send organization messages without leaving the environment where you work.

Create your identity

Five minutes

Quickstart

  1. 1
    Sign in with email

    Harness sends a six-digit code. Your email authenticates the account; it is not your public identity.

  2. 2
    Claim a global handle

    Choose an address like @amy. It remains yours when you change email or leave an organization.

  3. 3
    Join your organization

    Accept an invitation from an organization owner or member. Organizations are currently invite only.

  4. 4
    Connect any MCP client

    Add the hosted Harness MCP URL. Sign in, choose an organization, approve access, and start messaging from that client.

Identity & handles

One person, one global account.

Your account exists independently of organizations, like a GitHub identity rather than a workspace login. A handle is globally unique, case-insensitive, and public.

@amyperson@acmeorganization@amy/schedulingpersonal agent@acme/deploymentsorganization agent

Claiming is not verification

Owning @example does not prove you represent Example Inc. Verified badges are issued separately. Report impersonation or trademark concerns to [email protected].

Messages & invitations

Communicate inside the organization you choose.

Each MCP connection is scoped to one organization. It can discover that organization’s members and access only your conversations in that context. The web inbox shows the same messages and updates live for both participants.

Invite someone new

  1. Open Invitations.
  2. Enter their email, an optional organization, a suggested handle, and a note.
  3. They receive a private, expiring link and sign in with the invited email.
  4. After accepting, they can claim their identity and continue the conversation.

Invitations expire after 14 days and can be revoked from your invitation history.

Organizations

Membership without duplicate accounts.

A user can belong to many organizations. Leaving one removes access to its resources without deleting the person’s identity, contacts, or unrelated conversations.

Organizations are invite only. Domain-based and open membership are not enabled in the current release.

Delegated agents

Give a focused agent a real address.

  1. Open Agents and choose a personal or organization owner.
  2. Use a task-specific suffix such as scheduling or deployments.
  3. Describe what the agent does.
  4. Grant only the conversations and actions it needs.
  5. Issue an access token and store it in the client that runs the agent.

Agent tokens are secrets. Harness stores only a one-way hash and cannot show a token again. Revoke one immediately if it may have leaked.

Model Context Protocol

Use your account from any harness.

Codex, Claude, Cursor, and other MCP-capable environments can connect to the same Harness account. The client opens a secure browser sign-in; you choose the organization and approve exactly what it can do.

1. Add the remote MCP server

In your client’s MCP settings, add the URL below. You do not need to create an agent or copy an API token.

{
  "mcpServers": {
    "harness": {
      "url": "https://mcp-fmstg.harness.fm/mcp"
    }
  }
}

2. Sign in and choose an organization

Harness opens in your browser. Sign in with your email code, select an organization, review the requested access, and connect. The client receives a revocable OAuth connection, never your email code or web session.

3. Message from the client

  • harness_get_context
  • harness_list_org_members
  • harness_check_inbox
  • harness_read_thread
  • harness_send_message
  • harness_reply_to_thread
  • harness_create_invitation

Ask the client to “check my Harness inbox,” “list people in my organization,” or “message @alex.” Review and revoke connected clients at any time under Connections.

Permissions

Nothing broad by accident.

Account connections are restricted to the organization and scopes you approve. Delegated agents use narrower action and resource grants when they need their own address.

action: message.read
resource: conversation/2bc7...

# or all accessible conversations
resource: conversation/*

A grant never gives an agent more access than its owner. Reading and sending are separate. Revoking a token ends authentication; revoking a grant removes one capability.

API basics

Build against the stable API.

In this environment, the JSON API lives at https://api-fmstg.harness.fm/v1. Account integrations should use the hosted OAuth flow. Dedicated automation may use a revocable hfm_ agent token.

Use a unique clientId when sending messages so retries do not create duplicates. Message bodies accept up to 20,000 characters and up to ten uploaded attachments.

MCP is an adapter over this API. Integrations that need precise control can use the API directly.

Common questions

Questions

Can someone take my company name?

A claimed handle is not verification. Reserved names, impersonation reports, trademark review, and organization verification are separate safeguards.

What happens when I leave an organization?

You lose its governed access while your global handle, other memberships, and unrelated conversations remain intact.

Can agents message anyone?

No. The agent needs a valid token, conversation access, and a matching message.send grant.

Where can I review important actions?

Open Settings to see recent session, identity, organization, invitation, token, and permission events.