Skip to main content

Minimal MCP server for HREVN tools backed by the live managed API.

Project description

HREVN MCP Server

Minimal MCP server for HREVN, backed by the live managed runtime at https://api.hrevn.com.

Why this exists

For Anthropic and later Codex, MCP is the cleanest way to expose HREVN as real tools rather than only as local helper scripts. This server stays thin on purpose:

  • canonical semantics remain in the private HREVN core
  • execution remains in the live HREVN managed runtime
  • the MCP layer only exposes HREVN capabilities in a standard tool interface

Included tools

  • baseline_check
  • profile_validate
  • generate_bundle
  • verify_bundle

Environment

export HREVN_API_BASE_URL="https://api.hrevn.com"
export HREVN_API_KEY="replace-me"

Install

cd hrevn-mcp-server
pip install -e .

If you install into a virtual environment, make sure the same virtual environment is active when you launch Claude Code. Otherwise hrevn-mcp-server may not be on the PATH Claude Code uses.

Run

hrevn-mcp-server

The server uses MCP stdio transport.

Verify before opening Claude Code

hrevn-mcp-server --version
hrevn-mcp-server --list-tools
hrevn-mcp-server --self-test

The self-test runs a live baseline_check against the configured HREVN managed API.

If hrevn-mcp-server is not found, use the absolute executable path from the active environment, for example:

which hrevn-mcp-server

and place that path in your Claude Code MCP config instead of the bare command.

Claude Code MCP example

See:

  • docs/CLAUDE_CODE_MCP_CONFIG.md
  • examples/baseline_check_payload.json
  • server.json

Recommended first test

Once Claude Code has this MCP server configured, ask it to call:

  • baseline_check

with the payload in:

  • examples/baseline_check_payload.json

That should return a real BaselineResult from the live HREVN managed API.

Design rule

This server must not reimplement HREVN truth locally. It should only expose stable MCP tools that call the managed API.

Registry readiness

This repo includes:

  • server.json

as a machine-readable manifest describing the server, transport, environment, and exposed tools for registry and catalog use.

Current status

This is a minimal first MCP server aimed at Anthropic-first testing. It is intentionally thin, real, and compatible with the live managed API path already in production.

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

hrevn_mcp_server-0.1.0a0.tar.gz (7.6 kB view details)

Uploaded Source

Built Distribution

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

hrevn_mcp_server-0.1.0a0-py3-none-any.whl (7.5 kB view details)

Uploaded Python 3

File details

Details for the file hrevn_mcp_server-0.1.0a0.tar.gz.

File metadata

  • Download URL: hrevn_mcp_server-0.1.0a0.tar.gz
  • Upload date:
  • Size: 7.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for hrevn_mcp_server-0.1.0a0.tar.gz
Algorithm Hash digest
SHA256 384fd90028fd1df9527a4bb247a152ff5419d0e029086210f2116f54c33b426c
MD5 31d504e61036b9f11c8aa1f323018237
BLAKE2b-256 18466631e5abe38f4c416a18bee6a6be5b3f9745f36fafb2bb36fa025f39cad6

See more details on using hashes here.

File details

Details for the file hrevn_mcp_server-0.1.0a0-py3-none-any.whl.

File metadata

File hashes

Hashes for hrevn_mcp_server-0.1.0a0-py3-none-any.whl
Algorithm Hash digest
SHA256 fc325b387b8757d5707dbb79eef206758858a308605a300187da95aa260a6239
MD5 8b4f512c19b0714999bbf8bfdbcf6ea5
BLAKE2b-256 8f947b3ce3d3f9cf7a07a2154d07e4c647ca8690199c093d3a373a4da124fb61

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