
lu-mcp-server
MCP server for Lingua Universale protocol verification.
Verify AI agent communication with session types -- mathematical proofs, not trust.
Configure
Claude Code
claude mcp add lu-mcp-server -- lu-mcp-serverClaude Desktop
Add to claude_desktop_config.json:
{
"mcpServers": {
"lu-mcp-server": {
"command": "lu-mcp-server"
}
}
}Cursor / Windsurf
Add to your MCP settings:
{
"lu-mcp-server": {
"command": "lu-mcp-server"
}
}Tools
lu_load_protocol
Parse a .lu protocol definition and extract its structure.
lu_verify_message
Check if a message is valid in the context of an ongoing session.
lu_check_properties
Verify formal safety properties (always terminates, no deadlock, etc.).
lu_list_templates
Browse 20 standard library protocols across 5 categories.
Example
protocol OrderProcessing:
roles: customer, warehouse, payment
customer asks warehouse to check availability
warehouse returns stock status to customer
when customer decides:
in_stock:
customer asks payment to process order
payment returns confirmation to customer
out_of_stock:
customer sends cancellation to warehouse
properties:
always terminates
no deadlock
all roles participateLinks
- Playground -- try LU in your browser
- PyPI -- core package
- VS Code -- editor extension
Copy & paste โ that's it
pip install lu-mcp-serverInstall
pip install lu-mcp-serverNo common issues documented yet. If you hit a problem, the repository's GitHub Issues page is the best place to look.
Licensed under Apache-2.0โ you can use, modify, and redistribute it under that license's terms.
License
Apache 2.0