Llun MCP server
Project description
Llun-MCP - Architectural Context for Agents
Intro
Llun-MCP extends Llun into the world of agentic workflows through the Model Context Protocol (MCP). While the Llun CLI tool helps developers enforce architectural principles during coding, Llun-MCP gives agents the same advantage — ensuring they design and generate solutions that align with your architectural rules from the very beginning.
Rather than waiting until code is complete to lint and fix, Llun-MCP injects your team’s architectural principles directly into the agent’s reasoning loop. This prevents the kind of ad-hoc, inconsistent output that often plagues LLM-driven code generation, and minimises the need for post agent clean-up.
To achieve this, Llun-MCP exposes a single, simple tool: get_rules - which provides the agents with the user selected architectural rules defined by their chosen config tomls. Through encouraging agents to utilise this tool prior to beginning coding tasks, Llun-MCP ensures all agentic workflows begin with a complete understanding of the underlying principles the solution should adhere to. By utilising STDIO, Llun-MCP remains fully portable to all agentic workflows regardless of networking setups, choice of LLM, etc...
All of this makes Llun-MCP perfect for teams that want to:
- Use agents as coding assistants without sacrificing design consistency
- reduce cost of agentic coding activities by ensuring the first results produced are close to the teams agreed standards
- Utilise Llun CLI for architectural assessment
- ensure agent-powered high velocity development doesnt come with a sacrifice in maintainability
Quick Start
Installation
to use the server, the fastest way is to pip install it into a local environment:
uv pip install llun-mcp
or for those not yet ready to migrate to uv:
pip install llun-mcp
Basic Usage
To use the tool in CLaude Code, add the following to your config:
{
"mcpServers": {
"llun_architectural_rules": {
"command": "uvx",
"args": [
"llun-mcp"
]
}
}
}
References
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
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 llun_mcp-1.5.3-py3-none-win_amd64.whl.
File metadata
- Download URL: llun_mcp-1.5.3-py3-none-win_amd64.whl
- Upload date:
- Size: 1.5 MB
- Tags: Python 3, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c9a1994b880c13bd33d075037e2b21252c48c502811c3b6a828736825e021e44
|
|
| MD5 |
b3ec81cc4f65a67a5304a668b41bb89d
|
|
| BLAKE2b-256 |
e62a0bdc6950f18f4663bcb64f609d82edd38ac7f05aa602c26d599c1a6f0ff0
|
File details
Details for the file llun_mcp-1.5.3-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: llun_mcp-1.5.3-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 1.8 MB
- Tags: Python 3, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
744956ef80b3b5c8719a789bb36b1c9fe3331253515be48b2504f5946b73d887
|
|
| MD5 |
5d5ca3775499ea1c4d6ad4bb7d63186e
|
|
| BLAKE2b-256 |
42fe4f8a61a207114440b0fcb7f363004218638c01b2923db6bc860681505d31
|
File details
Details for the file llun_mcp-1.5.3-py3-none-macosx_11_0_arm64.whl.
File metadata
- Download URL: llun_mcp-1.5.3-py3-none-macosx_11_0_arm64.whl
- Upload date:
- Size: 1.5 MB
- Tags: Python 3, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1d39675bfbb4d8be5831cebed8e8ccd5d8599bb40a46ee85000d12108afbb7d8
|
|
| MD5 |
95b517bd99be117373720788b68b5f09
|
|
| BLAKE2b-256 |
e0f4c766de308542c82043e328666a2af1692983e078df5278b55f2c29ce610e
|