Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

llun_mcp-1.4.3.tar.gz (44.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

llun_mcp-1.4.3-py3-none-manylinux_2_34_x86_64.whl (1.5 MB view details)

Uploaded Python 3manylinux: glibc 2.34+ x86-64

File details

Details for the file llun_mcp-1.4.3.tar.gz.

File metadata

  • Download URL: llun_mcp-1.4.3.tar.gz
  • Upload date:
  • Size: 44.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: maturin/1.9.4

File hashes

Hashes for llun_mcp-1.4.3.tar.gz
Algorithm Hash digest
SHA256 59031a6c88498196156ff811f318dfcee3b4591736a31bdb94773c24d9183f5c
MD5 f19be8942e02b3b45f38dbbc40175337
BLAKE2b-256 324acd8c41f82956cde58c87f9f5f6692cbbf2410f6cd611921ad49e7113169b

See more details on using hashes here.

File details

Details for the file llun_mcp-1.4.3-py3-none-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for llun_mcp-1.4.3-py3-none-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 4f24a063c87312bb7101a1183efc208679e936be9ed621f36c05f21fa1c569d4
MD5 c1ecb2d2878f8ce0bd5c8f455c23858b
BLAKE2b-256 b0037df90a4741a0fccced98764bc1e11a3ab4ec1fadd377f3f59b54d5f8e773

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page