Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

Harnesspm

MCP server by tenphi Verified · npm:@tenphi

Shares agent rules, docs, skills and tools through npm packages. It gives each library's harness to Claude Code and Codex on every install, matching the installed version.

  • Score 89
  • 0 stars
  • 12k a week
  • MIT
  • Updated

Install Harnesspm

Built from the published package, never by AI.

claude mcp add harnesspm -- npx -y @tenphi/harnesspm

Run in your terminal. Add --scope user to use it in every project.

Step-by-step: install Harnesspm in Claude Code

MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the harnesspm block.

About

harnesspm is a package manager for agent harnesses. A harness is the set of rules, docs, skills, sub-agents, scripts, hooks, MCP servers and permissions a coding agent needs to use a library well. Libraries ship a harness/ folder in their npm package, and harnesspm gives it to Claude Code and Codex on every install, for the version the project installed.

A project runs init to set it up. A person can add their own or their team's harness on top of every repository on their machine, without changing the project. An agent can run why to find the source of a unit and propose an edit, by default as a pull request. Telemetry is off by default and sends events only to the team's own handler. It is for library authors, development teams and developers who use coding agents.

Written from the project's README and checked against it.

Tools it gives your assistant

  • initInstalls harnesspm as a dev dependency and creates harnesspm.json in a project.
  • new ruleCreates a harness rule in a library so it can be shared through its npm package.
  • checkChecks a library's harness before it is published.
  • addAdds your own or your team's harness on top of every repository on your machine.
  • whyFinds the source of a harness unit so an agent can edit it and save the change.

What you need

  • Node.js 20 or later
  • npm, pnpm, Yarn 1 or Yarn 4 (node-modules linker)
  • Claude Code or Codex

Try asking

  • Run npx -y @harnesspm/cli init in this project and do what it prints.
  • Use harnesspm why on this unit and propose a fix as a pull request.
  • Add our team's harness from github:<owner>/<repo> to my machine.

Good to know

  • Telemetry is off by default and must be turned on in harnesspm.json.
  • Telemetry never sends arguments or file contents.
  • Other agents get only the portable parts, through AGENTS.md and .agents/skills.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to Harnesspm

All alternatives →

Compare with GitDiagram, mockserver or XcodeBuildMCP

Harnesspm: common questions

Which agents does harnesspm support?

The source names Claude Code and Codex as the agents that receive the full harness. Other agents that read AGENTS.md and .agents/skills get the portable parts.

Does harnesspm send my code anywhere?

Telemetry is off by default. When a team turns it on, events go only to the team's own handler, and arguments and file contents are never sent.

What does the harness folder contain?

According to the source, a harness can include rules, docs, skills, sub-agents, scripts, hooks, MCP servers and permissions.

How do I install Harnesspm?

In Claude Code run claude mcp add harnesspm -- npx -y @tenphi/harnesspm. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.

Is Harnesspm the official server?

Harnesspm is published by npm:@tenphi from its verified domain in the official MCP Registry.

Is Harnesspm free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is Harnesspm safe to use?

It scores 89 of 100. Grades: maintenance A, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to Harnesspm?

Similar MCP servers: GitDiagram, mockserver, XcodeBuildMCP, draw.io.

Does Harnesspm work with ChatGPT?

Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.

Harnesspm Install

Add to stack

Loading.