Back to Home
Ryttis icon

mcp-server

by Ryttis

Overview

A minimalist, stable kernel server providing a bounded execution environment for various tools via JSON-RPC over WebSocket, strictly separating business logic from side effects, primarily intended for AI agent integration.

Installation

Run Command
node server.js

Environment Variables

  • AUTH_TOKEN
  • OPENAI_API_KEY
  • ETNOLENTOS_PATH
  • FACTURACORE_PATH
  • DB_HOST
  • DB_USER
  • DB_PASS
  • DB_NAME
  • MCP_DATA_DIR

Security Notes

Critical vulnerabilities for Command Injection (`core.runCommand`), Arbitrary File Read/Write (`core.readFile`, `core.writeFile`), and potential SQL Injection (`core.dbQuery`). The `core.runCommand` tool passes user-controlled input directly to `child_process.exec` without sanitization. The `core.readFile` and `core.writeFile` tools allow reading/writing to arbitrary paths on the file system without proper root confinement. The `core.dbQuery` passes unsanitized SQL queries to the database. These tools lack necessary input validation and path confinement, making the server highly exploitable if exposed.

Similar Servers

Stats

Interest Score0
Security Score3
Cost ClassHigh
Avg Tokens250000
Stars0
Forks0
Last Update2026-01-13

Tags

KernelRPC ServerToolingBounded ExecutionAI Agent Backend