@expensebot/mcp-server-auth 0.6.24 → 0.6.26

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 CHANGED
@@ -118,7 +118,7 @@ transport and authentication support.
118
118
  ## Discovery
119
119
 
120
120
  - **Official MCP Registry** — active as
121
- `io.github.TotesMagotes/mcp-server-auth`; version `0.6.24` is the current
121
+ `io.github.TotesMagotes/mcp-server-auth`; version `0.6.26` is the current
122
122
  listing with both npm stdio and remote Streamable HTTP transports
123
123
  - **awesome-mcp-servers** — Finance & Fintech section
124
124
  - **Glama** — <https://glama.ai/mcp/servers/TotesMagotes/expensebot>
@@ -182,6 +182,28 @@ The complete bidirectional checklist and deployment matrix are in
182
182
  main backend does not require republishing this npm package unless this
183
183
  package's schema, local dispatch, or transport also changed.
184
184
 
185
+ ## Publishing this package
186
+
187
+ Releases are automated through **GitHub Actions OIDC trusted publishing** — there
188
+ is no long-lived npm token to manage.
189
+
190
+ - Workflow: `.github/workflows/publish-mcp-server-auth.yml` (runs on Node 22, the
191
+ minimum an OIDC-capable npm needs).
192
+ - Trigger: a push to `master` that changes `mcp-server-auth/package.json` (i.e. a
193
+ version bump), or a manual **Run workflow** (`workflow_dispatch`).
194
+ - It runs `prepublishOnly` (`npm run sync-check` + `src/test.js`), then
195
+ `npm publish` authenticated via OIDC, which also attaches build provenance.
196
+ - It is idempotent: if the version in `package.json` is already on npm it skips
197
+ the publish, so a manual run is a safe no-op dry run.
198
+
199
+ **To cut a release:** bump `version` in `mcp-server-auth/package.json` on `master`.
200
+ The workflow publishes the new version automatically.
201
+
202
+ Trusted publishing is configured on npm (package Settings -> Trusted Publisher:
203
+ GitHub Actions, repo `TotesMagotes/expensebot`, workflow
204
+ `publish-mcp-server-auth.yml`). Do not hand-publish with a personal token — npm is
205
+ removing direct-publish granular tokens in 2027, and OIDC is the supported path.
206
+
185
207
  ## License
186
208
 
187
209
  MIT
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@expensebot/mcp-server-auth",
3
- "version": "0.6.24",
3
+ "version": "0.6.26",
4
4
  "mcpName": "io.github.TotesMagotes/mcp-server-auth",
5
5
  "description": "ExpenseBot MCP server for receipt and income capture, Gmail scans, spending analytics, and reviewed expense reports from AI assistants.",
6
6
  "homepage": "https://www.expensebot.ai/mcp",
package/server.json CHANGED
@@ -7,7 +7,7 @@
7
7
  "url": "https://github.com/TotesMagotes/expensebot-mcp",
8
8
  "source": "github"
9
9
  },
10
- "version": "0.6.24",
10
+ "version": "0.6.26",
11
11
  "websiteUrl": "https://www.expensebot.ai/mcp",
12
12
  "icons": [
13
13
  {
@@ -28,7 +28,7 @@
28
28
  {
29
29
  "registryType": "npm",
30
30
  "identifier": "@expensebot/mcp-server-auth",
31
- "version": "0.6.24",
31
+ "version": "0.6.26",
32
32
  "transport": {
33
33
  "type": "stdio"
34
34
  }
package/src/client.js CHANGED
@@ -46,7 +46,7 @@ export class ExpenseBotClient {
46
46
  headers: {
47
47
  Authorization: `Bearer ${this.token}`,
48
48
  "Content-Type": "application/json",
49
- "User-Agent": "expensebot-mcp-auth/0.6.24",
49
+ "User-Agent": "expensebot-mcp-auth/0.6.26",
50
50
  "X-ExpenseBot-MCP-Transport": "stdio",
51
51
  ...options.headers,
52
52
  },