Sign in Get 3 free credits

Try a job or a niche: tiktok captions, study notes, excel formulas. Press Esc to close.

Readonly MCP wrapper

Helps you expose a folder of notes or docs to Claude or another AI client, build an MCP server over Markdown or JSON files.

Free on GitHubAI agents and prompts

In detail

Use when asked to expose a folder of notes or docs to Claude or another AI client, build an MCP server over Markdown or JSON files, let an agent read my knowledge base safely, or wrap documentation as MCP tools. Produces a read-only MCP server over a folder of Markdown or JSON files: server code using stdio transport, tool definitions, a client configuration snippet, and a safety section confirming no write, delete or network tools are exposed. To design an MCP server for a whole product, use mcp-server-spec.

Safety check

  • Not rated by Claude yet. We only sell skills Claude has read and rated 7 out of 10 or higher, so this one is a free link to its author.

An automated scan lowers risk but cannot promise zero risk. How we check skills

Preview

The first lines of SKILL.md
---
name: readonly-mcp-wrapper
description: "Use when asked to expose a folder of notes or docs to Claude or another AI client, build an MCP server over Markdown or JSON files, let an agent read my knowledge base safely, or wrap documentation as MCP tools. Produces a read-only MCP server over a folder of Markdown or JSON files: server code using stdio transport, tool definitions, a client configuration snippet, and a safety section confirming no write, delete or network tools are exposed. To design an MCP server for a whole product, use mcp-server-spec."
version: 1.0.0
---

# 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

## Output Structure

### 1. Server code
A complete file based on `references/server-template.mjs`, adapted to the inputs:
- stdio transport: newline-delimited JSON-RPC 2.0 on stdin and stdout; all logging on stderr
- handles `initialize`, `ping`, `tools/list` and `tools/call`; ignores notifications; returns `-32601` for anything else
- the served root resolved once with `realpath`; every requested path resolved and checked to stay inside it, so `..` and symlinks cannot escape
- an allow-list of extensions and a per-file size cap
- exclusions from the inputs applied in the file walk

### 2. Tool definitions
A table and the JSON schemas:
| Tool | Input | Returns | Read-only hint |
|---|---|---|---|
| `list_documents` | none | relative paths | true |
| `search_documents` | `query` (2+ characters), optional `limit` up to 50 | path and excerpt per match | true |
| `read_document` | `path` from `list_documents` | full text | true |

Errors are returned as tool results with `isError: true` and a message that never includes the absolute path.

### 3. Client configuration
...

From mohitagw15856's repository, MIT licence.

Related skills

  • Checked

    RAG evaluation

    Measures how well a RAG system retrieves and answers, with test questions, metrics and chunking advice.

    by ai-evals-course 1.9k
    7/101 credit
  • Checked

    LangSmith Agent Testing

    Sets up LangSmith datasets, scorers and experiments so you can prove an AI agent change is better before release.

    by langchain-ai 1.4k
    7/101 credit
  • Checked

    Test and Fix Loop

    Sets up a coding agent to run tests, read failures and fix them until green, with a safe point to stop.

    by agentsope 513
    8/101 credit
  • Checked

    AI Failure Analysis

    Sorts real chatbot or agent logs into named failure types with counts, so you know which tests to write first.

    by yonatangross 312
    7/101 credit
  • Checked

    AI Agent Eval Rubric

    Writes pass or fail checks that define good behaviour for your AI agent, plus release targets for the PRD.

    by Calibre-Labs 107
    7/101 credit
  • Checked

    LLM Feature Testing

    Builds an offline eval suite for AI features, so a prompt or model change cannot quietly make quality worse.

    by jaktestowac 124
    7/101 credit

Secure checkout

Credits

AUD

  1. 1Choose
  2. 2Pay on Square
  3. 3Credits added