Skip to content

Commit 1f00de0

Browse files
release: version 2.4.0 - fix ci/cd, update changelog and agents guide
1 parent 4778a92 commit 1f00de0

8 files changed

Lines changed: 86 additions & 559 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ name: CI
22

33
on:
44
push:
5-
branches: [main]
5+
branches: [master]
66
pull_request:
7-
branches: [main]
7+
branches: [master]
88

99
permissions:
1010
contents: read

CHANGELOG.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,21 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [2.4.0] - 2026-03-15
9+
10+
### Fixed
11+
12+
- **Server version alignment** — Fixed a mismatch where the runtime MCP server reported a different version than `package.json`.
13+
- **Security: SDK upgrade** — Upgraded `@modelcontextprotocol/sdk` to v1.26.0 to address GHSA-345p-7cg4-v4c7.
14+
15+
### Added
16+
17+
- **Agents guide** — Created `agents.md` with instructions for publishing and managing the server.
18+
19+
### Changed
20+
21+
- **CI/CD Pipeline** — Updated GitHub Actions to correctly target the `master` branch.
22+
823
## [2.0.0] - 2026-02-06
924

1025
### Added

agents.md

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
# Publishing Guide for Agents
2+
3+
This document outlines the steps for building, versioning, and publishing the `@takescake/1password-mcp` server.
4+
5+
## Versioning
6+
7+
We adhere to [Semantic Versioning](https://semver.org/).
8+
- **Patch** (2.4.x): Bug fixes and minor security updates.
9+
- **Minor** (2.x.0): New tools, prompts, or non-breaking features.
10+
- **Major** (x.0.0): Breaking changes to the MCP tool schemas or core architecture.
11+
12+
When bumping the version, ensure it is updated in the following locations:
13+
1. `package.json`
14+
2. `server.json`
15+
3. `src/config.ts` (the `SERVER_VERSION` constant)
16+
4. `CHANGELOG.md`
17+
18+
## Build and Validation
19+
20+
Before publishing, always run the full validation suite:
21+
22+
```bash
23+
# Clean previous builds
24+
npm run clean
25+
26+
# Install fresh dependencies
27+
npm ci
28+
29+
# Type-check, build, and run tests
30+
npm run build
31+
npm run lint
32+
npm test
33+
```
34+
35+
## Publishing to npm
36+
37+
### Automated (Recommended)
38+
39+
1. Create a new GitHub Release on the `master` branch.
40+
2. The `publish.yml` workflow will automatically trigger, build, test, and publish to npm.
41+
3. Ensure the `NPM_TOKEN` is configured in GitHub Secrets.
42+
43+
### Manual
44+
45+
If manual publishing is required:
46+
47+
```bash
48+
npm login
49+
npm publish --access public
50+
```
51+
52+
*Note: The `prepublishOnly` script in `package.json` will automatically run `clean`, `build`, and `test` before the package is uploaded.*
53+
54+
## Configuration Variables
55+
56+
- `OP_SERVICE_ACCOUNT_TOKEN`: **Required.** The service account token for 1Password.
57+
- `OP_INTEGRATION_NAME`: (Optional) Defaults to `1password-mcp`.
58+
- `OP_INTEGRATION_VERSION`: (Optional) Defaults to the current `SERVER_VERSION`.
59+
- `MCP_LOG_LEVEL`: (Optional) `debug`, `info`, `warn`, `error`. Defaults to `info`.
60+
61+
## CI/CD Pipeline
62+
63+
The CI pipeline (`ci.yml`) runs on every push and pull request to the `master` branch. It validates the build across Node.js 18, 20, and 22.

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@takescake/1password-mcp",
3-
"version": "2.0.3",
3+
"version": "2.4.0",
44
"private": false,
55
"type": "module",
66
"description": "MCP server for 1Password service accounts — tools, prompts, and resources for vault and credential management",

server.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@
66
"url": "https://github.com/CakeRepository/1Password-MCP.git",
77
"source": "github"
88
},
9-
"version": "2.0.3",
9+
"version": "2.4.0",
1010
"packages": [
1111
{
1212
"registryType": "npm",
1313
"identifier": "@takescake/1password-mcp",
14-
"version": "2.0.3",
14+
"version": "2.4.0",
1515
"transport": {
1616
"type": "stdio"
1717
},

src/config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
import { LOG_LEVEL_VALUES, type LogLevel } from "./types.js";
66

77
export const SERVER_NAME = "1password-mcp";
8-
export const SERVER_VERSION = "2.0.3";
8+
export const SERVER_VERSION = "2.4.0";
99

1010
/** Parse a `--flag value` or `--flag=value` argument from process.argv. */
1111
function getArgValue(name: string): string | undefined {

0 commit comments

Comments
 (0)