lu-mcp-server
Verify AI agent communication with session types and formal proofs
lu-mcp-server
MCP server for Lingua Universale protocol verification.
Verify AI agent communication with session types -- mathematical proofs, not trust.
Install
pip install lu-mcp-server
Configure
Claude Code
claude mcp add lu-mcp-server -- lu-mcp-server
Claude 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 participate
Links
- Playground -- try LU in your browser
- PyPI -- core package
- VS Code -- editor extension
License
Apache 2.0
Related Servers
Scout Monitoring MCP
sponsorPut performance and error data directly in the hands of your AI assistant.
Alpha Vantage MCP Server
sponsorAccess financial market data: realtime & historical stock, ETF, options, forex, crypto, commodities, fundamentals, technical indicators, & more
MCP Server Starter
A TypeScript starter project for building Model Context Protocol (MCP) servers with Bun.
promptz.dev
Access and manage prompts from promptz.dev for developers.
repomemory
Persistent, structured memory for AI coding agents. Your repo never forgets.
Cursor Talk to Figma MCP
Integrates Cursor AI with Figma to read and programmatically modify designs.
SumUp
Build card present and online payments solutions with SumUp.
Perfetto
Turn natural language into powerful Perfetto trace analysis. Quickly explain jank, diagnose ANRs, spot CPU hot threads, uncover lock contention, and find memory leaks.
MCP Terminal
An MCP server for accessing the terminal and managing git repositories.
Grafana
Search dashboards, investigate incidents and query datasources in your Grafana instance
MCP Server Pentest
Automated browser penetration testing to detect XSS and SQL vulnerabilities.
MCP Inspector
A developer tool for testing and debugging MCP servers with a web UI and proxy.