lu_load_protocol
Parse a .lu protocol definition and extract its structure.
Verify agent-to-agent protocols with session types: parse a .lu definition, check a message against the running session, prove it terminates.
LABSCO SUMMARY
A .lu file names the roles and the messages between them and then states the properties that must hold — always terminates, no deadlock, all roles participate — which lu_check_properties either establishes or does not. lu_verify_message applies the same definition while a conversation is running, so a message that would take the session somewhere the protocol does not allow is rejected rather than improvised around.
A verification server for Lingua Universale, a protocol language for agent communication. It parses .lu protocol definitions, validates messages against an ongoing session, and checks formal safety properties.
No account and no key. pip install lu-mcp-server, then launch the lu-mcp-server command over stdio; the registry entry runs the same package through uvx. Protocols are written as .lu files — roles, the exchanges between them, branch conditions, and a properties block stating what must hold.
One command — pip install lu-mcp-server
USE CASES
Start from a template close to your case, then load your own definition and read back the structure it parsed.
Check the safety properties against the protocol rather than reasoning about the interleavings by hand.
Validate it against the session's current state instead of accepting whatever arrives.
Browse the standard-library protocols by category before designing your own.
Listed in project docs. Your client may show a different list.
lu_load_protocolParse a .lu protocol definition and extract its structure.
lu_verify_messageCheck if a message is valid in the context of an ongoing session.
lu_check_propertiesVerify formal safety properties (always terminates, no deadlock, etc.).
lu_list_templatesBrowse 20 standard library protocols across 5 categories.
BEFORE YOU INSTALL
4 tools named in the project's documentation.
Python 3.10+
All 4 documented clients run the server on your machine.
INSTALLATION
pip install lu-mcp-serverclaude mcp add lu-mcp-server -- lu-mcp-server{
"mcpServers": {
"lu-mcp-server": {
"command": "lu-mcp-server"
}
}
}