@seekrit/mcp 0.1.0 → 0.3.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 CHANGED
@@ -43,6 +43,34 @@ Or drop a `.mcp.json` in your project — the whole setup is this snippet:
43
43
 
44
44
  Requires Node ≥ 20. Set `SEEKRIT_API_URL` too if you're not on the hosted API.
45
45
 
46
+ ## As a container
47
+
48
+ For a sandbox with no Node toolchain, the same server ships as a multi-arch
49
+ Docker image, [`seekritdev/mcp`](https://hub.docker.com/r/seekritdev/mcp).
50
+ Register a stdio server that runs `docker run -i` — the `-i` is required, since
51
+ stdin is the MCP transport:
52
+
53
+ ```json
54
+ {
55
+ "mcpServers": {
56
+ "seekrit": {
57
+ "command": "docker",
58
+ "args": [
59
+ "run", "-i", "--rm",
60
+ "-e", "SEEKRIT_TOKEN",
61
+ "-v", "${PWD}:/work",
62
+ "seekritdev/mcp"
63
+ ]
64
+ }
65
+ }
66
+ }
67
+ ```
68
+
69
+ The bare `-e SEEKRIT_TOKEN` forwards the token from the client's environment.
70
+ Mount a workdir at `/work` for the `run_command` tool to operate on (it runs
71
+ *inside* the container). Pin a release (`seekritdev/mcp:0.2.0`) or track `:edge`.
72
+ The container still decrypts locally — nothing plaintext leaves it.
73
+
46
74
  ## Choosing the credential
47
75
 
48
76
  The server authenticates exactly like the CLI — `SEEKRIT_TOKEN`, or saved
package/dist/index.js CHANGED
@@ -664,7 +664,7 @@ function isServiceToken(value) {
664
664
  }
665
665
  //#endregion
666
666
  //#region ../cli/package.json
667
- var version$1 = "0.18.0";
667
+ var version$1 = "0.19.0";
668
668
  const PROJECT_FILE = "seekrit.json";
669
669
  function globalConfigPath() {
670
670
  return join(process.env.XDG_CONFIG_HOME ?? join(homedir(), ".config"), "seekrit", "config.json");
@@ -2221,7 +2221,7 @@ async function runMcpServer(options = {}) {
2221
2221
  * `seekrit mcp`. tsdown bundles the shared server source in at build time, so the
2222
2222
  * published package is self-contained and needs no `@seekrit/cli` install.
2223
2223
  */
2224
- runMcpServer({ version: "0.1.0" }).catch((err) => {
2224
+ runMcpServer({ version: "0.3.0" }).catch((err) => {
2225
2225
  const message = err instanceof Error ? err.message : String(err);
2226
2226
  process.stderr.write(`seekrit-mcp: fatal: ${message}\n`);
2227
2227
  process.exit(1);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seekrit/mcp",
3
- "version": "0.1.0",
3
+ "version": "0.3.0",
4
4
  "description": "npx-able MCP server for seekrit — let Claude Code and other MCP clients provision, manage, and inject end-to-end encrypted secrets.",
5
5
  "type": "module",
6
6
  "publishConfig": {
@@ -15,18 +15,18 @@
15
15
  "engines": {
16
16
  "node": ">=20"
17
17
  },
18
- "scripts": {
19
- "build": "tsdown",
20
- "dev": "tsdown --watch",
21
- "typecheck": "tsc --noEmit"
22
- },
23
18
  "dependencies": {
24
19
  "@modelcontextprotocol/sdk": "^1.29.0",
25
20
  "zod": "^4.4.3"
26
21
  },
27
22
  "devDependencies": {
28
- "@seekrit/cli": "workspace:*",
29
23
  "@types/node": "^26.1.0",
30
- "tsdown": "^0.22.3"
24
+ "tsdown": "^0.22.3",
25
+ "@seekrit/cli": "0.19.0"
26
+ },
27
+ "scripts": {
28
+ "build": "tsdown",
29
+ "dev": "tsdown --watch",
30
+ "typecheck": "tsc --noEmit"
31
31
  }
32
- }
32
+ }