Skip to main content

Run dev commands and expose their logs over MCP.

Project description

maki

Run a dev command, save its terminal output per project, and let MCP-capable agents read the logs without copy/paste.

maki --name dev pnpm dev

Then ask your agent:

Check the maki dev logs and fix the error.

How it works

maki --name dev pnpm dev
  ├─ runs pnpm dev
  ├─ prints output to your terminal
  └─ writes logs to .maki/runs/<run-id>.log

maki-mcp --project /path/to/project
  └─ exposes MCP tools that read .maki logs

Each run gets:

.maki/
  active.json
  runs/
    20260710-090000-a1b2c3.log
    20260710-090000-a1b2c3.json

The run id is timestamp + random suffix. --name is the human label agents can use, like dev, api, web, or worker.

Install

pipx install maki-mcp

or:

uv tool install maki-mcp

or:

pip install maki-mcp

The package is maki-mcp, but the commands are:

maki
maki-mcp

Usage

Start your app through maki:

maki --name dev pnpm dev
maki --name api npm run api
maki --name worker python worker.py

If you omit --name, it defaults to dev:

maki pnpm dev

Start the MCP server for that project:

maki-mcp --project /path/to/project

MCP tools:

  • list_runs()
  • latest_logs(name="dev", lines=200)
  • get_log(run_id="...", lines=200)

MCP config

Use stdio transport. No port needed.

Claude Code

CLI:

claude mcp add maki -- maki-mcp --project /path/to/project

Config shape:

{
  "mcpServers": {
    "maki": {
      "command": "maki-mcp",
      "args": ["--project", "/path/to/project"]
    }
  }
}

Codex

~/.codex/config.toml:

[mcp_servers.maki]
command = "maki-mcp"
args = ["--project", "/path/to/project"]

Or with the CLI:

codex mcp add maki -- maki-mcp --project /path/to/project

Antigravity / agy

~/.gemini/config/mcp_config.json:

{
  "mcpServers": {
    "maki": {
      "command": "maki-mcp",
      "args": ["--project", "/path/to/project"]
    }
  }
}

Pi

Pi does not ship built-in MCP support, so maki ships a Pi package that registers equivalent Pi tools.

Install from GitHub:

pi install git:github.com/mr-jones123/maki

Or test from a local checkout:

pi -e /path/to/maki

Pi tools exposed:

  • maki_list_runs()
  • maki_latest_logs(name="dev", lines=200)
  • maki_get_log(run_id="...", lines=200)

Ask:

Use maki_latest_logs for dev and inspect the error.

Publishing

Use Conventional Commits:

fix: patch release
feat: minor release
feat!: major release

Merges to main are versioned by Python Semantic Release and published to PyPI by GitHub Actions.

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

maki_mcp-0.2.0.tar.gz (54.9 kB view details)

Uploaded Source

Built Distribution

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

maki_mcp-0.2.0-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

File details

Details for the file maki_mcp-0.2.0.tar.gz.

File metadata

  • Download URL: maki_mcp-0.2.0.tar.gz
  • Upload date:
  • Size: 54.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for maki_mcp-0.2.0.tar.gz
Algorithm Hash digest
SHA256 83123c6d0be52d9490e28ca30d987c33d92ffa6e6c7858c041481f254e768b2e
MD5 0894d4ab1bed6c54875343a04a4bd4e7
BLAKE2b-256 24c256ca8ec8e605f3a8b09df834d937b59c2d7a93f0a96a5e44051e9eacb0f3

See more details on using hashes here.

Provenance

The following attestation bundles were made for maki_mcp-0.2.0.tar.gz:

Publisher: release.yml on mr-jones123/maki

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file maki_mcp-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: maki_mcp-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 4.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for maki_mcp-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b6ea4e637d9d2d140f48007a19fcb7b7c97c95d3b61592d20546d0fe30e44016
MD5 0113273b40b3395dc03ad55c4581b77f
BLAKE2b-256 3b6197d91ef21f4a88f1923852718951549ed8bf0500f8b20ded2909ea354c10

See more details on using hashes here.

Provenance

The following attestation bundles were made for maki_mcp-0.2.0-py3-none-any.whl:

Publisher: release.yml on mr-jones123/maki

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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