What is Model Context Protocol (MCP) Middleware for Lisp-based and Lisp-like Environments?
This project is a Model Context Protocol (MCP) middleware that enables Large Language Models (LLMs) to interact with Lisp-based development and runtime environments using a lightweight protocol called Lisply. It is intended for AI practitioners curious about Lisp, Lisp practitioners curious about AI, engineers interested in CAD automation and knowledge-based engineering, and general tinkerers.
How to use Model Context Protocol (MCP) Middleware for Lisp-based and Lisp-like Environments?
Install Node.js (18+), Docker (20+), clone the repository, then configure your MCP-capable AI agent (e.g., Claude Desktop) with a JSON configuration file pointing to the scripts/mcp-wrapper.js entry point. After restarting the agent, test by asking the LLM to evaluate a Lisp expression like (+ 1 2 3) using the gendl__lisp_eval tool.
Key features of Model Context Protocol (MCP) Middleware for Lisp-based and Lisp-like Environments
- Connects MCP-capable AI agents to Lisp REPLs via the Lisply protocol.
- Allows LLMs to generate, evaluate, compile, and load Lisp code.
- Supports multiple Lisp environments simultaneously with separate server names.
- Manages Docker containers automatically for backend Lisply systems.
- Provides HTTP request, introspection, and file manipulation capabilities.
- Includes error handling, debugger interaction, and logging.
Use cases of Model Context Protocol (MCP) Middleware for Lisp-based and Lisp-like Environments
- AI-assisted symbolic programming (neuro-symbolic programming).
- CAD automation and knowledge-based engineering using Lisp.
- Experimenting with Common Lisp or Emacs Lisp from an AI agent.
- Managing, testing, and analyzing Lisp projects via LLM-driven evaluation.
Comments