@bridge_gpt/mcp-server 0.1.0

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.
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Bridge GPT
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.
package/README.md ADDED
@@ -0,0 +1,178 @@
1
+ # @bridge_gpt/mcp-server
2
+
3
+ MCP server for [Bridge API](https://bridgegpt-api.com) — exposes Jira integration endpoints as MCP tools for AI coding agents. Works with Claude Code, VS Code/Copilot, Cursor, Windsurf, and OpenAI Codex.
4
+
5
+ ## Environment Variables
6
+
7
+ | Variable | Required | Default | Description |
8
+ |---|---|---|---|
9
+ | `BAPI_BASE_URL` | Yes | `http://localhost:8000` | Bridge API base URL (production: `https://bridgegpt-api.com`) |
10
+ | `BAPI_REPO_NAME` | Yes | _(none)_ | Jira project/repository identifier configured in Bridge API |
11
+ | `BAPI_API_KEY` | Yes | _(none)_ | API key obtained from the Bridge API setup UI |
12
+ | `BAPI_DOCS_DIR` | No | `docs/tmp` | Local directory for saving plans, critiques, and research reports |
13
+
14
+ ## Configuration
15
+
16
+ ### Claude Code (CLI)
17
+
18
+ ```bash
19
+ claude mcp add bridge-api -- npx -y @bridge_gpt/mcp-server \
20
+ --env BAPI_BASE_URL=https://bridgegpt-api.com \
21
+ --env BAPI_REPO_NAME=your-repo \
22
+ --env BAPI_API_KEY=your-api-key \
23
+ --env BAPI_DOCS_DIR=docs/tmp
24
+ ```
25
+
26
+ ### Claude Code (.mcp.json)
27
+
28
+ ```json
29
+ {
30
+ "mcpServers": {
31
+ "bridge-api": {
32
+ "command": "npx",
33
+ "args": ["-y", "@bridge_gpt/mcp-server"],
34
+ "env": {
35
+ "BAPI_BASE_URL": "https://bridgegpt-api.com",
36
+ "BAPI_REPO_NAME": "your-repo",
37
+ "BAPI_API_KEY": "your-api-key",
38
+ "BAPI_DOCS_DIR": "docs/tmp"
39
+ }
40
+ }
41
+ }
42
+ }
43
+ ```
44
+
45
+ ### VS Code / Copilot (.vscode/mcp.json)
46
+
47
+ ```json
48
+ {
49
+ "servers": {
50
+ "bridge-api": {
51
+ "command": "npx",
52
+ "args": ["-y", "@bridge_gpt/mcp-server"],
53
+ "env": {
54
+ "BAPI_BASE_URL": "https://bridgegpt-api.com",
55
+ "BAPI_REPO_NAME": "your-repo",
56
+ "BAPI_API_KEY": "your-api-key",
57
+ "BAPI_DOCS_DIR": "docs/tmp"
58
+ }
59
+ }
60
+ }
61
+ }
62
+ ```
63
+
64
+ ### Cursor (~/.cursor/config/mcp.json)
65
+
66
+ ```json
67
+ {
68
+ "mcpServers": {
69
+ "bridge-api": {
70
+ "command": "npx",
71
+ "args": ["-y", "@bridge_gpt/mcp-server"],
72
+ "env": {
73
+ "BAPI_BASE_URL": "https://bridgegpt-api.com",
74
+ "BAPI_REPO_NAME": "your-repo",
75
+ "BAPI_API_KEY": "your-api-key",
76
+ "BAPI_DOCS_DIR": "docs/tmp"
77
+ }
78
+ }
79
+ }
80
+ }
81
+ ```
82
+
83
+ ### Windsurf (~/.codeium/windsurf/mcp_config.json)
84
+
85
+ ```json
86
+ {
87
+ "mcpServers": {
88
+ "bridge-api": {
89
+ "command": "npx",
90
+ "args": ["-y", "@bridge_gpt/mcp-server"],
91
+ "env": {
92
+ "BAPI_BASE_URL": "https://bridgegpt-api.com",
93
+ "BAPI_REPO_NAME": "your-repo",
94
+ "BAPI_API_KEY": "your-api-key",
95
+ "BAPI_DOCS_DIR": "docs/tmp"
96
+ }
97
+ }
98
+ }
99
+ }
100
+ ```
101
+
102
+ ### OpenAI Codex (~/.codex/config.toml)
103
+
104
+ ```toml
105
+ [mcp_servers.bridge-api]
106
+ command = "npx"
107
+ args = ["-y", "@bridge_gpt/mcp-server"]
108
+
109
+ [mcp_servers.bridge-api.env]
110
+ BAPI_BASE_URL = "https://bridgegpt-api.com"
111
+ BAPI_REPO_NAME = "your-repo"
112
+ BAPI_API_KEY = "your-api-key"
113
+ BAPI_DOCS_DIR = "docs/tmp"
114
+ ```
115
+
116
+ ## Available Tools
117
+
118
+ | Tool | Description |
119
+ |---|---|
120
+ | `ping` | Health check — verify connectivity and API key |
121
+ | `get_project_standards` | Retrieve configured coding standards |
122
+ | `get_tickets` | Search and list Jira tickets |
123
+ | `get_ticket` | Get full details for a single ticket |
124
+ | `create_ticket` | Create a new Jira ticket |
125
+ | `add_comment` | Add a comment to a ticket |
126
+ | `update_ticket_description` | Replace a ticket's description |
127
+ | `upload_attachment` | Upload a file as an attachment to a Jira ticket |
128
+ | `request_plan_generation` | Generate an AI implementation plan (async) |
129
+ | `get_plan` | Retrieve a generated implementation plan |
130
+ | `request_architecture` | Generate an AI architecture plan (async) |
131
+ | `get_architecture` | Retrieve a generated architecture plan |
132
+ | `request_clarifying_questions` | Generate clarifying questions for a ticket (async) |
133
+ | `get_clarifying_questions` | Retrieve generated clarifying questions |
134
+ | `request_ticket_critique` | Generate a ticket quality critique (async) |
135
+ | `get_ticket_critique` | Retrieve a generated ticket critique |
136
+ | `request_reimplement_context` | Request reimplementation context (async) |
137
+ | `get_reimplement_context` | Retrieve reimplementation context |
138
+ | `request_deep_research` | Run deep research on a query (async) |
139
+ | `get_deep_research` | Retrieve deep research results |
140
+ | `parse_repository` | Parse and index a repository (async) |
141
+ | `get_parse_status` | Check repository parse status |
142
+ | `regenerate_directory_map` | Regenerate the repository directory map |
143
+ | `track_ticket` | Register a ticket for lifecycle tracking |
144
+ | `update_ticket_state` | Update ticket lifecycle timestamps |
145
+ | `get_ticket_state` | Get ticket tracking state and timestamps |
146
+ | `list_config_fields` | List available configuration fields |
147
+ | `get_config_field` | Get a configuration field value |
148
+ | `update_config_field` | Update a configuration field |
149
+ | `get_my_role` | Check role and permissions for the current API key |
150
+ | `get_jira_transitions` | List available Jira status transitions |
151
+ | `update_jira_status` | Transition a ticket to a new status |
152
+ | `resolve_target_status` | Resolve the post-PR target status for a project |
153
+ | `create_pull_request` | Create a pull request |
154
+ | `resolve_ci_checks` | Discover and classify CI checks |
155
+ | `poll_ci_checks` | Poll CI check status |
156
+ | `get_docs_dir` | Return the configured docs directory path |
157
+ | `list_pipelines` | List available pipeline recipes |
158
+ | `get_pipeline_recipe` | Retrieve a resolved pipeline recipe |
159
+
160
+ ### Pipeline Recipes
161
+
162
+ The `list_pipelines` and `get_pipeline_recipe` tools provide access to declarative multi-step workflow recipes (e.g., `implement-ticket`, `review-ticket`, `full-lifecycle`). These are resolved locally from bundled definitions — no additional server calls are needed.
163
+
164
+ ## Publishing
165
+
166
+ This package uses tag-based publishing. To release a new version:
167
+
168
+ ```bash
169
+ cd mcp_server
170
+ npm version patch # creates tag mcp-server/v0.1.1
171
+ git push --follow-tags
172
+ ```
173
+
174
+ The GitHub Actions workflow triggers on `mcp-server/v*` tags and publishes to npm with provenance.
175
+
176
+ ## License
177
+
178
+ MIT