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
Alpha Vantage MCP Server
sponsorAccess financial market data: realtime & historical stock, ETF, options, forex, crypto, commodities, fundamentals, technical indicators, & more
NeuroDev MCP Server
A powerful Model Context Protocol (MCP) server that supercharges your Python development workflow with AI-powered code review, intelligent test generation, and comprehensive test execution.
Lisply-MCP
A Node.js middleware that allows AI agents to interact with Lisp-based systems using the Lisply protocol.
Vercel Domains MCP
Query domains on Vercel
MCP Sandbox
An interactive sandbox to safely execute Python code and install packages in isolated Docker containers.
The Undesirables MCP Server
35+ local AI tools - TCG card grading, Monte Carlo simulation, voice synthesis, 3D mesh, image gen, and autonomous M2M NFT purchase bridge.
PyMilvus Code Generate Helper
Retrieves relevant code snippets and documents to assist in generating PyMilvus code, requiring a running Milvus instance.
Dify Workflow
A tool server for integrating Dify Workflows via the Model Context Protocol (MCP).
Remote MCP Server (Authless)
An example of a remote MCP server without authentication, deployable on Cloudflare Workers.
Rubber Duck MCP
A tool that applies rubber duck debugging techniques to AI development environments.
Maven Package README MCP Server
Search for and retrieve detailed information, including READMEs and metadata, for Maven packages from Maven Central.