MCP server for Lingua Universale protocol verification -- verify AI agent communication with session types
Project description
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
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file lu_mcp_server-0.1.3.tar.gz.
File metadata
- Download URL: lu_mcp_server-0.1.3.tar.gz
- Upload date:
- Size: 14.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c3c3225bf5f391b591621820b0948a2bce908708832914e79b33a47cb8b09937
|
|
| MD5 |
b3cb389ac9e12bb49dedfdc31c516fbc
|
|
| BLAKE2b-256 |
2320505bb41cffce96446dc5c84cbb78c362306cc67f1eb250a5145127a0cd60
|
Provenance
The following attestation bundles were made for lu_mcp_server-0.1.3.tar.gz:
Publisher:
publish-lu-mcp-server.yml on rafapra3008/cervellaswarm
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
lu_mcp_server-0.1.3.tar.gz -
Subject digest:
c3c3225bf5f391b591621820b0948a2bce908708832914e79b33a47cb8b09937 - Sigstore transparency entry: 1107726291
- Sigstore integration time:
-
Permalink:
rafapra3008/cervellaswarm@6dc311cb4732921d0d02097d182d87bf1b8748ce -
Branch / Tag:
refs/tags/lu-mcp-server-v0.1.3 - Owner: https://github.com/rafapra3008
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-lu-mcp-server.yml@6dc311cb4732921d0d02097d182d87bf1b8748ce -
Trigger Event:
push
-
Statement type:
File details
Details for the file lu_mcp_server-0.1.3-py3-none-any.whl.
File metadata
- Download URL: lu_mcp_server-0.1.3-py3-none-any.whl
- Upload date:
- Size: 13.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
99bf05f99805af8261ee0789bb23a35774eedea14ac29fccd5025752734f4843
|
|
| MD5 |
68cf3a02ea1e3b26692db82ecc59cc06
|
|
| BLAKE2b-256 |
abf07c5f83f3498faece0b3fd6062c2c7c53d6f9f0d2c7216ec1db57d63438f2
|
Provenance
The following attestation bundles were made for lu_mcp_server-0.1.3-py3-none-any.whl:
Publisher:
publish-lu-mcp-server.yml on rafapra3008/cervellaswarm
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
lu_mcp_server-0.1.3-py3-none-any.whl -
Subject digest:
99bf05f99805af8261ee0789bb23a35774eedea14ac29fccd5025752734f4843 - Sigstore transparency entry: 1107726294
- Sigstore integration time:
-
Permalink:
rafapra3008/cervellaswarm@6dc311cb4732921d0d02097d182d87bf1b8748ce -
Branch / Tag:
refs/tags/lu-mcp-server-v0.1.3 - Owner: https://github.com/rafapra3008
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-lu-mcp-server.yml@6dc311cb4732921d0d02097d182d87bf1b8748ce -
Trigger Event:
push
-
Statement type: