Provides the ability to evaluate Common Lisp and Zetalisp expressions on a Symbolics Genera machine and retrieve the resulting values, standard output, and error messages.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@symbolics-mcpEvaluate (scl:list-all-processes) to see current activity on the machine"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
symbolics-mcp
An MCP (Model Context Protocol) server that lets LLMs evaluate Lisp expressions on a Symbolics Genera machine over TCP.
The system has two parts:
eval-server.lisp -- a TCP evaluation server that runs on the Genera machine
genera-mcp.lisp -- an MCP stdio server that runs on the host (SBCL) and bridges JSON-RPC requests to Genera over TCP
Prerequisites
A Symbolics Genera virtual machine (e.g. via Open Genera on a Linux/Alpha host or the VLM)
SBCL on the host machine running the virtual Genera
Quicklisp installed in SBCL (the MCP server loads
usocketandyasonvia Quicklisp)
Setting up the Genera side
First, copy eval-server.lisp to the Genera SYS:SITE; directory on the host filesystem:
cp eval-server.lisp /opt/symbolics/lib/sys.sct/site/eval-server.lispThen load it from the Genera Lisp Listener:
Load File SYS:SITE;eval-server.lispThe file must be loaded once per boot. It does two things:
Defines a TCP server (
:mcp-server) that accepts connections, reads length-prefixed Lisp expressions, evaluates them, and returns the result, stdout, and stderr as length-prefixed fields.Registers the server on TCP port 8888 via
tcp:add-tcp-port-for-protocol.
After loading, the server starts automatically -- there is no separate start command. It listens on port 8888 and handles each connection in its own process.
To verify it is running, you can send a test expression from the host:
echo -n '11 (+ 1 2 3 4)' | nc -w 2 192.168.11.2 8888 | cat -vThe number before the space is the byte length of the expression ((+ 1 2 3 4) = 11 bytes). If the server is working, you should see a response containing 10 (the result of the expression).
MCP configuration
Add the following to your .mcp.json (or the MCP configuration of your client), adjusting the path and IP address for your setup:
{
"mcpServers": {
"symbolics-genera": {
"command": "/path/to/genera-mcp.sh",
"env": {
"GENERA_HOST": "192.168.11.2",
"GENERA_PORT": "8888"
}
}
}
}Environment variables
Variable | Default | Description |
|
| Hostname or IP of the Genera machine |
|
| TCP port of the eval server |
|
| Timeout in seconds for each evaluation |
Exposed tool
The MCP server exposes a single tool:
eval_lisp -- Evaluate a Common Lisp / Zetalisp expression on the Genera machine and return the result. The response includes the return value, stdout, and stderr (if any).
This server cannot be installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.