Skip to main content

comate-cli

Comate terminal CLI package.

Usage

uvx comate-cli

Or install globally:

uv tool install comate-cli
comate

MCP

comate mcp supports Claude Code compatible MCP configuration commands for common add/list/get/remove flows.

comate mcp add firecrawl npx -y firecrawl-mcp
comate mcp add -t http sentry https://mcp.sentry.dev/mcp -H "Authorization: Bearer ..."
comate mcp add-json ctx '{"type":"http","url":"https://example.test/mcp"}'

Supported scopes are local (default), project, and user. Comate stores MCP configuration under .agent / ~/.agent; it does not read or modify Claude Code configuration files.

排错 / Troubleshooting

看不到错误信息但行为异常

comate 在生产模式下会把若干无害但吵闹的 shutdown 噪音写入 ~/.comate/logs/agent.log,而不是显示在终端里。这包括 Windows asyncio shutdown 的 ResourceWarning、MCP 服务器违规向 stdout 写日志导致的 JSONRPC 解析失败,以及解释器退出阶段的 unraisable 异常。

如果你怀疑隐藏了真实错误,可以按下面顺序排查:

# 1. 看 noise 通道的最近 50 条
grep -E "\[unraisable\]|\[excepthook\]|\[warning\]" ~/.comate/logs/agent.log | tail -50

# 2. 看完整 agent.log 末尾
tail -200 ~/.comate/logs/agent.log

# 3. 临时关掉噪音接管器,看原始输出(开发场景)
COMATE_DEBUG_NOISE=1 comate

COMATE_DEBUG_NOISE=1 设置后,_ShutdownNoiseGuard 会跳过 install, 错误会像旧版本一样直接打印到 stderr。

Author

andy

Download files

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

Source Distribution

comate_cli-0.9.1.tar.gz (790.0 kB view details)

Uploaded Source

Built Distribution

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

comate_cli-0.9.1-py3-none-any.whl (321.8 kB view details)

Uploaded Python 3

File details

Details for the file comate_cli-0.9.1.tar.gz.

File metadata

  • Download URL: comate_cli-0.9.1.tar.gz
  • Upload date:
  • Size: 790.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for comate_cli-0.9.1.tar.gz
Algorithm Hash digest
SHA256 9506d145460924e9c3a0baad5a338498d4875d04ca91bc3594b090c946f2d196
MD5 a346eb750618bb07dd1476bd3a0699e5
BLAKE2b-256 7c19561df398b8ddd06714c306a6c9e515bb54ce341510de969c160291127a87

See more details on using hashes here.

File details

Details for the file comate_cli-0.9.1-py3-none-any.whl.

File metadata

  • Download URL: comate_cli-0.9.1-py3-none-any.whl
  • Upload date:
  • Size: 321.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for comate_cli-0.9.1-py3-none-any.whl
Algorithm Hash digest
SHA256 130f32c8fad310bb4f743d8ec7b7fce08d88d73095e9860918a86fecffefbd2b
MD5 5c89ced5f5ad9eba995e70cf073f42ee
BLAKE2b-256 95d83be783834fef332f671c07432d1601283b1922e496ff55902007d1ef9190

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.9.1

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