arx-mcp

arx-mcp

Enables AI assistants to compile, run, lint, and format ArxLang code directly through ArxNode without manual terminal commands.

Category
Visit Server

README

nyxilum-mcp

MCP-сервер, що дозволяє AI-асистенту (Claude, Cursor тощо) напряму компілювати/запускати/лінтити/форматувати NyxilumLang (.nx) код через NyxilumNode — без ручного dotnet run/copy-paste в термінал.

Навіщо окремий репозиторій, а не частина NyxilumLang

node_modules цього проєкту не мав би потрапляти в dotnet-збірку чи publish/ NyxilumLang. Живе поруч, як сестринський проєкт.

Встановлення

git clone https://github.com/Faneraiy14/NyxilumMcp.git
cd NyxilumMcp
npm install

Потрібен зібраний NyxilumNode поруч (../NyxilumLang за замовчуванням, dotnet build src/NyxilumLang там) — або задай шлях явно:

# Linux/Mac
export NX_NODE_PATH=/шлях/до/NyxilumLang   # .exe на Windows, .dll — тоді запускається через `dotnet`
# або
export NX_ECOSYSTEM_ROOT=/шлях/до/NyxilumLang
# Windows
$env:NX_NODE_PATH = "C:\шлях\до\NyxilumLang.exe"
# або
$env:NX_ECOSYSTEM_ROOT = "C:\шлях\до\NyxilumLang"

Підключення (Claude Desktop / Claude Code)

{
  "mcpServers": {
    "nyxilum": {
      "command": "node",
      "args": ["/шлях/до/NyxilumMcp/src/server.js"]
    }
  }
}

Інструменти

Інструмент Що робить
nyxilum_run Компілює й виконує код у пісочниці (окремий процес, timeout, ліміт GC-виділень)
nyxilum_lint Стильові попередження (довжина рядка, порожні блоки) — не перевірка синтаксису, завжди exitCode=0
nyxilum_format Форматує код
nyxilum_version Версія знайденого NyxilumNode — заодно health check
nyxilum_docs GUIDE.md цілком або конкретна секція (### -заголовок) за назвою

Безпека виконання (nyxilum_run)

  • Код НІКОЛИ не потрапляє в shell/argv як текст — завжди пишеться у власний тимчасовий файл, шлях до якого передається як звичайний аргумент процесу (execFile, без shell: true).
  • Процесний timeout (типово 10с, максимум 60с) — єдиний реальний захист від while (true) {} без виділень пам'яті: NX_GC_MAX_OBJECTS рахує лише NyxilumLang-виділення (масиви/структури/мапи), а не ітерації циклу самі по собі.
  • env — allowlist (PATH, SystemRoot, TEMP, DOTNET_ROOT тощо), не весь process.env цього серверного процесу.
  • NX_SANDBOX=1 (фіксовано, не залежить від вхідних аргументів інструмента) — файловий I/O обмежується тимчасовою текою запуску, мережа (httpGet/httpServer/wsConnect тощо) й читання змінних середовища (osEnv) повністю заборонені. Потребує NyxilumNode з підтримкою NX_SANDBOX (див. NyxilumLang README); зі старішим бінарником прапорець просто ігнорується.
  • Вивід (stdout/stderr) обрізається до 32 КБ на потік — цикл, що друкує мільйони рядків, не заповнить контекст відповіді.
  • Тимчасова тека видаляється в finally завжди, навіть при таймауті.

RunFile в Nx.cs пише Runtime Error:/Parse Error: у stdout (не stderr) і завершується з exitCode=1 — це поведінка самого NyxilumNode, не цього сервера; кожен інструмент явно зазначає це в описі.

Тести

npm test

14 перевірок: smoke.mjs викликає обробники напряму (успішний запуск, необроблений throw, таймаут нескінченного циклу, gc_max_objects, обрізання великого виводу, стійкість до shell-метасимволів у коді, відсутність витоку тимчасових директорій), transport.mjs — те саме через РЕАЛЬНИЙ MCP-протокол (StdioClientTransport + Client), не лише прямі виклики функцій.

Ліцензія

MIT — Faneraiy14.

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured