@borgresearch/odin-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/dist/server.js ADDED
@@ -0,0 +1,13 @@
1
+ #!/usr/bin/env node
2
+ import {
3
+ PACKAGE_VERSION,
4
+ createOdinMcpServer
5
+ } from "./chunk-ODZB3YP2.js";
6
+ import "./chunk-4LCKW236.js";
7
+ import "./chunk-D5FYYTYV.js";
8
+ import "./chunk-XHJYVUHG.js";
9
+ export {
10
+ PACKAGE_VERSION,
11
+ createOdinMcpServer
12
+ };
13
+ //# sourceMappingURL=server.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -0,0 +1,29 @@
1
+ import { z } from 'zod';
2
+ import { OdinClient } from './client.js';
3
+
4
+ interface OdinToolAnnotations {
5
+ readOnlyHint: boolean;
6
+ destructiveHint: boolean;
7
+ idempotentHint: boolean;
8
+ openWorldHint: boolean;
9
+ }
10
+ interface OdinToolResult {
11
+ markdown: string;
12
+ structured: unknown;
13
+ }
14
+ /** One Odin tool, independent of the MCP transport that serves it. */
15
+ interface OdinTool {
16
+ name: string;
17
+ title: string;
18
+ description: string;
19
+ inputSchema: z.ZodType;
20
+ annotations: OdinToolAnnotations;
21
+ run: (client: OdinClient, params: unknown) => Promise<OdinToolResult>;
22
+ }
23
+ /**
24
+ * Every tool odin-mcp serves, in registration order. The MCP server and
25
+ * web-odin's Slack agent both run these, each with its own `OdinClient`.
26
+ */
27
+ declare const ODIN_TOOLS: readonly OdinTool[];
28
+
29
+ export { ODIN_TOOLS, type OdinTool, type OdinToolAnnotations, type OdinToolResult };
package/dist/tools.js ADDED
@@ -0,0 +1,9 @@
1
+ #!/usr/bin/env node
2
+ import {
3
+ ODIN_TOOLS
4
+ } from "./chunk-D5FYYTYV.js";
5
+ import "./chunk-XHJYVUHG.js";
6
+ export {
7
+ ODIN_TOOLS
8
+ };
9
+ //# sourceMappingURL=tools.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
package/package.json CHANGED
@@ -1,6 +1,7 @@
1
1
  {
2
2
  "name": "@borgresearch/odin-mcp",
3
- "version": "0.1.0",
3
+ "version": "0.3.0",
4
+ "mcpName": "io.github.BorgDevelopment/odin-mcp",
4
5
  "description": "MCP server for the Odin security API",
5
6
  "keywords": [
6
7
  "mcp",
@@ -30,6 +31,26 @@
30
31
  ".": {
31
32
  "types": "./dist/index.d.ts",
32
33
  "import": "./dist/index.js"
34
+ },
35
+ "./server": {
36
+ "types": "./dist/server.d.ts",
37
+ "import": "./dist/server.js"
38
+ },
39
+ "./http": {
40
+ "types": "./dist/http.d.ts",
41
+ "import": "./dist/http.js"
42
+ },
43
+ "./client": {
44
+ "types": "./dist/client.d.ts",
45
+ "import": "./dist/client.js"
46
+ },
47
+ "./guidance": {
48
+ "types": "./dist/guidance.d.ts",
49
+ "import": "./dist/guidance.js"
50
+ },
51
+ "./tools": {
52
+ "types": "./dist/tools.d.ts",
53
+ "import": "./dist/tools.js"
33
54
  }
34
55
  },
35
56
  "files": [
@@ -42,7 +63,7 @@
42
63
  "registry": "https://registry.npmjs.org/"
43
64
  },
44
65
  "engines": {
45
- "node": ">=22.0.0"
66
+ "node": ">=24.0.0"
46
67
  },
47
68
  "scripts": {
48
69
  "build": "tsup",
@@ -56,15 +77,16 @@
56
77
  "inspect:dev": "pnpm build && pnpm inspect"
57
78
  },
58
79
  "dependencies": {
59
- "@modelcontextprotocol/sdk": "^1.29.0",
80
+ "@modelcontextprotocol/sdk": "^1.31.0",
60
81
  "zod": "^4.3.6"
61
82
  },
62
83
  "devDependencies": {
63
84
  "@biomejs/biome": "2.3.14",
64
85
  "@modelcontextprotocol/inspector": "^0.21.2",
65
- "@types/node": "^22.19.8",
86
+ "@types/node": "^24.10.1",
66
87
  "tsup": "^8.3.5",
67
88
  "typescript": "^5.9.3",
68
- "vitest": "^4.1.0"
69
- }
89
+ "vitest": "^4.1.11"
90
+ },
91
+ "packageManager": "pnpm@11.2.2"
70
92
  }