Anthropic Harness Connector
The Anthropic Harness Connector is an integration in the Claude connectors directory that brings Harness platform context into the Claude apps. Once connected, you can query pipelines, deployments, services, and cloud costs through natural language, and you can ask Claude to act on them, such as triggering a build or toggling a feature flag.
The connector is backed by the Harness Hosted MCP Server, which provides 11 consolidated tools and 139 resource types across the Harness platform over the Model Context Protocol (MCP). It authenticates with OAuth against your Harness account, so you do not create an API key or a personal access token (PAT) for it.
You connect the connector once in your Claude account, and it applies to the Claude web, desktop, and mobile apps. Claude Code, Cursor, Windsurf, and VS Code connect to the hosted MCP endpoint instead.
What you will learn in this topic
By the end of this topic, you will be able to:
- Enable OAuth on your Harness account so the connector can authenticate.
- Connect Harness to Claude on an individual, Team, or Enterprise plan.
- Enable the connector in a conversation so Claude calls Harness tools.
- Understand how Harness RBAC and write confirmations apply to connector requests.
- Remove the connector and revoke its OAuth token.
Before you begin
Before you configure the Anthropic Harness Connector, ensure you have the following:
- Harness SaaS account: An active Harness SaaS account, which is the deployment type that hosted MCP with OAuth supports.
- OAuth enabled: OAuth enabled at the account level, which Harness Support turns on for your account.
- SSO configured for MCP: On a SAML or OIDC Identity Provider, the MCP-specific ACS URL or redirect URI added to your IdP, as described in Single Sign-On (SSO) for Harness MCP.
- Harness permissions: A role with View on the resources you query, plus Create/Edit and Execute on any resource you want Claude to change or run.
- Claude account: An active Claude Pro, Max, Team, or Enterprise account, where on Team and Enterprise plans an organization Owner adds the connector first.
Set up the connector
Enable OAuth for your Harness account
Harness Support enables OAuth for your account. To raise the request, do the following:
- Find your Harness Account ID in Account Settings > Overview.
- Open a ticket with Harness Support requesting OAuth enablement and account data migration for that Account ID.
- Wait for Support to confirm that the migration is complete, then connect Harness to Claude.
Connect Harness to Claude
Select the tab for your Claude plan.
- Pro or Max
- Team or Enterprise
On Pro and Max plans, you add and authorize the connector yourself:
- Sign in to claude.ai.
- Select your profile icon, then select Settings.
- Select Customize, then select Connectors.
- Locate Harness.io in the connectors list.
- Click Connect to start the OAuth flow.
- Sign in with your Harness credentials when prompted.
- Review the requested permissions, then click Authorize.
An organization Owner does the following:
- Sign in to claude.ai as an organization Owner.
- Select Organization settings, then select Connectors.
- Click Add, then select Harness.io from the directory.
- Confirm the addition to make the connector available to the organization.
Each member then authorizes the connector with their own Harness identity:
- Select your profile icon, then select Settings.
- Select Customize, then select Connectors.
- Locate Harness.io, then click Connect.
- Sign in with your Harness credentials, then click Authorize.
If the directory entry is unavailable on your plan, add the hosted MCP endpoint as a custom connector. Use the URL https://mcp.harness.io/mcp and the OAuth client ID mcp-client.
Enable the connector in a conversation
Enable the connector in each conversation where you want Claude to call Harness tools:
- Click the + icon in the chat composer.
- Select Connectors.
- Turn on Harness.io for that conversation.
Use the connector
Reference Harness resources in plain language, and Claude calls the matching Harness tools.
Example prompts
These prompts show the read and write requests the connector handles:
- "Show me the last 5 failed pipeline executions in my production project."
- "What services are deployed in the staging environment?"
- "Summarize the DORA metrics for my team this week."
- "Why did my latest CD pipeline fail?"
- "What is our cloud spend this month compared to last month?"
- "Trigger the staging deploy for the api-gateway pipeline."
How permissions and confirmations work
The connector acts as your Harness user, so Harness RBAC applies to every request. Claude reports that it could not retrieve a resource when your role lacks access to it. To widen access, an administrator updates your role in Harness.
Write operations depend on MCP elicitation, the mechanism that asks you to confirm a change before Harness applies it. In a client without elicitation support, Harness applies create, update, and execute operations with no confirmation dialog, and blocks delete operations so Claude cannot remove a resource:
- Claude Desktop: Elicitation support is pending, so writes apply without a confirmation dialog and deletes are blocked.
- Claude web and mobile apps: The elicitation support matrix does not list these apps yet, so treat write confirmation as unavailable on both.
Grant Create/Edit and Execute only on the resources you intend Claude to change, because the Claude apps apply those changes without a confirmation step.
For more information about the full tool list, see Harness MCP Server.
Remove the connector
To remove the connector, do the following:
- Sign in to claude.ai.
- Select your profile icon, then select Settings.
- Select Customize, then select Connectors.
- Locate Harness.io, then click Remove.
This revokes the OAuth token, and Claude loses access to Harness in existing conversations. Claude does not support editing a connector entry, so remove it and add it again to change its configuration. On Team and Enterprise plans, an Owner removes the organization-level entry from Organization settings > Connectors to remove it for every member.
Troubleshooting
Harness Hosted MCP OAuth fails with invalid credentials
OAuth is not enabled on the account. Open a ticket at support.harness.io with your Harness Account ID and request OAuth enablement and account data migration, then retry the connection.
Harness connector is connected but returns no resources
Confirm your Harness user has View permission on the resources you are querying. The connector runs as your Harness user, so RBAC restrictions on your role apply to every request.
Claude does not call the Harness connector
The connector is not enabled for that conversation. Click the + icon in the chat composer, select Connectors, and turn on Harness.io, then send the request again.
Harness.io is missing from Claude connector settings
On Team and Enterprise plans an organization Owner must add the connector under Organization settings > Connectors before members can connect it. Ask an Owner to add it, then reload your Connectors panel.
Next steps
- Harness MCP Server: Connect Claude Code, Cursor, Windsurf, and VS Code to the same hosted endpoint.
- Harness AI Cursor Plugin: Use Harness inside the Cursor IDE.
- Harness Skills: Extend Claude Code with structured Harness workflows.