@bridgetek/pre820-mcp-server 1.0.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 +170 -0
- package/dist/cli.d.ts +2 -0
- package/dist/cli.js +3 -0
- package/dist/cli.js.map +1 -0
- package/dist/server.d.ts +1 -0
- package/dist/server.js +181 -0
- package/dist/server.js.map +1 -0
- package/package.json +26 -0
package/README.md
ADDED
|
@@ -0,0 +1,170 @@
|
|
|
1
|
+
# @bridgetek/pre820-mcp-server
|
|
2
|
+
|
|
3
|
+
MCP server for AI-assisted PRE820 and EveApps development.
|
|
4
|
+
|
|
5
|
+
`@bridgetek/pre820-mcp-server` provides a local Model Context Protocol (MCP) server that enables AI coding assistants to interact with PRE820/EveApps development resources.
|
|
6
|
+
|
|
7
|
+
It uses `@bridgetek/pre820-eveapps-core` as the underlying engine for:
|
|
8
|
+
|
|
9
|
+
- API and command lookup
|
|
10
|
+
- Sample discovery
|
|
11
|
+
- Knowledge retrieval
|
|
12
|
+
- Ranking and search
|
|
13
|
+
- PRE820/EVE development assistance workflows
|
|
14
|
+
|
|
15
|
+
The server works with a local EveApps repository checkout to provide project-aware development support.
|
|
16
|
+
|
|
17
|
+
## Installation
|
|
18
|
+
|
|
19
|
+
Install from npm:
|
|
20
|
+
|
|
21
|
+
```
|
|
22
|
+
npm install -g @bridgetek/pre820-mcp-server
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
Verify installation:
|
|
26
|
+
|
|
27
|
+
```
|
|
28
|
+
pre820-mcp-server --help
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
## Quick start
|
|
32
|
+
|
|
33
|
+
Start the MCP server with your local EveApps repository:
|
|
34
|
+
|
|
35
|
+
```
|
|
36
|
+
pre820-mcp-server --eveapps /path/to/EveApps-repository
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
If `--eveapps` is not provided, the current working directory will be used.
|
|
40
|
+
|
|
41
|
+
The server can then be configured as an MCP server in compatible AI development tools such as Claude Code.
|
|
42
|
+
|
|
43
|
+
Example:
|
|
44
|
+
|
|
45
|
+
```
|
|
46
|
+
{
|
|
47
|
+
"mcpServers": {
|
|
48
|
+
"pre820": {
|
|
49
|
+
"command": "pre820-mcp-server",
|
|
50
|
+
"args": [
|
|
51
|
+
"--eveapps",
|
|
52
|
+
"/path/to/EveApps-repository"
|
|
53
|
+
]
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
## Command line options
|
|
60
|
+
|
|
61
|
+
|Option|Description|
|
|
62
|
+
|------|-----------|
|
|
63
|
+
|--eveapps <path>|Path to a local EveApps repository used for source search and development assistance|
|
|
64
|
+
|--help, -h|Display command usage information|
|
|
65
|
+
|
|
66
|
+
## Features
|
|
67
|
+
|
|
68
|
+
The MCP server provides AI-assisted workflows for PRE820/EVE development, including:
|
|
69
|
+
|
|
70
|
+
- Finding relevant PRE820/EVE samples
|
|
71
|
+
- Searching API commands and registers
|
|
72
|
+
- Retrieving development guidance
|
|
73
|
+
- Mapping requirements to existing examples
|
|
74
|
+
- Supporting code generation and validation workflows
|
|
75
|
+
|
|
76
|
+
## Relationship with pre820-eveapps-core
|
|
77
|
+
|
|
78
|
+
This package provides the MCP integration layer.
|
|
79
|
+
|
|
80
|
+
The underlying retrieval and indexing functionality is provided by:
|
|
81
|
+
|
|
82
|
+
`@bridgetek/pre820-eveapps-core`
|
|
83
|
+
|
|
84
|
+
Architecture:
|
|
85
|
+
|
|
86
|
+
```
|
|
87
|
+
AI Assistant
|
|
88
|
+
|
|
|
89
|
+
v
|
|
90
|
+
pre820-mcp-server
|
|
91
|
+
|
|
|
92
|
+
v
|
|
93
|
+
pre820-eveapps-core
|
|
94
|
+
|
|
|
95
|
+
v
|
|
96
|
+
EveApps repository + indexes
|
|
97
|
+
```
|
|
98
|
+
|
|
99
|
+
## Development
|
|
100
|
+
|
|
101
|
+
- Source entry: `packages/pre820-mcp-server/src/server.ts` (TypeScript).
|
|
102
|
+
- TypeScript path mapping uses the local `@bridgetek/pre820-eveapps-core` source for fast development. See `packages/pre820-mcp-server/tsconfig.json`.
|
|
103
|
+
|
|
104
|
+
Build from the monorepo root:
|
|
105
|
+
|
|
106
|
+
```sh
|
|
107
|
+
# Install dependencies:
|
|
108
|
+
npm install
|
|
109
|
+
|
|
110
|
+
# Build all packages:
|
|
111
|
+
npm run build
|
|
112
|
+
|
|
113
|
+
# Or build only the MCP server:
|
|
114
|
+
npm --prefix packages/pre820-mcp-server run build
|
|
115
|
+
|
|
116
|
+
# Run the built server:
|
|
117
|
+
node packages/pre820-mcp-server/dist/cli.js --eveapps /path/to/EveApps-repository
|
|
118
|
+
```
|
|
119
|
+
|
|
120
|
+
## Publishing
|
|
121
|
+
|
|
122
|
+
This package is scoped to the `@bridgetek` organization and is published publicly. Typical publish flow:
|
|
123
|
+
|
|
124
|
+
```bash
|
|
125
|
+
cd packages/pre820-eveapps-core
|
|
126
|
+
npm publish --access public
|
|
127
|
+
|
|
128
|
+
cd ../pre820-mcp-server
|
|
129
|
+
# ensure core is published first (or available in registry)
|
|
130
|
+
npm publish --access public
|
|
131
|
+
```
|
|
132
|
+
|
|
133
|
+
> [!NOTE]
|
|
134
|
+
> - `@bridgetek/pre820-eveapps-core` should be published before publishing this package.
|
|
135
|
+
> - The package is configured as a public scoped npm package.
|
|
136
|
+
> - If the scoped package already exists, bump `version` before publishing: `npm version patch`.
|
|
137
|
+
> - If npm account security requires two-factor authentication, an OTP will be required during publishing.
|
|
138
|
+
|
|
139
|
+
## Troubleshooting
|
|
140
|
+
|
|
141
|
+
### Cannot resolve pre820-eveapps-core
|
|
142
|
+
|
|
143
|
+
If running from a local development checkout, link both packages:
|
|
144
|
+
|
|
145
|
+
```bash
|
|
146
|
+
npm --prefix packages/pre820-eveapps-core link
|
|
147
|
+
npm --prefix packages/pre820-mcp-server link
|
|
148
|
+
```
|
|
149
|
+
|
|
150
|
+
### Build issues
|
|
151
|
+
|
|
152
|
+
Make sure dependencies are installed from the repository root:
|
|
153
|
+
|
|
154
|
+
```
|
|
155
|
+
npm install
|
|
156
|
+
```
|
|
157
|
+
|
|
158
|
+
Then rebuild:
|
|
159
|
+
|
|
160
|
+
```
|
|
161
|
+
npm run build
|
|
162
|
+
```
|
|
163
|
+
|
|
164
|
+
## License
|
|
165
|
+
|
|
166
|
+
See repository `LICENSE.md`.
|
|
167
|
+
|
|
168
|
+
## Maintainers
|
|
169
|
+
|
|
170
|
+
BridgeTek engineering team
|
package/dist/cli.d.ts
ADDED
package/dist/cli.js
ADDED
package/dist/cli.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cli.js","sourceRoot":"","sources":["../src/cli.ts"],"names":[],"mappings":";AAEA,OAAO,aAAa,CAAC"}
|
package/dist/server.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/dist/server.js
ADDED
|
@@ -0,0 +1,181 @@
|
|
|
1
|
+
import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
|
|
2
|
+
import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js";
|
|
3
|
+
import { z } from "zod";
|
|
4
|
+
import { createWorkspaceContext, generateBuildCommand, generateBuildCommandInput, findRelevantSample, findRelevantSampleInput, explainEveSymbol, explainEveSymbolInput, generateScreenScaffold, generateScreenScaffoldInput, validatePre820Code, validatePre820CodeInput, traceFeatureToCommands, traceFeatureToCommandsInput, readSourceFile, readSourceFileInput, lookupModuleGraphics, lookupModuleGraphicsInput, retrieveAnswer } from "@bridgetek/pre820-eveapps-core";
|
|
5
|
+
// -----------------------------
|
|
6
|
+
// Workspace handling
|
|
7
|
+
// -----------------------------
|
|
8
|
+
function parseArgs(argv) {
|
|
9
|
+
const args = {};
|
|
10
|
+
for (let i = 0; i < argv.length; i++) {
|
|
11
|
+
if (argv[i] === "--eveapps") {
|
|
12
|
+
args.eveappsRoot = argv[i + 1];
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
return args;
|
|
16
|
+
}
|
|
17
|
+
function printUsage() {
|
|
18
|
+
console.log(`Usage: node server.js [--eveapps <path>]
|
|
19
|
+
|
|
20
|
+
Options:
|
|
21
|
+
--eveapps <path> Path to the local EveApps repository
|
|
22
|
+
--help, -h Show this help message
|
|
23
|
+
`);
|
|
24
|
+
}
|
|
25
|
+
if (process.argv.includes("--help") || process.argv.includes("-h")) {
|
|
26
|
+
printUsage();
|
|
27
|
+
process.exit(0);
|
|
28
|
+
}
|
|
29
|
+
// EveApps separation (future-proof)
|
|
30
|
+
const args = parseArgs(process.argv);
|
|
31
|
+
const eveappsRoot = args.eveappsRoot ?? process.cwd();
|
|
32
|
+
// Context object passed to core
|
|
33
|
+
const context = createWorkspaceContext(eveappsRoot);
|
|
34
|
+
// -----------------------------
|
|
35
|
+
// MCP Server
|
|
36
|
+
// -----------------------------
|
|
37
|
+
const server = new McpServer({
|
|
38
|
+
name: "pre820-mcp-server",
|
|
39
|
+
version: "1.0.0"
|
|
40
|
+
}, {
|
|
41
|
+
capabilities: {
|
|
42
|
+
tools: {}
|
|
43
|
+
}
|
|
44
|
+
});
|
|
45
|
+
function safeTool(fn) {
|
|
46
|
+
return async (args, extra) => {
|
|
47
|
+
try {
|
|
48
|
+
const result = await fn(args, extra);
|
|
49
|
+
return {
|
|
50
|
+
content: [
|
|
51
|
+
{
|
|
52
|
+
type: "text",
|
|
53
|
+
text: JSON.stringify(result, null, 2)
|
|
54
|
+
}
|
|
55
|
+
]
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
catch (err) {
|
|
59
|
+
console.error("[PRE820 MCP ERROR]", err);
|
|
60
|
+
return {
|
|
61
|
+
content: [
|
|
62
|
+
{
|
|
63
|
+
type: "text",
|
|
64
|
+
text: JSON.stringify({
|
|
65
|
+
error: err.message ?? String(err)
|
|
66
|
+
}, null, 2)
|
|
67
|
+
}
|
|
68
|
+
]
|
|
69
|
+
};
|
|
70
|
+
}
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
// -----------------------------
|
|
74
|
+
// Primary PRE820 engineering AI tool
|
|
75
|
+
// -----------------------------
|
|
76
|
+
server.registerTool("ask_pre820", {
|
|
77
|
+
title: "Primary PRE820 and EveApps Engineering Assistant",
|
|
78
|
+
description: "Authoritative local PRE820 engineering assistant. " +
|
|
79
|
+
"Uses indexed PRE820 knowledge plus direct source-code " +
|
|
80
|
+
"search over the local EveApps repository configured " +
|
|
81
|
+
"through --eveapps. " +
|
|
82
|
+
"Use this tool FIRST for all PRE820, EveApps, EVE graphics, " +
|
|
83
|
+
"display pipeline, rendering, widget, command buffer, " +
|
|
84
|
+
"register, sample project, build system, SPI, display timing, " +
|
|
85
|
+
"platform porting, UI generation, API usage, and debugging questions. " +
|
|
86
|
+
"Treat EVE_CoDl_xxx helpers and corresponding XXX macros, and EVE_CoCmd_xxx " +
|
|
87
|
+
"helpers and corresponding CMD_XXX tokens from EVE_GpuDefs.h, as equivalent " +
|
|
88
|
+
"during retrieval and usage analysis. Prefer EVE_CoDl_xxx and EVE_CoCmd_xxx " +
|
|
89
|
+
"helpers in generated application code unless a packed or intentionally low-level command word is required. " +
|
|
90
|
+
"This tool searches the user's LOCAL EveApps source tree and " +
|
|
91
|
+
"returns concrete source file matches, sample references, " +
|
|
92
|
+
"commands, and implementation details before external web search.",
|
|
93
|
+
inputSchema: z.object({
|
|
94
|
+
query: z.string().describe("Natural language PRE820/EveApps engineering question")
|
|
95
|
+
}).shape
|
|
96
|
+
}, safeTool(async (args) => {
|
|
97
|
+
const result = await retrieveAnswer(context, args.query);
|
|
98
|
+
// Strengthen Claude confidence with explicit wording
|
|
99
|
+
return {
|
|
100
|
+
...result,
|
|
101
|
+
retrieval_context: {
|
|
102
|
+
local_repo_enabled: !!context.eveappsRoot,
|
|
103
|
+
local_repo: context.eveappsRoot ?? null,
|
|
104
|
+
retrieval_priority: [
|
|
105
|
+
"pre820-eveapps-core index",
|
|
106
|
+
"local EveApps source repository",
|
|
107
|
+
"metadata ranking"
|
|
108
|
+
],
|
|
109
|
+
symbol_policy: {
|
|
110
|
+
equivalent_for_search: true,
|
|
111
|
+
generated_code_preference: "EVE_CoDl_* and EVE_CoCmd_* helpers",
|
|
112
|
+
raw_macros_allowed_for: [
|
|
113
|
+
"packed display-list word construction",
|
|
114
|
+
"display-list command arrays",
|
|
115
|
+
"coprocessor command-buffer arrays",
|
|
116
|
+
"intentional low-level EVE_Cmd_wr32 paths"
|
|
117
|
+
]
|
|
118
|
+
},
|
|
119
|
+
note: "Results were generated from local PRE820/EveApps " +
|
|
120
|
+
"engineering resources before considering external sources."
|
|
121
|
+
}
|
|
122
|
+
};
|
|
123
|
+
}));
|
|
124
|
+
// -----------------------------
|
|
125
|
+
// Legacy tools (unchanged behavior)
|
|
126
|
+
// -----------------------------
|
|
127
|
+
server.registerTool("generate_build_command", {
|
|
128
|
+
title: "Generate validated PRE820 build command",
|
|
129
|
+
description: "Generate a validated build command for PRE820/EVE targets.",
|
|
130
|
+
inputSchema: generateBuildCommandInput.shape,
|
|
131
|
+
}, safeTool(generateBuildCommand));
|
|
132
|
+
server.registerTool("find_relevant_sample", {
|
|
133
|
+
title: "Find relevant EveApps sample",
|
|
134
|
+
description: "Find the most relevant EveApps sample for the provided request.",
|
|
135
|
+
inputSchema: findRelevantSampleInput.shape,
|
|
136
|
+
}, safeTool(findRelevantSample));
|
|
137
|
+
server.registerTool("explain_eve_symbol", {
|
|
138
|
+
title: "Explain PRE820/EVE symbol",
|
|
139
|
+
description: "Explain a PRE820/EVE helper or GPU macro, including canonical EVE_CoDl and EVE_CoCmd helpers. Prefer helpers over raw XXX and CMD_XXX macros in generated application code.",
|
|
140
|
+
inputSchema: explainEveSymbolInput.shape,
|
|
141
|
+
}, safeTool(explainEveSymbol));
|
|
142
|
+
server.registerTool("generate_screen_scaffold", {
|
|
143
|
+
title: "Generate screen scaffold",
|
|
144
|
+
description: "Generate a PRE820 screen scaffold from inputs.",
|
|
145
|
+
inputSchema: generateScreenScaffoldInput.shape,
|
|
146
|
+
}, safeTool(generateScreenScaffold));
|
|
147
|
+
server.registerTool("validate_pre820_code", {
|
|
148
|
+
title: "Validate PRE820 code for issues",
|
|
149
|
+
description: "Validate PRE820/EVE code and recommend EVE_CoDl or EVE_CoCmd helpers for equivalent raw GPU macros, while allowing intentional packed command usage.",
|
|
150
|
+
inputSchema: validatePre820CodeInput.shape,
|
|
151
|
+
}, safeTool(validatePre820Code));
|
|
152
|
+
server.registerTool("trace_feature_to_commands", {
|
|
153
|
+
title: "Trace feature to PRE820 commands",
|
|
154
|
+
description: "Trace feature usage to commands.",
|
|
155
|
+
inputSchema: traceFeatureToCommandsInput.shape,
|
|
156
|
+
}, safeTool(traceFeatureToCommands));
|
|
157
|
+
server.registerTool("pre820_read_file", {
|
|
158
|
+
title: "Read raw source file",
|
|
159
|
+
description: "Read the raw contents of a file from the local EveApps repository.",
|
|
160
|
+
inputSchema: readSourceFileInput.shape,
|
|
161
|
+
}, safeTool(async (args) => readSourceFile(args, context)));
|
|
162
|
+
server.registerTool("lookup_module_graphics", {
|
|
163
|
+
title: "Lookup module and graphics metadata",
|
|
164
|
+
description: "Resolve module codes and graphics chip metadata from the local PRE820 indexes.",
|
|
165
|
+
inputSchema: lookupModuleGraphicsInput.shape,
|
|
166
|
+
}, safeTool(lookupModuleGraphics));
|
|
167
|
+
// -----------------------------
|
|
168
|
+
// Startup diagnostics (VERY IMPORTANT for EXE)
|
|
169
|
+
// -----------------------------
|
|
170
|
+
console.error("===================================");
|
|
171
|
+
console.error("PRE820 MCP Server Starting...");
|
|
172
|
+
console.error("eveappsRoot:", eveappsRoot ?? "NOT SET");
|
|
173
|
+
console.error("Node:", process.version);
|
|
174
|
+
console.error("===================================");
|
|
175
|
+
// -----------------------------
|
|
176
|
+
// Start transport
|
|
177
|
+
// -----------------------------
|
|
178
|
+
const transport = new StdioServerTransport();
|
|
179
|
+
await server.connect(transport);
|
|
180
|
+
console.error("PRE820 MCP Server running...");
|
|
181
|
+
//# sourceMappingURL=server.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"server.js","sourceRoot":"","sources":["../src/server.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AACpE,OAAO,EAAE,oBAAoB,EAAE,MAAM,2CAA2C,CAAC;AACjF,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EACH,sBAAsB,EACtB,oBAAoB,EACpB,yBAAyB,EAEzB,kBAAkB,EAClB,uBAAuB,EAEvB,gBAAgB,EAChB,qBAAqB,EAErB,sBAAsB,EACtB,2BAA2B,EAE3B,kBAAkB,EAClB,uBAAuB,EAEvB,sBAAsB,EACtB,2BAA2B,EAE3B,cAAc,EACd,mBAAmB,EAEnB,oBAAoB,EACpB,yBAAyB,EAEzB,cAAc,EACjB,MAAM,gCAAgC,CAAC;AAKxC,gCAAgC;AAChC,qBAAqB;AACrB,gCAAgC;AAChC,SAAS,SAAS,CAAC,IAAc;IAC7B,MAAM,IAAI,GAAQ,EAAE,CAAC;IAErB,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,IAAI,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC;QACnC,IAAI,IAAI,CAAC,CAAC,CAAC,KAAK,WAAW,EAAE,CAAC;YAC1B,IAAI,CAAC,WAAW,GAAG,IAAI,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;QACnC,CAAC;IACL,CAAC;IAED,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,SAAS,UAAU;IACf,OAAO,CAAC,GAAG,CAAC;;;;;CAKf,CAAC,CAAC;AACH,CAAC;AAED,IAAI,OAAO,CAAC,IAAI,CAAC,QAAQ,CAAC,QAAQ,CAAC,IAAI,OAAO,CAAC,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC;IACjE,UAAU,EAAE,CAAC;IACb,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CAAC,cAAc,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC,CACrF,CAAC;AAEF,MAAM,CAAC,YAAY,CACf,wBAAwB,EACxB;IACI,KAAK,EAAE,qCAAqC;IAC5C,WAAW,EAAE,gFAAgF;IAC7F,WAAW,EAAE,yBAAyB,CAAC,KAAK;CAC/C,EACD,QAAQ,CAAC,oBAAoB,CAAC,CACjC,CAAC;AAEF,gCAAgC;AAChC,+CAA+C;AAC/C,gCAAgC;AAChC,OAAO,CAAC,KAAK,CAAC,qCAAqC,CAAC,CAAC;AACrD,OAAO,CAAC,KAAK,CAAC,+BAA+B,CAAC,CAAC;AAC/C,OAAO,CAAC,KAAK,CAAC,cAAc,EAAE,WAAW,IAAI,SAAS,CAAC,CAAC;AACxD,OAAO,CAAC,KAAK,CAAC,OAAO,EAAE,OAAO,CAAC,OAAO,CAAC,CAAC;AACxC,OAAO,CAAC,KAAK,CAAC,qCAAqC,CAAC,CAAC;AAErD,gCAAgC;AAChC,kBAAkB;AAClB,gCAAgC;AAChC,MAAM,SAAS,GAAG,IAAI,oBAAoB,EAAE,CAAC;AAC7C,MAAM,MAAM,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC;AAEhC,OAAO,CAAC,KAAK,CAAC,8BAA8B,CAAC,CAAC"}
|
package/package.json
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@bridgetek/pre820-mcp-server",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"publishConfig": {
|
|
6
|
+
"access": "public"
|
|
7
|
+
},
|
|
8
|
+
"main": "dist/server.js",
|
|
9
|
+
"bin": {
|
|
10
|
+
"@bridgetek/pre820-mcp-server": "dist/cli.js"
|
|
11
|
+
},
|
|
12
|
+
"files": [
|
|
13
|
+
"dist"
|
|
14
|
+
],
|
|
15
|
+
"scripts": {
|
|
16
|
+
"build": "tsc -b"
|
|
17
|
+
},
|
|
18
|
+
"dependencies": {
|
|
19
|
+
"@modelcontextprotocol/sdk": "^1.17.1",
|
|
20
|
+
"@bridgetek/pre820-eveapps-core": "^1.0.0",
|
|
21
|
+
"zod": "^3.25.76"
|
|
22
|
+
},
|
|
23
|
+
"devDependencies": {
|
|
24
|
+
"@types/node": "^24.0.10"
|
|
25
|
+
}
|
|
26
|
+
}
|