Skip to main content

mcp-contract-executor

极简版 contract-first MCP server。仅四个核心文件:server.py、worker.py、dispatch.py、contract.py。

工作流:

  1. 主会话生成并覆盖写 /.codex/contract.json(questions 需为空)。
  2. 调用 squad_start(cwd, query, options?) 启动一次执行;返回 ≤3 行 digest。
  3. 按 forced_wait_s 轮询 squad_status(run_id, options={"cwd":...}) 续租;需要时 cancel=true。
  4. 断联超过 lease_ttl(默认 120s)自动中止 codex;终态包含 artifact 提示(diffstat/report)。

存储:<repo>/.codex/contract-executor/runs/<run_id>/(state.json、artifacts/diffstat.txt、report.md、jobs/*)。

Metadata

Release files for mcp-contract-executor 0.0.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mcp-contract-executor 0.0.7
File Size Uploaded Provenance
mcp_contract_executor-0.0.7.tar.gz 7.1 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for mcp-contract-executor 0.0.7
File Interpreter ABI Platform
mcp_contract_executor-0.0.7-py3-none-any.whl Python 3 none any Details

Total release size: 16.7 kB

Release files / mcp_contract_executor-0.0.7.tar.gz

Download URL mcp_contract_executor-0.0.7.tar.gz
Size 7.1 kB
Tags Source
SHA-256 checksum
How to use checksums
47d63fe0571de9587be93bee7e9600b92f8a530e027ce95ffe63b86e435d3891
BLAKE2b-256 checksum
How to use checksums
57ed4e3c1eefc9011a9c516c944b1541952ec71991a10d5222f0c9a34cd73895
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.2.1 CPython/3.14.2 Darwin/24.6.0

Release files / mcp_contract_executor-0.0.7-py3-none-any.whl

Download URL mcp_contract_executor-0.0.7-py3-none-any.whl
Size 9.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
775a8cd57bffcbaccd70d2076b03a07479ac2d662f0ff96a536905fc8d3acf5b
BLAKE2b-256 checksum
How to use checksums
919fd43fff4a24c968e26b9a64c60de16617d83adfb302fb091e1da400725b44
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.2.1 CPython/3.14.2 Darwin/24.6.0

Security for mcp-contract-executor 0.0.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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