Skip to main content

mcp-remlezrd

python uv latest coverage license

MCP server for AI agent collaboration through structured, shareable resources.

Features

1. Agent Autonomy for Context Loading

The server empowers AI agents to self-discover and load team standards (development, design, architecture, etc.) without hard-coding context:

  • Discovery tools — Provide a searchable index of all project and shared standards so the agent knows what resources exist before reading them.
  • Native MCP resources — Standards are exposed as MCP resources in Markdown format, directly accessible by the client.
  • Tool fallback — If the MCP client does not support resources, the same content is available via dedicated read tools.

2. (Agent|Human)-Friendly Workflow

Designed for collaboration between developers and AI agents:

  • Human-first editing — All resources are plain Markdown files with YAML frontmatter. Developers can read, edit, and version them with standard tools.
  • Agent consumption — Agents read resources natively via MCP (or through tools when resource support is absent).
  • Agent-assisted maintenance — Agents can create standards through composer tools, keeping conventions alive without manual boilerplate.

3. Modular Standards, Universal Access

  • Specialized resources — Standards, procedures, and knowledge are stored in dedicated, maintainable files instead of monolithic README.md or AGENTS.md .
  • Universal format — Uses the MCP protocol, avoiding IDE-specific formats such as .cursorrules , .windsurfrules , or CLAUDE.md .

4. Project-Only Resources (scoped to cwd)

Resource Status Description
ADR experiment Architecture Decision Records — capture technical choices, trade-offs, and their rationale.
Glossary experiment Term definitions and domain vocabulary — ensure consistent language across the team.

5. Shareable Resources (external directory)

Resource Status Description
Rule experiment Coding standards and constraints — enforceable guidelines for agent behavior.
Skill experiment Actionable procedures and how-to guides — step-by-step recipes for common tasks.

Getting Started

Starting RemLezrd MCP Server

Run with default settings:

uv run mcp-remlezrd
uv run mcp-remlezrd --no-shared
uv run mcp-remlezrd --disable-resource skill --disable-resource glossary

Run with custom paths and logging:

uv run mcp-remlezrd --log-file /tmp/remlezrd.log
uv run mcp-remlezrd --resource-as-tool

NOTE: --shared controls whether the shared directory is mounted at startup (a physical storage concern). Use --disable-resource to hide a resource type entirely. Use the REMLEZRD_ENABLE_COMPOSER environment variable to control which compose tools (and their how-to guides) are exposed. By default, no composer is enabled — use enable_composer to activate them dynamically. These are independent mechanisms.

Configure MCP Clients (IDE, Agents, etc)

  • zed (does not support MCP resources directly)
{
  ...
  "context_servers": {
    ...
    "remlezrd": {
      "enabled": true,
      "command": "uvx",
      "args": [ "mcp-remlezrd", "--resource-as-tool" ],
      "env": { }
    }
  }
}
  • kimi-cli (does not support MCP resources directly)
{
  "mcpServers": {
    ...
    "remlezrd": {
      "command": "uvx",
      "args": [ "mcp-remlezrd", "--resource-as-tool" ],
      "env": { }
    }
  }
}

CLI Options and Environment Variables

 Usage: mcp-remlezrd [OPTIONS]

 MCP RemLezrd server - Context manager for AI agents

╭─ Options ────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ --shared              --no-shared                                         Enable/disable shared directory (Disable to use project-only   │
│                                                                           mode)                                                          │
│                                                                           [env var: REMLEZRD_ENABLE_SHARED_DIR]                          │
│                                                                           [default: shared]                                              │
│ --disable-resource                             [adr|glossary|rule|skill]  Resource type to disable (repeat for multiple)                 │
│                                                                           [env var: REMLEZRD_DISABLE_RESOURCES]                          │
│ --resource-as-tool    --no-resource-as-tool                               Only for CLIENT with NO 'MCP Resources' Support                │
│                                                                           [env var: REMLEZRD_RESOURCES_AS_TOOLS]                         │
│                                                                           [default: no-resource-as-tool]                                 │
│ --log-file                                     PATH                       Path to log file [env var: REMLEZRD_LOG_FILE]                  │
│ --help                                                                    Show this message and exit.                                    │
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯

 Other Environment Variables:
 🔹 REMLEZRD_LOG_LEVEL              Console handler log level  [default: 'WARNING']
 🔹 REMLEZRD_LOG_FILE_LEVEL         File handler log level     [default: 'INFO']
 🔹 REMLEZRD_DISABLE_RESOURCES      List of resource types completely disabled    [default: '[]']
 🔹 REMLEZRD_ENABLE_COMPOSER        List of resource types with composer enabled  [default: '[]']
 🔹 REMLEZRD_DISABLE_ONBOARDING     Disable onboarding components                 [default: 'False']
 🔹 REMLEZRD_OVERRIDE_CWD           Abs. path to Project dir
 🔹 REMLEZRD_SHARED_DIR             Abs. path to Shared dir    [default: '~/.local/share/remlezrd']
 🔹 REMLEZRD_SUBDIR_ADR             Subdir for ADRs            [default: 'docs/_adrs']
 🔹 REMLEZRD_SUBDIR_GLOSSARY        Subdir for Glossaries      [default: 'docs/_glossary']
 🔹 REMLEZRD_SUBDIR_RULE            Subdir for Rules           [default: 'docs/_rules']
 🔹 REMLEZRD_SUBDIR_SKILL           Subdir for Skills          [default: 'docs/_skills']

Metadata

Release files for mcp-remlezrd 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mcp-remlezrd 1.0.0
File Size Uploaded
mcp_remlezrd-1.0.0.tar.gz 339.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for mcp-remlezrd 1.0.0
File Interpreter ABI Platform
mcp_remlezrd-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 447.3 kB

Release files / mcp_remlezrd-1.0.0.tar.gz

Download URL mcp_remlezrd-1.0.0.tar.gz
Size 339.2 kB
Tags Source
SHA-256 checksum
How to use checksums
acb247fda0b0246203431acef2b5668d2d689aac663685ca6d60ca77da2f3e20
BLAKE2b-256 checksum
How to use checksums
ae981245cf171b7abdd6bac10653794445b2f2b86259bae846ee0950e4522898
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.8 {"installer":{"name":"uv","version":"0.11.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / mcp_remlezrd-1.0.0-py3-none-any.whl

Download URL mcp_remlezrd-1.0.0-py3-none-any.whl
Size 108.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9813db961eaca64ee2ff46de0ac7a2c1ab8c7a0b568a388d16eb1d3db3f6832e
BLAKE2b-256 checksum
How to use checksums
851eb7ab9c905519164d6a9796fd1216dff727132014548b7120fd2204779ebc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.8 {"installer":{"name":"uv","version":"0.11.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

0.2.0

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page