Observed since 20 Oct, 22:48 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
Simple MCP server for AgentOps with Zed
Zed AgentOps helps you run an edit → verify → commit workflow inside Zed with a local MCP server and a project template designed for resumable agent work.
Currently supported on macOS.
verify and verify-release entry points that you can extend for your projectThis README is written for users of the tool. It focuses on how to set up and use AgentOps in practice.
Install with Homebrew:
brew intall rioriost/tap/agentops_mcp_server
This installs:
agentops_mcp_serverzed-agentops-initBefore you start using AgentOps in a project, configure Zed to use the MCP server.
For v0.5.4, this is effectively required. The intended workflow assumes:
Add the MCP server to your Zed settings:
{
"agentops-server": {
"command": "/opt/homebrew/bin/agentops_mcp_server",
"args": [],
"env": {
"PATH": "/opt/homebrew/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
}
}
}
Then allow the MCP tools the workflow depends on. A practical baseline is:
{
"terminal": {
"default": "allow"
},
"mcp:agentops-server:workspace_initialize": {
"default": "allow"
},
"mcp:agentops-server:tx_event_append": {
"default": "allow"
},
"mcp:agentops-server:tx_state_save": {
"default": "allow"
},
"mcp:agentops-server:tx_state_rebuild": {
"default": "allow"
},
"mcp:agentops-server:session_capture_context": {
"default": "allow"
},
"mcp:agentops-server:repo_verify": {
"default": "allow"
},
"mcp:agentops-server:repo_commit": {
"default": "allow"
},
"mcp:agentops-server:repo_status_summary": {
"default": "allow"
},
"mcp:agentops-server:repo_commit_message_suggest": {
"default": "allow"
},
"mcp:agentops-server:tests_suggest": {
"default": "allow"
},
"mcp:agentops-server:tests_suggest_from_failures": {
"default": "allow"
},
"mcp:agentops-server:commit_if_verified": {
"default": "allow"
},
"mcp:agentops-server:ops_compact_context": {
"default": "allow"
},
"mcp:agentops-server:ops_handoff_export": {
"default": "allow"
},
"mcp:agentops-server:ops_resume_brief": {
"default": "allow"
},
"mcp:agentops-server:ops_start_task": {
"default": "allow"
},
"mcp:agentops-server:ops_update_task": {
"default": "allow"
},
"mcp:agentops-server:ops_end_task": {
"default": "allow"
},
"mcp:agentops-server:ops_add_file_intent": {
"default": "allow"
},
"mcp:agentops-server:ops_update_file_intent": {
"default": "allow"
},
"mcp:agentops-server:ops_complete_file_intent": {
"default": "allow"
},
"mcp:agentops-server:ops_capture_state": {
"default": "allow"
},
"mcp:agentops-server:ops_task_summary": {
"default": "allow"
},
"mcp:agentops-server:ops_observability_summary": {
"default": "allow"
}
}
Adjust permissions to match your own security preferences, but if these tools are blocked the intended workflow will be incomplete.
In v0.5.4, lifecycle-aware responses are intended to be machine-readable enough for an agent or client to decide what to do next without relying only on prose.
For lifecycle-relevant success responses, the normalized guidance fields include:
okcanonical_statuscanonical_phasenext_actionterminalrequires_followupfollowup_toolactive_tx_idactive_ticket_idWhen the information is available, responses may also include contextual fields such as:
current_stepverify_statuscommit_statusintegrity_statuscan_start_new_ticketresume_requiredThese fields describe the resulting canonical state after the tool completes. In other words, they are meant to tell you whether you should begin, resume, verify, commit, explicitly end the task, or stop because the canonical state is blocked.
Lifecycle- and state-related failures are also intended to expose structured recovery guidance. The normalized failure shape includes:
ok: falseerror_codereasonrecoverablerecommended_next_toolrecommended_actionWhen known, failure responses may also include canonical state or integrity context, such as the current status or phase, the active transaction identity, terminality, and integrity-related metadata.
A practical way to interpret the main fields is:
canonical_status and canonical_phase describe the resulting canonical transaction statenext_action describes the next lifecycle step that should be takenterminal tells you whether the transaction is already terminalrequires_followup tells you whether more lifecycle work is still requiredfollowup_tool identifies the explicit follow-up tool when one is requiredHelper completion does not always mean the transaction is finished. In particular, successful commit helpers may leave the transaction in non-terminal committed, which still requires explicit terminal closure such as ending the task with done or blocked.
zed-agentops-initCreate or update an AgentOps-managed project with:
zed-agentops-init my_project
or:
zed-agentops-init --update my_project
Use --update when you already have an older AgentOps template and want to refresh it to the current workflow contract.
Running zed-agentops-init sets up the files you need to start using AgentOps in Zed:
.rules.zed/tasks.json.zed/scripts/verify.agent/tx_event_log.jsonl.agent/tx_state.jsonIt also:
.gitignore--update to refresh an existing setupThe baseline .agent/tx_state.json is intentionally a normalized empty-transaction state. It includes the major top-level fields and metadata needed for normal runtime interpretation, including:
schema_versionactive_txlast_applied_seqintegrity.state_hashintegrity.rebuilt_from_seqintegrity.drift_detectedintegrity.active_tx_sourceupdated_atThis baseline is designed to be compatible with the richer runtime-rebuilt state shape without inventing runtime-only facts that can only be known after canonical event replay.
After initialization:
For the supported workflow, the agent should initialize the workspace root before root-dependent operations and should treat .agent/tx_state.json and .agent/tx_event_log.jsonl as the canonical local workflow state.
The intended interpretation of lifecycle-aware responses is tied to that canonical state. Clients should rely on the structured response fields to understand whether there is an active transaction to resume, whether a new ticket can start safely, and whether helper success still leaves explicit follow-up work.
verify / verify-release as neededThe generated template includes:
.zed/scripts/verify.zed/scripts/verify-releaseThe default verify script is intentionally conservative. Extend it to match your project.
A common Python-oriented setup is:
verify: fast local checks for day-to-day workverify-release: more complete checks for release-oriented validationFor example, in a Python project you may want:
.zed/scripts/verify to run ruff check, ruff format --check, and pytest -q.zed/scripts/verify-release to run full coverage, such as pytest --covThe default release-oriented coverage entry point is:
.zed/scripts/verify-release
This requires pytest-cov to be available if you use it for Python coverage.
AgentOps provides the workflow template, but it does not replace your language or package manager’s own project initialization.
For example, for a Python project with uv you might run:
uv init
Then add the checks your project needs to .zed/scripts/verify and .zed/scripts/verify-release.
Likewise, for other ecosystems you should initialize the actual project using the tools that ecosystem expects before asking the agent to make meaningful changes.
docs directory and write a draftFor the v0.5.4 workflow, it is useful to create a docs directory in the project and write a draft such as:
docs/draft_0.1.0.md
This draft is where you describe:
You can write the draft entirely yourself, or you can work with the AI agent to refine it. Both approaches are valid.
A practical pattern is:
docs/docs/__version__/plan.mddocs/__version__/tickets_list.jsondocs/__version__/pX-tY.jsonA helpful way to think about the planning flow is:
draft.md is the place to describe the problem, goals, scope, constraints, and prioritiesplan.md is the place to turn that draft into phased execution guidancetickets_list.json is a compact index of the tickets you intend to work throughpX-tY.json files are optional per-ticket detail records for inputs, outputs, acceptance criteria, and notesIf you maintain ticket artifacts, a practical status set is:
plannedin-progresscheckingverifiedcommitteddoneblockedImportant v0.5.0 boundary:
docs/ are useful workflow artifactstickets_list.json and the per-ticket files in sync is recommended operating practiceThey are best understood as user- or client-managed workflow documents.
If you already use Zed AgentOps, run:
zed-agentops-init --update <project>
This refreshes the user-facing template, especially:
.rules.agent state file presenceUpdating is recommended when moving from an older template, because recent versions tightened:
In most cases, --update is enough.
The most important user-facing changes in v0.5.0 are about clarity and predictability.
The main goal of v0.5.0 is to reduce mismatches between:
.rulesAs a user, that means the documented workflow is more trustworthy than before.
If you keep planning files such as:
docs/__version__/plan.mddocs/__version__/tickets_list.jsondocs/__version__/pX-tY.jsonthey are useful workflow documents, but they are not canonical server-managed state.
In practice:
.agent/For practical use, the most important canonical artifacts are:
.agent/tx_event_log.jsonl.agent/tx_state.jsonHandoff and planning docs are helpful, but they are not the canonical workflow record.
The supported flow is stricter:
This reduces accidental empty commits or unverified commits.
The supported helper surface now includes:
ops_add_file_intentops_update_file_intentops_complete_file_intentThese helpers make common file-intent workflows easier to follow without weakening the canonical transaction rules.
The initial .agent/tx_state.json baseline is more normalized, so users and clients are less likely to misread missing fields as ambiguous old-template behavior.
You may see different version concepts, and they do not all mean the same thing:
This is expected. Do not assume that a docs version label is automatically the same thing as the persisted transaction schema version.
For day-to-day use in v0.5.0:
zed-agentops-init --update when needed.agent/tx_state.json and .agent/tx_event_log.jsonl as the canonical local workflow statedocs/ as useful convention, not guaranteed server protocolverify and verify-release to match your projectdocs/ before large agent-driven workFor a fuller release-facing explanation of the supported v0.5.0 client/server contract, see docs/v0.5.0/interoperability.md.
MIT
Download counts and popularity will appear here as the collector receives them.
| Version | Published | Direct dependencies | Open version |
|---|---|---|---|
| 0.5.4 | 22 Mar 2026 | 2 |
This describes our collected data; it is not a security assessment.
Shared repository data · GitHub
Observed since 20 Oct, 22:48 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:c2f64488aeadcb463517721df1331ea2b24dd11c8adbd57f805db6e54616c31c