@kernlang/mcp-server 3.5.8-canary.210.1.239de0e0 → 3.5.8
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 +5 -5
- package/package.json +10 -10
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @kernlang/mcp-server
|
|
2
2
|
|
|
3
|
-
MCP server for KERN -- the
|
|
3
|
+
MCP server for KERN -- the backend structure and portable route-logic language. Give any AI agent the ability to write, compile, review, and self-correct `.kern` code.
|
|
4
4
|
|
|
5
5
|
```
|
|
6
6
|
npx @kernlang/mcp-server
|
|
@@ -8,11 +8,11 @@ npx @kernlang/mcp-server
|
|
|
8
8
|
|
|
9
9
|
## What is this?
|
|
10
10
|
|
|
11
|
-
KERN is a declarative DSL
|
|
11
|
+
KERN is a declarative DSL for backend structure, portable route logic, and AI-assisted code generation. This MCP server exposes KERN's compiler, reviewer, and schema to any MCP-compatible client (Claude Desktop, Cursor, Windsurf, VS Code, etc.).
|
|
12
12
|
|
|
13
13
|
An AI agent using this server can:
|
|
14
14
|
1. **Ask what it can write** -- `schema` tool returns the full language spec as JSON
|
|
15
|
-
2. **Compile .kern to
|
|
15
|
+
2. **Compile .kern to maintained targets** -- especially Express, FastAPI, MCP servers, and UI/runtime adapters where they fit
|
|
16
16
|
3. **Self-correct from errors** -- `compile-json` returns structured diagnostics with line numbers and suggestions
|
|
17
17
|
4. **Review code** -- 76+ static analysis rules with taint tracking and OWASP coverage
|
|
18
18
|
|
|
@@ -71,7 +71,7 @@ Add to your MCP settings:
|
|
|
71
71
|
|
|
72
72
|
### compile
|
|
73
73
|
|
|
74
|
-
Compile `.kern` source to
|
|
74
|
+
Compile `.kern` source to an available target framework. Returns generated code.
|
|
75
75
|
|
|
76
76
|
```
|
|
77
77
|
source: ".kern source code"
|
|
@@ -117,7 +117,7 @@ Validate `.kern` syntax without compiling. Returns parse errors or success.
|
|
|
117
117
|
|
|
118
118
|
### list-targets
|
|
119
119
|
|
|
120
|
-
List
|
|
120
|
+
List available compile targets plus React output structures.
|
|
121
121
|
|
|
122
122
|
### list-nodes
|
|
123
123
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kernlang/mcp-server",
|
|
3
|
-
"version": "3.5.8
|
|
3
|
+
"version": "3.5.8",
|
|
4
4
|
"description": "KERN MCP server — compile, review, and analyze .kern files via MCP",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -48,15 +48,15 @@
|
|
|
48
48
|
"dependencies": {
|
|
49
49
|
"@modelcontextprotocol/sdk": "^1.12.1",
|
|
50
50
|
"zod": "^4.4.3",
|
|
51
|
-
"@kernlang/core": "3.5.8
|
|
52
|
-
"@kernlang/
|
|
53
|
-
"@kernlang/
|
|
54
|
-
"@kernlang/
|
|
55
|
-
"@kernlang/
|
|
56
|
-
"@kernlang/
|
|
57
|
-
"@kernlang/
|
|
58
|
-
"@kernlang/
|
|
59
|
-
"@kernlang/
|
|
51
|
+
"@kernlang/core": "3.5.8",
|
|
52
|
+
"@kernlang/express": "3.5.8",
|
|
53
|
+
"@kernlang/python": "3.5.8",
|
|
54
|
+
"@kernlang/react": "3.5.8",
|
|
55
|
+
"@kernlang/mcp": "3.5.8",
|
|
56
|
+
"@kernlang/review-mcp": "3.5.8",
|
|
57
|
+
"@kernlang/review": "3.5.8",
|
|
58
|
+
"@kernlang/terminal": "3.5.8",
|
|
59
|
+
"@kernlang/vue": "3.5.8"
|
|
60
60
|
},
|
|
61
61
|
"devDependencies": {
|
|
62
62
|
"@types/express": "^5.0.6",
|