Back to Home
s3midetnov icon

mcpArendServer

by s3midetnov

Overview

Integrates Arend dependent typechecking and language specification generation with LLMs via the Model Context Protocol (MCP).

Installation

Run Command
/Users/USERNAME/Dev/mcpArendServer/build/install/mcpArendServer/bin/mcpArendServer

Security Notes

The MCP server forwards arbitrary Arend definitions directly to a local typechecker server for execution. While Arend's typechecker is generally considered a safe sandbox, the primary security risk lies in whether a maliciously crafted Arend definition could exploit the underlying Arend library for arbitrary code execution. The typechecker server listens on localhost:9999 without authentication, meaning any local process can submit code for typechecking. The 'Generate_specification' tool uses a whitelist for topic names, mitigating arbitrary file reads for that specific function. No 'eval' or explicit arbitrary command execution is present in the provided code, and Base64 encoding is used for data transfer, not obfuscation or encryption.

Similar Servers

Stats

Interest Score0
Security Score7
Cost ClassMedium
Avg Tokens500
Stars0
Forks0
Last Update2026-01-17

Tags

ArendTypecheckingDependent TypesMCP ServerProgramming Language Tool