Skip to main content

MCP Resource Server — llm-kms handbook distributor

Project description

llm-kms MCP Handbook Server

An MCP Resource Server that ships the llm-kms schema, skill, and templates as a self-contained package. Any agent can read these resources to bootstrap its own llm-kms wiki in any repo — no external repo required.

What it exposes

Resource URI Content
llmkms://guide/bootstrap Step-by-step bootstrap guide (start here)
llmkms://spec/claude-md Full authoritative schema (CLAUDE.md)
llmkms://skill/skill-md Thin router (SKILL.md) — points to the per-op skills below
llmkms://skill/ingest Ingest procedure
llmkms://skill/query Query procedure
llmkms://skill/lint Lint procedure
llmkms://skill/prune Prune procedure
llmkms://template/atomic-note Blank atomic-note template
llmkms://template/index Blank index.md starter
llmkms://template/log Blank log.md starter
llmkms://reference/gitignore Recommended .gitignore
llmkms://reference/gitleaks Recommended .gitleaks.toml
llmkms://reference/lint-script Standalone Python lint script
llmkms://manifest JSON index with sha256 per resource

All resources are bundled inside the package — no environment variables needed.

Tools

Tool Parameters Does
scaffold_llm_kms target_dir Scaffolds an llm-kms wiki folder structure (inbox/, raw/, archive/, system/templates/, index.md, log.md, merged .gitignore) in target_dir. Safe to re-run — skips files that already exist.
scaffold_mcp_server target_dir, package_name, port=8765, concurrent_writes=False Generates a standalone wiki MCP server project in target_dir: core.py, server_public.py (HTTP, query-only), server_local.py (stdio, full tool set), a generated _config.py with a random bearer token, pyproject.toml, and a copy of the per-op skill files under .claude/skills/<package_name>/. concurrent_writes=True switches generated note IDs from 17 to 25 digits (collision-safe for multiple agents writing at once).

Requirements

  • Python >= 3.10

Install

From PyPI

pip install llm-kms-mcp

From source

git clone https://github.com/operator47/llm-kms-mcp.git
cd llm-kms-mcp
pip install .

Run (smoke test with MCP Inspector)

Node.js must be installed.

npx @modelcontextprotocol/inspector python -m llm_kms_mcp

In the Inspector: confirm all 14 resources appear under llmkms:// and both tools (scaffold_llm_kms, scaffold_mcp_server) are listed; read llmkms://guide/bootstrap to verify content.

Register with Claude Code

Project-scoped (.mcp.json in your repo):

{
  "mcpServers": {
    "llm-kms-handbook": {
      "command": "python",
      "args": ["-m", "llm_kms_mcp"]
    }
  }
}

With uv (no separate install step):

{
  "mcpServers": {
    "llm-kms-handbook": {
      "command": "uvx",
      "args": ["llm-kms-mcp"]
    }
  }
}

User-scoped via CLI:

claude mcp add llm-kms-handbook -- python -m llm_kms_mcp

Acceptance checks

After installing:

  1. All 14 resources are listed in the Inspector.
  2. llmkms://guide/bootstrap returns the bootstrap guide.
  3. llmkms://manifest lists all resources with sha256 hashes and no errors.
  4. A new empty repo bootstrapped from the guide produces a clean lint result.
  5. scaffold_llm_kms and scaffold_mcp_server are both callable and produce the files described above.

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

llm_kms_mcp-0.1.0.tar.gz (32.2 kB view details)

Uploaded Source

Built Distribution

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

llm_kms_mcp-0.1.0-py3-none-any.whl (35.8 kB view details)

Uploaded Python 3

File details

Details for the file llm_kms_mcp-0.1.0.tar.gz.

File metadata

  • Download URL: llm_kms_mcp-0.1.0.tar.gz
  • Upload date:
  • Size: 32.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for llm_kms_mcp-0.1.0.tar.gz
Algorithm Hash digest
SHA256 ed13a2008601d125cff523aa80c90f27885531695d6d3f6cca8346c7475a319d
MD5 31de08247b94bbb044e4ce3c7a7cfc0f
BLAKE2b-256 15fc59b307f019d0b72faa237452de1a42dc1bd20f38d4f02adecf1d1e3fe755

See more details on using hashes here.

File details

Details for the file llm_kms_mcp-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: llm_kms_mcp-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 35.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for llm_kms_mcp-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e8d0a09d4b5b9768446413b169d73ef146a9e0bc3efe561d370d6d141e382138
MD5 435574d972436ec35bdbfde1999928ac
BLAKE2b-256 288f77c45112adae8b955016617484a013f194c8d2ed01432ee8443187bde1d1

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