readonly-mcp-wrapper
Installation
SKILL.md
Read-only MCP Wrapper
The fastest way to give an AI assistant a project's knowledge (docs, notes, specs, exported data) is a small MCP server that can list, search and read files, and can do nothing else. Most hand-rolled servers drift into risk: a "helpful" write tool, a path that escapes the folder through .. or a symlink, or logs printed to stdout that corrupt the protocol. This skill generates a server that is read-only by construction, from the tested template in references/server-template.mjs.
Required Inputs
Ask for these if not provided:
- The folder to serve, and roughly how many files and how large
- File types: Markdown, JSON, or both (other types are excluded by default)
- The client: Claude Code, Claude Desktop, Cursor, or another MCP client
- Runtime: Node is the default; ask if the user needs Python instead
- Anything inside the folder that must never be served (drafts, private notes), to exclude by path