agentops-mcp-server 0.0.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,6 @@
1
+ .zed/
2
+ .venv/
3
+ __pycache__/
4
+ *.py[cod]
5
+ .pytest_cache/
6
+ .DS_Store
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Rio Fujita
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,211 @@
1
+ Metadata-Version: 2.4
2
+ Name: agentops-mcp-server
3
+ Version: 0.0.1
4
+ Summary: Simple MCP server for AgentOps with Zed
5
+ Project-URL: Homepage, https://github.com/rioriost/homebrew-agentops_mcp_server
6
+ Project-URL: Issues, https://github.com/rioriost/homebrew-agentops_mcp_server/issues
7
+ Author-email: Rio Fujita <rifujita@microsoft.com>
8
+ License: MIT License
9
+
10
+ Copyright (c) 2026 Rio Fujita
11
+
12
+ Permission is hereby granted, free of charge, to any person obtaining a copy
13
+ of this software and associated documentation files (the "Software"), to deal
14
+ in the Software without restriction, including without limitation the rights
15
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
16
+ copies of the Software, and to permit persons to whom the Software is
17
+ furnished to do so, subject to the following conditions:
18
+
19
+ The above copyright notice and this permission notice shall be included in all
20
+ copies or substantial portions of the Software.
21
+
22
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
23
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
24
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
25
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
26
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
27
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
28
+ SOFTWARE.
29
+ License-File: LICENSE
30
+ Requires-Python: >=3.14
31
+ Description-Content-Type: text/markdown
32
+
33
+ # Zed AgentOps
34
+
35
+ - Cross-session handoff (.agent/handoff.md)
36
+ - CI/CD-like loop: edit -> verify -> commit -> update handoff
37
+ - Test generation as part of the loop (agent adds tests, then verify)
38
+
39
+ ## Quick start
40
+
41
+ ```bash
42
+ ./zed-agentops-init.sh project_name
43
+ ```
44
+
45
+ Use `zed-agentops-init.sh` to scaffold a directory (it creates `.rules`, `.zed/`, `.agent`, and `.zed/scripts/verify`).
46
+ It also auto-appends common entries to `.gitignore` (including `.zed/` and `.agent/`).
47
+ Open the directory in Zed and use the Agent Panel.
48
+
49
+ ## Where things live
50
+
51
+ - `.rules` : project rules auto-injected into Zed Agent context
52
+ - `.zed/tasks.json` : reusable Tasks (verify, git helpers)
53
+ - `.zed/scripts/verify` : the single entry point for build/test/lint (extend as needed)
54
+ - `.agent/handoff.md` : cross-session handoff (source of truth)
55
+ - `.agent/session-log.jsonl` : optional event log (append-only)
56
+ - `.agent/checkpoints/` : diff checkpoints (json snapshots)
57
+ - `src/agentops_mcp_server/` : optional MCP server scaffold (Python)
58
+
59
+ ## MCP Server (Zed)
60
+
61
+ The MCP server lives in `src/agentops_mcp_server/main.py` and exposes a minimal JSON-RPC 2.0 stdio protocol compatible with Zed. It reads one JSON object per line from stdin and writes JSON-RPC responses to stdout. Supported methods include `initialize`, `initialized`, `tools/list`, `tools/call`, `shutdown`, and `exit`.
62
+
63
+ Run it with:
64
+ - `uv run agentops_mcp_server`
65
+
66
+ Zed (MCP Server):
67
+ ```json
68
+ {
69
+ "agentops-server": {
70
+ "command": "/opt/homebrew/bin/agentops_mcp_server",
71
+ "args": [],
72
+ "env": {}
73
+ }
74
+ }
75
+ ```
76
+
77
+ Tool Settings (settings.json):
78
+ ```json
79
+ "agent": {
80
+ "tool_permissions": {
81
+ "tools": {
82
+ "create_directory": {
83
+ "default": "allow"
84
+ },
85
+ "fetch": {
86
+ "default": "allow"
87
+ },
88
+ "web_search": {
89
+ "default": "allow"
90
+ },
91
+ "terminal": {
92
+ "default": "allow"
93
+ },
94
+ "mcp:agentops-server:handoff.read": {
95
+ "default": "allow"
96
+ },
97
+ "mcp:agentops-server:handoff_read": {
98
+ "default": "allow"
99
+ },
100
+ "mcp:agentops-server:handoff.update": {
101
+ "default": "allow"
102
+ },
103
+ "mcp:agentops-server:handoff_update": {
104
+ "default": "allow"
105
+ },
106
+ "mcp:agentops-server:handoff.normalize": {
107
+ "default": "allow"
108
+ },
109
+ "mcp:agentops-server:handoff_normalize": {
110
+ "default": "allow"
111
+ },
112
+ "mcp:agentops-server:session.log_append": {
113
+ "default": "allow"
114
+ },
115
+ "mcp:agentops-server:session_log_append": {
116
+ "default": "allow"
117
+ },
118
+ "mcp:agentops-server:session.capture_context": {
119
+ "default": "allow"
120
+ },
121
+ "mcp:agentops-server:session_capture_context": {
122
+ "default": "allow"
123
+ },
124
+ "mcp:agentops-server:session.checkpoint": {
125
+ "default": "allow"
126
+ },
127
+ "mcp:agentops-server:session_checkpoint": {
128
+ "default": "allow"
129
+ },
130
+ "mcp:agentops-server:session.diff_since_checkpoint": {
131
+ "default": "allow"
132
+ },
133
+ "mcp:agentops-server:session_diff_since_checkpoint": {
134
+ "default": "allow"
135
+ },
136
+ "mcp:agentops-server:repo.verify": {
137
+ "default": "allow"
138
+ },
139
+ "mcp:agentops-server:repo_verify": {
140
+ "default": "allow"
141
+ },
142
+ "mcp:agentops-server:repo.commit": {
143
+ "default": "allow"
144
+ },
145
+ "mcp:agentops-server:repo_commit": {
146
+ "default": "allow"
147
+ },
148
+ "mcp:agentops-server:repo.status_summary": {
149
+ "default": "allow"
150
+ },
151
+ "mcp:agentops-server:repo_status_summary": {
152
+ "default": "allow"
153
+ },
154
+ "mcp:agentops-server:repo.commit_message_suggest": {
155
+ "default": "allow"
156
+ },
157
+ "mcp:agentops-server:repo_commit_message_suggest": {
158
+ "default": "allow"
159
+ },
160
+ "mcp:agentops-server:tests.suggest": {
161
+ "default": "allow"
162
+ },
163
+ "mcp:agentops-server:tests_suggest": {
164
+ "default": "allow"
165
+ },
166
+ "mcp:agentops-server:tests.suggest_from_failures": {
167
+ "default": "allow"
168
+ },
169
+ "mcp:agentops-server:tests_suggest_from_failures": {
170
+ "default": "allow"
171
+ },
172
+ "mcp:agentops-server:commit_if_verified": {
173
+ "default": "allow"
174
+ },
175
+ "mcp:agentops-server:log_append": {
176
+ "default": "allow"
177
+ }
178
+ }
179
+ },
180
+ "default_model": {
181
+ "provider": "copilot_chat",
182
+ "model": "gpt-5.2-codex"
183
+ }
184
+ },
185
+ ```
186
+
187
+ MCP tools:
188
+ - `handoff.read` (`handoff_read`)
189
+ - `handoff.update` (`handoff_update`)
190
+ - `handoff.normalize` (`handoff_normalize`)
191
+ - `session.log_append` (`session_log_append`)
192
+ - `session.capture_context` (`session_capture_context`)
193
+ - `session.checkpoint` (`session_checkpoint`)
194
+ - `session.diff_since_checkpoint` (`session_diff_since_checkpoint`)
195
+ - `repo.verify` (`repo_verify`)
196
+ - `repo.commit` (`repo_commit`)
197
+ - `repo.status_summary` (`repo_status_summary`)
198
+ - `repo.commit_message_suggest` (`repo_commit_message_suggest`)
199
+ - `tests.suggest` (`tests_suggest`)
200
+ - `tests.suggest_from_failures` (`tests_suggest_from_failures`)
201
+ - Legacy: `handoff_update`, `commit_if_verified`, `log_append`
202
+
203
+ Usage notes:
204
+ - Call `tools/list` to enumerate tools. Example request: `{"jsonrpc":"2.0","id":1,"method":"tools/list"}`
205
+ - Call `tools/call` to invoke a tool. Example request: `{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"handoff.update","arguments":{"summary":"Wrap up MCP tools","decisions":"Added structured handoff updates","next_actions":"Add tests for handoff parsing"}}}`
206
+ - Successful responses include a `result`; failures include an `error` with `code` and `message`.
207
+
208
+ Then register the MCP server in Zed and grant tool permissions as you prefer.
209
+
210
+ ## License
211
+ MIT
@@ -0,0 +1,179 @@
1
+ # Zed AgentOps
2
+
3
+ - クロスセッションの引き継ぎ(.agent/handoff.md)
4
+ - CI/CD 的ループ:編集 -> verify -> commit -> handoff 更新
5
+ - テスト生成をループに含める(エージェントがテスト追加し、verify)
6
+
7
+ ## クイックスタート
8
+
9
+ ```bash
10
+ ./zed-agentops-init.sh project_name
11
+ ```
12
+
13
+ `zed-agentops-init.sh` を使ってディレクトリをスキャフォールドします(`.rules`、`.zed/`、`.agent`、`.zed/scripts/verify` を作成)。
14
+ ディレクトリを Zed で開き、Agent パネルを使ってください。
15
+ `.gitignore` には `.zed/` と `.agent/` などのエントリが自動追記されます。
16
+
17
+ ## 主要ファイルの配置
18
+
19
+ - `.rules` : Zed Agent のコンテキストに自動注入されるプロジェクトルール
20
+ - `.zed/tasks.json` : 再利用可能なタスク(verify、git ヘルパー)
21
+ - `.zed/scripts/verify` : build/test/lint の単一エントリーポイント(必要に応じて拡張)
22
+ - `.agent/handoff.md` : クロスセッション引き継ぎ(ソース・オブ・トゥルース)
23
+ - `.agent/session-log.jsonl` : オプションのイベントログ(追記のみ)
24
+ - `.agent/checkpoints/` : diff チェックポイント(json スナップショット)
25
+ - `src/agentops_mcp_server/` : 任意の MCP サーバスキャフォールド(Python)
26
+
27
+ ## MCP Server (Zed)
28
+
29
+ MCP サーバは `src/agentops_mcp_server/main.py` にあり、Zed と互換の最小 JSON-RPC 2.0 stdio プロトコルを提供します。stdin から 1 行 1 JSON を読み、stdout に JSON-RPC 応答を返します。対応メソッドは `initialize`、`initialized`、`tools/list`、`tools/call`、`shutdown`、`exit` です。
30
+
31
+ 起動方法:
32
+ - `uv run agentops_mcp_server`
33
+
34
+ Zed (MCP):
35
+ ```json
36
+ {
37
+ "agentops-server": {
38
+ "command": "/opt/homebrew/bin/agentops_mcp_server",
39
+ "args": [],
40
+ "env": {}
41
+ }
42
+ }
43
+ ```
44
+
45
+ Tool Settings (settings.json):
46
+ ```json
47
+ "agent": {
48
+ "tool_permissions": {
49
+ "tools": {
50
+ "create_directory": {
51
+ "default": "allow"
52
+ },
53
+ "fetch": {
54
+ "default": "allow"
55
+ },
56
+ "web_search": {
57
+ "default": "allow"
58
+ },
59
+ "terminal": {
60
+ "default": "allow"
61
+ },
62
+ "mcp:agentops-server:handoff.read": {
63
+ "default": "allow"
64
+ },
65
+ "mcp:agentops-server:handoff_read": {
66
+ "default": "allow"
67
+ },
68
+ "mcp:agentops-server:handoff.update": {
69
+ "default": "allow"
70
+ },
71
+ "mcp:agentops-server:handoff_update": {
72
+ "default": "allow"
73
+ },
74
+ "mcp:agentops-server:handoff.normalize": {
75
+ "default": "allow"
76
+ },
77
+ "mcp:agentops-server:handoff_normalize": {
78
+ "default": "allow"
79
+ },
80
+ "mcp:agentops-server:session.log_append": {
81
+ "default": "allow"
82
+ },
83
+ "mcp:agentops-server:session_log_append": {
84
+ "default": "allow"
85
+ },
86
+ "mcp:agentops-server:session.capture_context": {
87
+ "default": "allow"
88
+ },
89
+ "mcp:agentops-server:session_capture_context": {
90
+ "default": "allow"
91
+ },
92
+ "mcp:agentops-server:session.checkpoint": {
93
+ "default": "allow"
94
+ },
95
+ "mcp:agentops-server:session_checkpoint": {
96
+ "default": "allow"
97
+ },
98
+ "mcp:agentops-server:session.diff_since_checkpoint": {
99
+ "default": "allow"
100
+ },
101
+ "mcp:agentops-server:session_diff_since_checkpoint": {
102
+ "default": "allow"
103
+ },
104
+ "mcp:agentops-server:repo.verify": {
105
+ "default": "allow"
106
+ },
107
+ "mcp:agentops-server:repo_verify": {
108
+ "default": "allow"
109
+ },
110
+ "mcp:agentops-server:repo.commit": {
111
+ "default": "allow"
112
+ },
113
+ "mcp:agentops-server:repo_commit": {
114
+ "default": "allow"
115
+ },
116
+ "mcp:agentops-server:repo.status_summary": {
117
+ "default": "allow"
118
+ },
119
+ "mcp:agentops-server:repo_status_summary": {
120
+ "default": "allow"
121
+ },
122
+ "mcp:agentops-server:repo.commit_message_suggest": {
123
+ "default": "allow"
124
+ },
125
+ "mcp:agentops-server:repo_commit_message_suggest": {
126
+ "default": "allow"
127
+ },
128
+ "mcp:agentops-server:tests.suggest": {
129
+ "default": "allow"
130
+ },
131
+ "mcp:agentops-server:tests_suggest": {
132
+ "default": "allow"
133
+ },
134
+ "mcp:agentops-server:tests.suggest_from_failures": {
135
+ "default": "allow"
136
+ },
137
+ "mcp:agentops-server:tests_suggest_from_failures": {
138
+ "default": "allow"
139
+ },
140
+ "mcp:agentops-server:commit_if_verified": {
141
+ "default": "allow"
142
+ },
143
+ "mcp:agentops-server:log_append": {
144
+ "default": "allow"
145
+ }
146
+ }
147
+ },
148
+ "default_model": {
149
+ "provider": "copilot_chat",
150
+ "model": "gpt-5.2-codex"
151
+ }
152
+ },
153
+ ```
154
+
155
+ 提供ツール(例):
156
+ - `handoff.read` / `handoff_read`
157
+ - `handoff.update` / `handoff_update`
158
+ - `handoff.normalize` / `handoff_normalize`
159
+ - `session.log_append` / `session_log_append`
160
+ - `session.capture_context` / `session_capture_context`
161
+ - `session.checkpoint` / `session_checkpoint`
162
+ - `session.diff_since_checkpoint` / `session_diff_since_checkpoint`
163
+ - `repo.verify` / `repo_verify`
164
+ - `repo.commit` / `repo_commit`
165
+ - `repo.status_summary` / `repo_status_summary`
166
+ - `repo.commit_message_suggest` / `repo_commit_message_suggest`
167
+ - `tests.suggest` / `tests_suggest`
168
+ - `tests.suggest_from_failures` / `tests_suggest_from_failures`
169
+ - 互換ツール: `handoff_update`, `commit_if_verified`, `log_append`
170
+
171
+ 使用メモ:
172
+ - `tools/list` でツール一覧を取得。例: `{"jsonrpc":"2.0","id":1,"method":"tools/list"}`
173
+ - `tools/call` でツールを呼び出し。例: `{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"handoff.read","arguments":{}}}`
174
+ - 成功時は `result`、失敗時は `error`(`code` と `message`)が返ります。
175
+
176
+ あとは Zed に MCP サーバを登録し、必要な権限を付与してください。
177
+
178
+ ## ライセンス
179
+ MIT
@@ -0,0 +1,179 @@
1
+ # Zed AgentOps
2
+
3
+ - Cross-session handoff (.agent/handoff.md)
4
+ - CI/CD-like loop: edit -> verify -> commit -> update handoff
5
+ - Test generation as part of the loop (agent adds tests, then verify)
6
+
7
+ ## Quick start
8
+
9
+ ```bash
10
+ ./zed-agentops-init.sh project_name
11
+ ```
12
+
13
+ Use `zed-agentops-init.sh` to scaffold a directory (it creates `.rules`, `.zed/`, `.agent`, and `.zed/scripts/verify`).
14
+ It also auto-appends common entries to `.gitignore` (including `.zed/` and `.agent/`).
15
+ Open the directory in Zed and use the Agent Panel.
16
+
17
+ ## Where things live
18
+
19
+ - `.rules` : project rules auto-injected into Zed Agent context
20
+ - `.zed/tasks.json` : reusable Tasks (verify, git helpers)
21
+ - `.zed/scripts/verify` : the single entry point for build/test/lint (extend as needed)
22
+ - `.agent/handoff.md` : cross-session handoff (source of truth)
23
+ - `.agent/session-log.jsonl` : optional event log (append-only)
24
+ - `.agent/checkpoints/` : diff checkpoints (json snapshots)
25
+ - `src/agentops_mcp_server/` : optional MCP server scaffold (Python)
26
+
27
+ ## MCP Server (Zed)
28
+
29
+ The MCP server lives in `src/agentops_mcp_server/main.py` and exposes a minimal JSON-RPC 2.0 stdio protocol compatible with Zed. It reads one JSON object per line from stdin and writes JSON-RPC responses to stdout. Supported methods include `initialize`, `initialized`, `tools/list`, `tools/call`, `shutdown`, and `exit`.
30
+
31
+ Run it with:
32
+ - `uv run agentops_mcp_server`
33
+
34
+ Zed (MCP Server):
35
+ ```json
36
+ {
37
+ "agentops-server": {
38
+ "command": "/opt/homebrew/bin/agentops_mcp_server",
39
+ "args": [],
40
+ "env": {}
41
+ }
42
+ }
43
+ ```
44
+
45
+ Tool Settings (settings.json):
46
+ ```json
47
+ "agent": {
48
+ "tool_permissions": {
49
+ "tools": {
50
+ "create_directory": {
51
+ "default": "allow"
52
+ },
53
+ "fetch": {
54
+ "default": "allow"
55
+ },
56
+ "web_search": {
57
+ "default": "allow"
58
+ },
59
+ "terminal": {
60
+ "default": "allow"
61
+ },
62
+ "mcp:agentops-server:handoff.read": {
63
+ "default": "allow"
64
+ },
65
+ "mcp:agentops-server:handoff_read": {
66
+ "default": "allow"
67
+ },
68
+ "mcp:agentops-server:handoff.update": {
69
+ "default": "allow"
70
+ },
71
+ "mcp:agentops-server:handoff_update": {
72
+ "default": "allow"
73
+ },
74
+ "mcp:agentops-server:handoff.normalize": {
75
+ "default": "allow"
76
+ },
77
+ "mcp:agentops-server:handoff_normalize": {
78
+ "default": "allow"
79
+ },
80
+ "mcp:agentops-server:session.log_append": {
81
+ "default": "allow"
82
+ },
83
+ "mcp:agentops-server:session_log_append": {
84
+ "default": "allow"
85
+ },
86
+ "mcp:agentops-server:session.capture_context": {
87
+ "default": "allow"
88
+ },
89
+ "mcp:agentops-server:session_capture_context": {
90
+ "default": "allow"
91
+ },
92
+ "mcp:agentops-server:session.checkpoint": {
93
+ "default": "allow"
94
+ },
95
+ "mcp:agentops-server:session_checkpoint": {
96
+ "default": "allow"
97
+ },
98
+ "mcp:agentops-server:session.diff_since_checkpoint": {
99
+ "default": "allow"
100
+ },
101
+ "mcp:agentops-server:session_diff_since_checkpoint": {
102
+ "default": "allow"
103
+ },
104
+ "mcp:agentops-server:repo.verify": {
105
+ "default": "allow"
106
+ },
107
+ "mcp:agentops-server:repo_verify": {
108
+ "default": "allow"
109
+ },
110
+ "mcp:agentops-server:repo.commit": {
111
+ "default": "allow"
112
+ },
113
+ "mcp:agentops-server:repo_commit": {
114
+ "default": "allow"
115
+ },
116
+ "mcp:agentops-server:repo.status_summary": {
117
+ "default": "allow"
118
+ },
119
+ "mcp:agentops-server:repo_status_summary": {
120
+ "default": "allow"
121
+ },
122
+ "mcp:agentops-server:repo.commit_message_suggest": {
123
+ "default": "allow"
124
+ },
125
+ "mcp:agentops-server:repo_commit_message_suggest": {
126
+ "default": "allow"
127
+ },
128
+ "mcp:agentops-server:tests.suggest": {
129
+ "default": "allow"
130
+ },
131
+ "mcp:agentops-server:tests_suggest": {
132
+ "default": "allow"
133
+ },
134
+ "mcp:agentops-server:tests.suggest_from_failures": {
135
+ "default": "allow"
136
+ },
137
+ "mcp:agentops-server:tests_suggest_from_failures": {
138
+ "default": "allow"
139
+ },
140
+ "mcp:agentops-server:commit_if_verified": {
141
+ "default": "allow"
142
+ },
143
+ "mcp:agentops-server:log_append": {
144
+ "default": "allow"
145
+ }
146
+ }
147
+ },
148
+ "default_model": {
149
+ "provider": "copilot_chat",
150
+ "model": "gpt-5.2-codex"
151
+ }
152
+ },
153
+ ```
154
+
155
+ MCP tools:
156
+ - `handoff.read` (`handoff_read`)
157
+ - `handoff.update` (`handoff_update`)
158
+ - `handoff.normalize` (`handoff_normalize`)
159
+ - `session.log_append` (`session_log_append`)
160
+ - `session.capture_context` (`session_capture_context`)
161
+ - `session.checkpoint` (`session_checkpoint`)
162
+ - `session.diff_since_checkpoint` (`session_diff_since_checkpoint`)
163
+ - `repo.verify` (`repo_verify`)
164
+ - `repo.commit` (`repo_commit`)
165
+ - `repo.status_summary` (`repo_status_summary`)
166
+ - `repo.commit_message_suggest` (`repo_commit_message_suggest`)
167
+ - `tests.suggest` (`tests_suggest`)
168
+ - `tests.suggest_from_failures` (`tests_suggest_from_failures`)
169
+ - Legacy: `handoff_update`, `commit_if_verified`, `log_append`
170
+
171
+ Usage notes:
172
+ - Call `tools/list` to enumerate tools. Example request: `{"jsonrpc":"2.0","id":1,"method":"tools/list"}`
173
+ - Call `tools/call` to invoke a tool. Example request: `{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"handoff.update","arguments":{"summary":"Wrap up MCP tools","decisions":"Added structured handoff updates","next_actions":"Add tests for handoff parsing"}}}`
174
+ - Successful responses include a `result`; failures include an `error` with `code` and `message`.
175
+
176
+ Then register the MCP server in Zed and grant tool permissions as you prefer.
177
+
178
+ ## License
179
+ MIT
@@ -0,0 +1,40 @@
1
+ [project]
2
+ name = "agentops-mcp-server"
3
+ authors = [
4
+ {name = "Rio Fujita", email = "rifujita@microsoft.com"},
5
+ ]
6
+ version = "0.0.1"
7
+ license = {file = "LICENSE"}
8
+ description = "Simple MCP server for AgentOps with Zed"
9
+ readme = "README.md"
10
+ requires-python = ">=3.14"
11
+ dependencies = []
12
+
13
+ [project.urls]
14
+ Homepage = "https://github.com/rioriost/homebrew-agentops_mcp_server"
15
+ Issues = "https://github.com/rioriost/homebrew-agentops_mcp_server/issues"
16
+
17
+ [project.scripts]
18
+ agentops_mcp_server = "agentops_mcp_server.main:main"
19
+
20
+ [build-system]
21
+ requires = ["hatchling"]
22
+ build-backend = "hatchling.build"
23
+
24
+ [tool.hatch.build.targets.wheel]
25
+ packages = ["src/agentops_mcp_server"]
26
+
27
+ [tool.hatch.build.targets.sdist]
28
+ include = [
29
+ "src/agentops_mcp_server/*.py",
30
+ "README.md",
31
+ "README-jp.md",
32
+ "LICENSE",
33
+ "zed-agentops-init.sh"
34
+ ]
35
+ exclude = [
36
+ "agentops_mcp_server.rb",
37
+ "uv.lock",
38
+ "dist/.DS_Store",
39
+ ".envrc",
40
+ ]