Harness MCP Server
@harness
关于 Harness MCP Server
This is the official repo for the Harness MCP server
基本信息
配置
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"harness": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"HARNESS_API_KEY",
"-e",
"HARNESS_DEFAULT_ORG_ID",
"-e",
"HARNESS_DEFAULT_PROJECT_ID",
"-e",
"HARNESS_BASE_URL",
"harness/mcp-server:1.0.0-beta",
"stdio"
],
"env": {
"HARNESS_API_KEY": "<YOUR_API_KEY>",
"HARNESS_DEFAULT_ORG_ID": "<YOUR_ORG_ID>",
"HARNESS_DEFAULT_PROJECT_ID": "<YOUR_PROJECT_ID>",
"HARNESS_BASE_URL": "https://app.harness.io"
}
}
}
}工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
What is Harness MCP Server?
Harness MCP Server is an MCP (Model Context Protocol) server that gives AI agents full access to the Harness.io platform through 11 consolidated tools and 212 resource types. It is built for developers and platform engineers who want to interact with Harness CI/CD, GitOps, Feature Flags, Cloud Cost Management, and more via natural language.
How to use Harness MCP Server?
Provide a Harness API key (PAT or SAT) and run the server with npx harness-mcp-v2@latest (no install required) or install globally via npm install -g harness-mcp-v2. Use stdio transport for local clients (Claude Desktop, Cursor, Devin Desktop) or HTTP transport for remote/shared deployments. Optionally set HARNESS_ORG and HARNESS_PROJECT for default scope; the agent can also discover orgs and projects dynamically.
Key features of Harness MCP Server
- 11 tools, 212 resource types via registry-based dispatch
- 32 pre-built prompt templates for common workflows
- Covers CI/CD, GitOps, Feature Flags, Cloud Cost, Security Testing, and more
- Multi-project workflows with dynamic org/project discovery
- Zero-config start – just provide a Harness API key
- Extensible by adding declarative data files – no new tool registration needed
Use cases of Harness MCP Server
- Build and deploy applications end-to-end across multiple projects
- Debug failed pipelines and triage security vulnerabilities
- Review DORA metrics and optimize cloud costs
- Plan and execute feature flag rollouts
- Audit access control and approve pending pipelines
FAQ from Harness MCP Server
What do I need to get started with Harness MCP Server?
You need a Harness API key (PAT or SAT) created from your Harness account profile. No other credentials are required—the account ID is auto‑extracted from the token.
What authentication methods does Harness MCP Server support?
For local/self‑hosted use, it uses HARNESS_API_KEY. The hosted MCP service uses Harness Platform OAuth (not HARNESS_API_KEY) and must be enabled by Harness Support.
Can I run Harness MCP Server remotely or in a shared deployment?
Yes, use the HTTP transport. Set HARNESS_MCP_AUTH_TOKEN for shared or remotely reachable deployments. The server exposes endpoints like /mcp (JSON‑RPC and SSE) and /health. Multi‑user mode allows each session to authenticate with its own Harness API key.
What Harness resources does the server cover?
It provides 37 default toolsets covering CI/CD, GitOps, Feature Flags, Cloud Cost Management, Security Testing, Chaos Engineering, Database DevOps, Internal Developer Portal, Software Supply Chain, Infrastructure as Code Management, Governance, Service Overrides, and Knowledge Graph. Opt‑in Ansible coverage is also available.
Where does my data live when using Harness MCP Server?
All data is fetched from the Harness.io platform API. The server does not store data; it only proxies requests to Harness endpoints using the credentials provided.
其他 分类下的更多 MCP 服务器

Sequential Thinking
modelcontextprotocolModel Context Protocol Servers
MCP Toolbox for Databases
googleapisMCP Toolbox for Databases is an open source MCP server for databases.
Reactive Resume
amruthpillaiA one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!
XcodeBuildMCP
cameroncookeA Model Context Protocol (MCP) server and CLI that provides tools for agent use when working on iOS and macOS projects.
IDA Pro MCP
mrexodiaAI-powered reverse engineering assistant that bridges IDA Pro with language models through MCP.
评论