@bridge_gpt/mcp-server 0.1.1 → 0.1.3

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,216 @@
1
+ {
2
+ "name": "learn-repository",
3
+ "description": "Learn and document all configuration fields for the repository by running sequential research agents.",
4
+ "variables": ["docs_dir"],
5
+ "steps": [
6
+ {
7
+ "type": "mcp_call",
8
+ "tool": "ping",
9
+ "params": {},
10
+ "description": "Verify Bridge API connectivity"
11
+ },
12
+ {
13
+ "type": "agent_task",
14
+ "instruction": "Create the required output directories by running: mkdir -p {docs_dir}/standards {docs_dir}/tmp",
15
+ "description": "Create output directories for standards drafts"
16
+ },
17
+ {
18
+ "type": "mcp_call",
19
+ "tool": "get_config_field",
20
+ "params": { "field_name": "architecture_instructions" },
21
+ "description": "Fetch current architecture_instructions value",
22
+ "on_error": "warn_and_continue"
23
+ },
24
+ {
25
+ "type": "agent_task",
26
+ "instruction_file": "learn-architecture.md",
27
+ "description": "Learn and document architecture instructions"
28
+ },
29
+ {
30
+ "type": "mcp_call",
31
+ "tool": "update_config_field",
32
+ "params": {
33
+ "field_name": "architecture_instructions",
34
+ "file_path": "{docs_dir}/standards/architecture_instructions.md"
35
+ },
36
+ "description": "Upload architecture_instructions to config",
37
+ "requires_approval": true
38
+ },
39
+ {
40
+ "type": "mcp_call",
41
+ "tool": "get_config_field",
42
+ "params": { "field_name": "review_instructions" },
43
+ "description": "Fetch current review_instructions value",
44
+ "on_error": "warn_and_continue"
45
+ },
46
+ {
47
+ "type": "agent_task",
48
+ "instruction_file": "learn-review-instructions.md",
49
+ "description": "Learn and document review instructions"
50
+ },
51
+ {
52
+ "type": "mcp_call",
53
+ "tool": "update_config_field",
54
+ "params": {
55
+ "field_name": "review_instructions",
56
+ "file_path": "{docs_dir}/standards/review_instructions.md"
57
+ },
58
+ "description": "Upload review_instructions to config",
59
+ "requires_approval": true
60
+ },
61
+ {
62
+ "type": "mcp_call",
63
+ "tool": "get_config_field",
64
+ "params": { "field_name": "documentation_instructions" },
65
+ "description": "Fetch current documentation_instructions value",
66
+ "on_error": "warn_and_continue"
67
+ },
68
+ {
69
+ "type": "agent_task",
70
+ "instruction_file": "learn-documentation-instructions.md",
71
+ "description": "Learn and document documentation instructions"
72
+ },
73
+ {
74
+ "type": "mcp_call",
75
+ "tool": "update_config_field",
76
+ "params": {
77
+ "field_name": "documentation_instructions",
78
+ "file_path": "{docs_dir}/standards/documentation_instructions.md"
79
+ },
80
+ "description": "Upload documentation_instructions to config",
81
+ "requires_approval": true
82
+ },
83
+ {
84
+ "type": "mcp_call",
85
+ "tool": "get_config_field",
86
+ "params": { "field_name": "unit_testing_instructions" },
87
+ "description": "Fetch current unit_testing_instructions value",
88
+ "on_error": "warn_and_continue"
89
+ },
90
+ {
91
+ "type": "agent_task",
92
+ "instruction_file": "learn-unit-testing.md",
93
+ "description": "Learn and document unit testing instructions"
94
+ },
95
+ {
96
+ "type": "mcp_call",
97
+ "tool": "update_config_field",
98
+ "params": {
99
+ "field_name": "unit_testing_instructions",
100
+ "file_path": "{docs_dir}/standards/unit_testing_instructions.md"
101
+ },
102
+ "description": "Upload unit_testing_instructions to config",
103
+ "requires_approval": true
104
+ },
105
+ {
106
+ "type": "mcp_call",
107
+ "tool": "get_config_field",
108
+ "params": { "field_name": "e2e_testing_instructions" },
109
+ "description": "Fetch current e2e_testing_instructions value",
110
+ "on_error": "warn_and_continue"
111
+ },
112
+ {
113
+ "type": "agent_task",
114
+ "instruction_file": "learn-e2e-testing.md",
115
+ "description": "Learn and document E2E testing instructions"
116
+ },
117
+ {
118
+ "type": "mcp_call",
119
+ "tool": "update_config_field",
120
+ "params": {
121
+ "field_name": "e2e_testing_instructions",
122
+ "file_path": "{docs_dir}/standards/e2e_testing_instructions.md"
123
+ },
124
+ "description": "Upload e2e_testing_instructions to config",
125
+ "requires_approval": true
126
+ },
127
+ {
128
+ "type": "mcp_call",
129
+ "tool": "get_config_field",
130
+ "params": { "field_name": "frontend_correctness_standards" },
131
+ "description": "Fetch current frontend_correctness_standards value",
132
+ "on_error": "warn_and_continue"
133
+ },
134
+ {
135
+ "type": "agent_task",
136
+ "instruction_file": "learn-frontend-correctness.md",
137
+ "description": "Learn and document frontend_correctness standards"
138
+ },
139
+ {
140
+ "type": "mcp_call",
141
+ "tool": "update_config_field",
142
+ "params": {
143
+ "field_name": "frontend_correctness_standards",
144
+ "file_path": "{docs_dir}/standards/frontend_correctness_standards.md"
145
+ },
146
+ "description": "Upload frontend_correctness_standards to config",
147
+ "requires_approval": true
148
+ },
149
+ {
150
+ "type": "mcp_call",
151
+ "tool": "get_config_field",
152
+ "params": { "field_name": "backend_correctness_standards" },
153
+ "description": "Fetch current backend_correctness_standards value",
154
+ "on_error": "warn_and_continue"
155
+ },
156
+ {
157
+ "type": "agent_task",
158
+ "instruction_file": "learn-backend-correctness.md",
159
+ "description": "Learn and document backend_correctness standards"
160
+ },
161
+ {
162
+ "type": "mcp_call",
163
+ "tool": "update_config_field",
164
+ "params": {
165
+ "field_name": "backend_correctness_standards",
166
+ "file_path": "{docs_dir}/standards/backend_correctness_standards.md"
167
+ },
168
+ "description": "Upload backend_correctness_standards to config",
169
+ "requires_approval": true
170
+ },
171
+ {
172
+ "type": "mcp_call",
173
+ "tool": "get_config_field",
174
+ "params": { "field_name": "template_correctness_standards" },
175
+ "description": "Fetch current template_correctness_standards value",
176
+ "on_error": "warn_and_continue"
177
+ },
178
+ {
179
+ "type": "agent_task",
180
+ "instruction_file": "learn-template-correctness.md",
181
+ "description": "Learn and document template_correctness standards"
182
+ },
183
+ {
184
+ "type": "mcp_call",
185
+ "tool": "update_config_field",
186
+ "params": {
187
+ "field_name": "template_correctness_standards",
188
+ "file_path": "{docs_dir}/standards/template_correctness_standards.md"
189
+ },
190
+ "description": "Upload template_correctness_standards to config",
191
+ "requires_approval": true
192
+ },
193
+ {
194
+ "type": "mcp_call",
195
+ "tool": "get_config_field",
196
+ "params": { "field_name": "style_correctness_standards" },
197
+ "description": "Fetch current style_correctness_standards value",
198
+ "on_error": "warn_and_continue"
199
+ },
200
+ {
201
+ "type": "agent_task",
202
+ "instruction_file": "learn-style-correctness.md",
203
+ "description": "Learn and document style_correctness standards"
204
+ },
205
+ {
206
+ "type": "mcp_call",
207
+ "tool": "update_config_field",
208
+ "params": {
209
+ "field_name": "style_correctness_standards",
210
+ "file_path": "{docs_dir}/standards/style_correctness_standards.md"
211
+ },
212
+ "description": "Upload style_correctness_standards to config",
213
+ "requires_approval": true
214
+ }
215
+ ]
216
+ }
@@ -0,0 +1,30 @@
1
+ {
2
+ "name": "pr-ticket",
3
+ "description": "Commit changes and create a pull request.",
4
+ "variables": ["ticket_key"],
5
+ "steps": [
6
+ {
7
+ "type": "mcp_call",
8
+ "tool": "ping",
9
+ "params": {},
10
+ "description": "Verify Bridge API connectivity"
11
+ },
12
+ {
13
+ "type": "agent_task",
14
+ "instruction_file": "commit-and-push.md",
15
+ "description": "Stage, commit, and push changes",
16
+ "requires_approval": true
17
+ },
18
+ {
19
+ "type": "mcp_call",
20
+ "tool": "create_pull_request",
21
+ "params": {
22
+ "head_branch": "feature/{ticket_key}",
23
+ "base_branch": "main",
24
+ "title": "{ticket_key}: Implementation"
25
+ },
26
+ "description": "Create a pull request",
27
+ "requires_approval": true
28
+ }
29
+ ]
30
+ }
@@ -0,0 +1,68 @@
1
+ {
2
+ "name": "review-ticket",
3
+ "description": "Review a ticket with two rounds of analysis (initial + second opinion) and evaluate suggestions for accuracy and value.",
4
+ "variables": ["ticket_key", "docs_dir"],
5
+ "steps": [
6
+ {
7
+ "type": "mcp_call",
8
+ "tool": "ping",
9
+ "params": {},
10
+ "description": "Verify Bridge API connectivity"
11
+ },
12
+ {
13
+ "type": "mcp_call",
14
+ "tool": "request_clarifying_questions",
15
+ "params": {
16
+ "ticket_number": "{ticket_key}",
17
+ "wait_for_result": true,
18
+ "save_locally": true,
19
+ "provider": "{provider}"
20
+ },
21
+ "description": "Generate clarifying questions (initial)",
22
+ "on_error": "warn_and_continue"
23
+ },
24
+ {
25
+ "type": "mcp_call",
26
+ "tool": "request_ticket_critique",
27
+ "params": {
28
+ "ticket_number": "{ticket_key}",
29
+ "wait_for_result": true,
30
+ "save_locally": true,
31
+ "provider": "{provider}"
32
+ },
33
+ "description": "Generate ticket quality critique (initial)",
34
+ "on_error": "warn_and_continue"
35
+ },
36
+ {
37
+ "type": "mcp_call",
38
+ "tool": "request_clarifying_questions",
39
+ "params": {
40
+ "ticket_number": "{ticket_key}",
41
+ "second_opinion": "auto",
42
+ "wait_for_result": true,
43
+ "save_locally": true,
44
+ "provider": "{provider}"
45
+ },
46
+ "description": "Generate clarifying questions (second opinion)",
47
+ "on_error": "warn_and_continue"
48
+ },
49
+ {
50
+ "type": "mcp_call",
51
+ "tool": "request_ticket_critique",
52
+ "params": {
53
+ "ticket_number": "{ticket_key}",
54
+ "second_opinion": "auto",
55
+ "wait_for_result": true,
56
+ "save_locally": true,
57
+ "provider": "{provider}"
58
+ },
59
+ "description": "Generate ticket quality critique (second opinion)",
60
+ "on_error": "warn_and_continue"
61
+ },
62
+ {
63
+ "type": "agent_task",
64
+ "instruction_file": "evaluate-ticket-review.md",
65
+ "description": "Evaluate review suggestions against the codebase for groundedness and value"
66
+ }
67
+ ]
68
+ }