$ timeahead.in
/ servers/npm/@kernlang/mcp-server
npm

@kernlang/mcp-server

KERN MCP server — compile, review, and analyze .kern files via MCP

8 stars910/wkupdated 0d agogithub ↗
49poor
▣ Overview
npmCIGitHub releaselicense

What it does

The MCP server exposes KERN's backend language and analysis tooling as MCP tools. KERN is a typed language that compiles to both TypeScript (Express) and Python (FastAPI) from a single .kern specification, eliminating the need to maintain parallel backend schemas and route handlers. It also includes static analysis — 240 AST-based security and code-quality rules for reviewing existing TypeScript and Python code. The server provides 46 tools covering compilation to multiple targets, type checking, code review, schema generation, and project context extraction.

Who it's for

Backend engineers maintaining TypeScript and Python services who want to stop rewriting route and schema definitions twice. Teams adopting KERN for multi-language backend parity. Security-focused developers who need to run comprehensive static analysis on existing codebases without writing custom linters.

Common use cases

  • Compile a .kern schema to both Express and FastAPI route handlers and type definitions
  • Run the 240-rule static analyzer against TypeScript or Python backends to catch security bugs, unguarded effects, and prompt-injection vulnerabilities
  • Type-check a KERN schema to verify class hierarchies and call-site safety before compilation
  • Generate a whole-project context map (AST summary) for feeding to an LLM or agent
  • Scaffold a fullstack project or MCP server with built-in security guards

Setup pitfalls

  • 20 secrets were flagged in the codebase — review the server's code and any included examples before deploying in sensitive environments
  • Requires Node.js and npm; generated TypeScript and Python still depend on standard library imports (express, fastapi, typing modules) which must be available at compile-target runtime
  • The .kern import command (TypeScript → .kern reverse inference) has limitations — complex generics and decorators may not round-trip cleanly
  • Some advanced language features are rejected at compile time for both targets to guarantee parity; schemas using these patterns will fail type-check
20 credentials detected in repository history via Gitleaks
▣ Score BreakdownMCPScore = Σ(raw × weight)
DimensionRawWeighted
Security
35%
0
0.0
Freshness
25%
100
25.0
Adoption
20%
46
9.2
Quality
10%
100
10.0
Trust
10%
50
5.0
Total
49.2
⚿ Capabilities & Risk Explainer
fs readfs writenetworkexecevalsecrets
◆ Risk level: high· 46 tools · auth: API key
fs read + fs write + network + exec + eval + secrets active — can execute code, access credentials, and make external network calls.
Tool nameDescriptionDestructive?
compile✓ no
review✓ no
review-kern✓ no
review-mcp-server✓ no
parse✓ no
+41 more tools
decompile✓ no
validate✓ no
list-targets✓ no
list-nodes✓ no
schema✓ no
compile-json✓ no
compile-and-review✓ no
audit-mcp-config✓ no
generate-security-tests✓ no
inspect-mcp-servers✓ no
verify-tool-pins✓ no
evil✓ no
notes✓ no
page✓ no
data✓ no
respond✓ no
tool✓ no
safe✓ no
tweet✓ no
run-cmd⚠ yes
run⚠ yes
read✓ no
call✓ no
danger✓ no
a✓ no
b✓ no
c✓ no
list-files✓ no
read-file✓ no
summarize✓ no
search✓ no
get-users✓ no
calculate✓ no
run-command⚠ yes
helper✓ no
call-api✓ no
process-data✓ no
name✓ no
readFile✓ no
searchFiles✓ no
writeFile⚠ yes
⚙ Install config
Claude Desktop · Cursor · Windsurf · VS Code (Copilot) · Claude Code
add to your MCP client config:
{
  "mcpServers": {
    "kernlangmcp": {
      "command": "npx",
      "args": [
        "-y",
        "@kernlang/mcp-server"
      ]
    }
  }
}
📈 Score historylast 39 snapshots
4/30/20266/18/2026 · 39 snapshots
⚙ Maintenance health
60/ 100 · is this project alive?
contributors (1y)5
top contributor share92%
releases (1y)39
last release6d ago
ci✓ passing
⛁ Raw data
weekly downloads910
github stars8
forks2
open issues1
license✓ present
readme length17588 chars
last publish2d ago
last commit0d ago
last updated1d ago
install verified✓ pass · 35d ago
owner of this server? claim your listing to get a verified badgeclaim →
🔔 Score drop alerts
get notified by email when this server's score drops 5+ points