Skip to main content

Model Context Protocol (MCP) server for AI agents

Project description

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']

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

mcp_remlezrd-0.2.0.tar.gz (338.4 kB view details)

Uploaded Source

Built Distribution

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

mcp_remlezrd-0.2.0-py3-none-any.whl (107.3 kB view details)

Uploaded Python 3

File details

Details for the file mcp_remlezrd-0.2.0.tar.gz.

File metadata

  • Download URL: mcp_remlezrd-0.2.0.tar.gz
  • Upload date:
  • Size: 338.4 kB
  • Tags: Source
  • Uploaded using 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}

File hashes

Hashes for mcp_remlezrd-0.2.0.tar.gz
Algorithm Hash digest
SHA256 d823465724d87827e9281f671bb65bdc2359a7d362da5c680228a3ede84681d9
MD5 186a3c8ac1afe25d3a07b1e22d77b0f8
BLAKE2b-256 981c451d200cf88fdd5cab2c11b444036087c4635f7be07693f9f2e5a93c2d44

See more details on using hashes here.

File details

Details for the file mcp_remlezrd-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: mcp_remlezrd-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 107.3 kB
  • Tags: Python 3
  • Uploaded using 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}

File hashes

Hashes for mcp_remlezrd-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 af0c8ef7786bce845538da31f37e8da780210bd92249e1b3f03d74fd90a394bd
MD5 ab1481f93a2f0900dad6e3ac3c414d53
BLAKE2b-256 c0fcfb02d69a34b1a4f420af52d0a43dad3191299e6f40017fae98fcb3c65a2f

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