Skip to main content

denario-mcp

A lightweight, local MCP client for Denario. It runs on the user's machine and owns all local filesystem + git work; the private Denario research pipeline runs remotely on Cloud Run and only returns data. This is the air-sdk-style split applied to Denario — see ../DESIGN.md for the full architecture and rationale.

Why a local client

Running denario_setup remotely can never create a project on the user's disk, and gh repo create in a container would use the server's GitHub identity. So file/git work must be local. Only the confidential research compute is remote. See DESIGN.md §1.

Install

pip install -e ./denario-mcp     # from web/, during development
# or, once published:  pip install denario-mcp

The package is intentionally light — it depends only on mcp and httpx, not on the heavy Denario research stack. The denario_setup logic is vendored (stdlib-only) in setup_local.py.

Use with Claude Code

{
  "mcpServers": {
    "denario": {
      "command": "denario-mcp",
      "env": {
        "DENARIO_API_KEY": "…",                       // for remote compute steps
        "DENARIO_CLOUD_URL": "https://denario-web-….run.app"
      }
    }
  }
}

denario-mcp requires git and the GitHub CLI (gh, authenticated as the user) on PATH for denario_setup's repo creation.

Status

Tool State
denario_setup ✅ Implemented — runs fully locally, no network.
denario_idea ✅ Implemented — private compute runs remotely (POST /v1/compute/idea); idea.md is written + committed locally.
methods / results / paper / eda / literature ⏳ remaining — same pattern; long steps move to async jobs (/v1/jobs).

How a compute step flows (denario_idea)

client (denario-mcp)                         server (Cloud Run)
  read local data_description.md
  POST /v1/compute/idea  ───────────────────►  denario_compute.run_step("idea")
                                                  ephemeral dir, run pipeline,
                                                  return idea.md as data
  ◄─────────────────────────────────────────  { artifacts, log }
  write idea.md into local project dir
  git commit && push  (user identity)

The server never touches the user's disk or git; the client owns both.

Environment

Var Purpose
DENARIO_API_KEY Bearer token for the remote compute API.
DENARIO_CLOUD_URL Base URL of the Cloud Run compute API.
GITHUB_ORG Org/account for repo creation (default ParallelScience; see DESIGN §9).
SCIENTIST_NAME Used in derived repo slug + README (default denario).
DENARIO_MCP_LOG If set, log file path (keeps logs off stdout).

Download files

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

Source Distribution

denario_mcp-0.7.0.tar.gz (26.2 kB view details)

Uploaded Source

Built Distribution

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

denario_mcp-0.7.0-py3-none-any.whl (20.5 kB view details)

Uploaded Python 3

File details

Details for the file denario_mcp-0.7.0.tar.gz.

File metadata

  • Download URL: denario_mcp-0.7.0.tar.gz
  • Upload date:
  • Size: 26.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for denario_mcp-0.7.0.tar.gz
Algorithm Hash digest
SHA256 9ee7dfb24e9b68515aad317f534ba6c550c9ff8953719ae3a1ff5cdc394e4825
MD5 6a401d8d3c9df46effc2658b1c2049e6
BLAKE2b-256 0be6a00caea410ebde4a33f0253edfbc7b03f5898579858722afc59f0d58fa92

See more details on using hashes here.

File details

Details for the file denario_mcp-0.7.0-py3-none-any.whl.

File metadata

  • Download URL: denario_mcp-0.7.0-py3-none-any.whl
  • Upload date:
  • Size: 20.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for denario_mcp-0.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3bbcf497cfae9a3902852ae1dad093df17d9910b48660ca13d3c884dc54d061f
MD5 d25672d6e7d866f8a11cd6a690ef7d78
BLAKE2b-256 43a6accb7242870a7a98543a8d793c8d4f6f45c9928b60015bc6c4da49cac909

See more details on using hashes here.

Release history Release notifications | RSS feed

0.7.2

2 files

0.7.1

2 files

This release

0.7.0 This release

2 files

0.6.0

2 files

0.5.0

2 files

0.4.0

2 files

0.2.0

2 files

0.1.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page