Skip to main content

Add high-quality MCP servers to any AI harness — opencode, claude code, cursor, and more

Project description

harness-mcp

Add high-quality MCP servers to any AI harness. Start with OpenCode, extend to Claude Code, Cursor, and more.

Install

# Python (pip)
pip install harness-mcp

# Node.js (npm) — auto-installs Python deps
npm install -g harness-mcp

# Node.js (npx) — no install
npx harness-mcp list

# Single binary (no Python needed)
# Download from: https://github.com/suvenkatesh97/harness-mcp/releases

Quick Start

# See what's available
harness-mcp list

# Add a server
harness-mcp add github

# Add multiple
harness-mcp add github playwright brave-search

# Add all with a tag
harness-mcp add --tag browser

# See what's configured
harness-mcp status

# Remove a server
harness-mcp remove github

Harness Support

Harness Status
OpenCode Supported
Claude Code Coming soon
Cursor Coming soon

Interactive Mode

pip install harness-mcp[interactive]
harness-mcp init

Commands

Command Description
list Browse the MCP server catalog
add <names...> Add servers by name or tag
remove <names...> Remove servers from config
status Show configured MCP servers
search <query> Search the catalog
init Interactive selection wizard

Global Flags

  • --harness - Target harness (opencode, claude, cursor). Auto-detected.
  • --scope - project (default) or global
  • --cwd - Working directory for project scope
  • --dry-run - Preview changes without writing

Custom Catalog Entries

Add your own MCP servers without code changes:

# ~/.config/harness-mcp/catalog/my-servers.yaml
servers:
  - id: my-custom-server
    name: My Custom MCP Server
    description: Does something useful
    type: local
    command:
      - npx
      - -y
      - my-mcp-server
    env_vars:
      - name: API_KEY
        description: Your API key
        required: true
    tags:
      - custom

Or project-level: .harness-mcp/catalog/*.yaml

OpenCode Plugin

Use harness-mcp directly within OpenCode:

{
  "plugin": ["@harness-mcp/opencode-plugin"]
}

Then ask OpenCode to use harness_mcp_list or use harness_mcp_add to add github.

Built-in Catalog

Server Type Category
GitHub local git, code-review
Filesystem local files, system
Playwright local browser, testing
Brave Search local search, web
Memory local knowledge, persistence
Sequential Thinking local reasoning
Fetch local web, http
Context7 remote docs, libraries
Sentry remote monitoring, errors
Grep (Vercel) remote code-search
Serena local code-analysis
PostgreSQL local database
Slack local communication
Linear local project-management
Docker local containers
Puppeteer local browser, automation
GitLab local git, ci-cd
Notion local docs, knowledge
SerpAPI local search, web

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

harness_mcp-0.1.1.tar.gz (20.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

harness_mcp-0.1.1-py3-none-any.whl (15.4 kB view details)

Uploaded Python 3

File details

Details for the file harness_mcp-0.1.1.tar.gz.

File metadata

  • Download URL: harness_mcp-0.1.1.tar.gz
  • Upload date:
  • Size: 20.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.14

File hashes

Hashes for harness_mcp-0.1.1.tar.gz
Algorithm Hash digest
SHA256 35400adeb41c1a0a96193adb68152a1874fae6a11c183fc5b9126815e87bfb8a
MD5 4d5bcfe88fe7c7c8d2eebff21e791b48
BLAKE2b-256 3fd5d9f5bc34b8ac4825b305cc2bc8da6fb12660ad2a569c0c98804f43e3e0c8

See more details on using hashes here.

File details

Details for the file harness_mcp-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: harness_mcp-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 15.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.14

File hashes

Hashes for harness_mcp-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 99fb6706e191757d244c3a8a81d671ebddcc73b561ca487ec344d037143a7c05
MD5 575395b2c2b6744238168ce9065deebf
BLAKE2b-256 750fa98731a7766b05a164beec21645094beca1124f51a2644988b6b81364b15

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page