@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/README.md +164 -73
- package/dist/chunk-4LCKW236.js +205 -0
- package/dist/chunk-4LCKW236.js.map +1 -0
- package/dist/chunk-D5FYYTYV.js +1211 -0
- package/dist/chunk-D5FYYTYV.js.map +1 -0
- package/dist/chunk-ODZB3YP2.js +113 -0
- package/dist/chunk-ODZB3YP2.js.map +1 -0
- package/dist/chunk-XHJYVUHG.js +195 -0
- package/dist/chunk-XHJYVUHG.js.map +1 -0
- package/dist/client.d.ts +39 -0
- package/dist/client.js +12 -0
- package/dist/client.js.map +1 -0
- package/dist/guidance.d.ts +53 -0
- package/dist/guidance.js +18 -0
- package/dist/guidance.js.map +1 -0
- package/dist/http.d.ts +8 -0
- package/dist/http.js +34 -0
- package/dist/http.js.map +1 -0
- package/dist/index.js +19 -544
- package/dist/index.js.map +1 -1
- package/dist/server.d.ts +11 -0
- package/dist/server.js +13 -0
- package/dist/server.js.map +1 -0
- package/dist/tools.d.ts +29 -0
- package/dist/tools.js +9 -0
- package/dist/tools.js.map +1 -0
- package/package.json +28 -6
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":[]}
|
package/dist/tools.d.ts
ADDED
|
@@ -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 @@
|
|
|
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.
|
|
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": ">=
|
|
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.
|
|
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": "^
|
|
86
|
+
"@types/node": "^24.10.1",
|
|
66
87
|
"tsup": "^8.3.5",
|
|
67
88
|
"typescript": "^5.9.3",
|
|
68
|
-
"vitest": "^4.1.
|
|
69
|
-
}
|
|
89
|
+
"vitest": "^4.1.11"
|
|
90
|
+
},
|
|
91
|
+
"packageManager": "pnpm@11.2.2"
|
|
70
92
|
}
|