@mgsoftwarebv/mcp-server-bridge 3.3.8 → 3.4.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/README.md +2 -13
- package/dist/index.js +12 -1199
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @mgsoftwarebv/mcp-server-bridge
|
|
2
2
|
|
|
3
|
-
An MCP server that connects **Cursor / Claude Desktop / Windsurf** directly to your **Refront** Postgres database, exposing tickets, customers, projects,
|
|
3
|
+
An MCP server that connects **Cursor / Claude Desktop / Windsurf** directly to your **Refront** Postgres database, exposing tickets, customers, projects, documents and time tracking as MCP tools and resources.
|
|
4
4
|
|
|
5
5
|
Since v3.0 the bridge talks straight to Postgres via Drizzle ORM — the previous PostgREST/JWT transport has been removed.
|
|
6
6
|
|
|
@@ -88,7 +88,7 @@ How it resolves which provider a tool acts on:
|
|
|
88
88
|
|
|
89
89
|
- **`teamId` provided** → it is validated against your memberships and used.
|
|
90
90
|
- **`teamId` omitted, you belong to one provider** → that provider is used automatically (no change for single-provider users).
|
|
91
|
-
- **`teamId` omitted, you belong to several** → list/create tools return the list of your providers and ask the AI to re-call with a `teamId`. By-id
|
|
91
|
+
- **`teamId` omitted, you belong to several** → list/create tools return the list of your providers and ask the AI to re-call with a `teamId`. By-id tools resolve across all your providers (the record id disambiguates), and accept `teamId` to narrow.
|
|
92
92
|
|
|
93
93
|
Use **get-teams** to list the providers you can act on and copy a `teamId`.
|
|
94
94
|
|
|
@@ -126,17 +126,6 @@ Document text runs through a built-in **humanizer** that strips AI-sounding patt
|
|
|
126
126
|
|
|
127
127
|
Optional PDF compilation: pass `compilePdf: true` to trigger the `compile-document-pdf` Trigger.dev job after create/update. This requires `TRIGGER_SECRET_KEY` (and optionally `TRIGGER_API_URL`) in the bridge `env`; without it the dashboard compiles the PDF when the document is opened or shared.
|
|
128
128
|
|
|
129
|
-
### AI Development Tracking
|
|
130
|
-
- **start-ai-session-smart** — start an AI dev session with time tracking
|
|
131
|
-
- **track-manual-follow-up** — record a manual follow-up prompt and adjust the time estimate
|
|
132
|
-
- **sync-session-todos** — replace/extend the todo list for a session
|
|
133
|
-
- **add-follow-up-todos** — append todos that came up during follow-up
|
|
134
|
-
- **update-session-status** — change the session status (`started`, `in_progress`, `paused`, `completed`, `failed`)
|
|
135
|
-
- **get-session-context** — read back current session state (ticket, todos, follow-ups)
|
|
136
|
-
- **get-completion-context** — full context bundle for generating a customer response
|
|
137
|
-
- **save-customer-response** — store the AI-generated customer response for provider approval
|
|
138
|
-
- **complete-ai-session** — finalize the session, create/update a draft agenda event
|
|
139
|
-
|
|
140
129
|
### Time Tracking
|
|
141
130
|
- **log-hours** — log work hours as a draft agenda event (see the `/hours` Cursor command)
|
|
142
131
|
|