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.1.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.1-py3-none-any.whl (35.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: llm_kms_mcp-0.1.1.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.1.tar.gz
Algorithm Hash digest
SHA256 467ecf229e62436dbafceb8a7636bde29ea12cef2df5926e2e0471272757f652
MD5 61f7b6a9c2ab129b3024b0167d152b13
BLAKE2b-256 d9f777294b81071a70d27d26150474785b8f59b12a1f4a4cc693cc3d675bf2d9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: llm_kms_mcp-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 35.9 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b490928c37642b80cd46db87057e29ef54460ba9e87a67d23edfc25875a04db8
MD5 9e77608da7ce042b3be85ee2b4df0f52
BLAKE2b-256 f94c6b78134d9c31cd943b4980134ccd921a764b1ff1cfc6d77816c662126bee

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