# markdown-mcp-resource MCP server

> Enables AI assistants to access and read remote markdown documentation via a JSON index file.

- Repository: https://github.com/pawcoding/markdown-mcp-resource
- Page: https://hostedmcp.org/servers/pawcoding/markdown-mcp-resource
- Transport: stdio
- Stars: 0
- License: MIT

## Install

### Claude Code

```sh
claude mcp add markdown-mcp-resource -- npx -y markdown-mcp-resource
```

### Cursor (`~/.cursor/mcp.json`)

```json
{
  "mcpServers": {
    "markdown-mcp-resource": {
      "command": "npx",
      "args": [
        "-y",
        "markdown-mcp-resource"
      ]
    }
  }
}
```

### VS Code (`.vscode/mcp.json`)

```json
{
  "servers": {
    "markdown-mcp-resource": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "markdown-mcp-resource"
      ]
    }
  }
}
```

### VS Code CLI

```sh
code --add-mcp '{"name":"markdown-mcp-resource","type":"stdio","command":"npx","args":["-y","markdown-mcp-resource"]}'
```

### Claude Desktop (`claude_desktop_config.json`)

```json
{
  "mcpServers": {
    "markdown-mcp-resource": {
      "command": "npx",
      "args": [
        "-y",
        "markdown-mcp-resource"
      ]
    }
  }
}
```

### Codex

```sh
codex mcp add markdown-mcp-resource -- npx -y markdown-mcp-resource
```

### Codex config.toml (`~/.codex/config.toml`)

```toml
[mcp_servers.markdown-mcp-resource]
command = "npx"
args = ["-y", "markdown-mcp-resource"]
```

### Gemini CLI

```sh
gemini mcp add -s user markdown-mcp-resource npx -- -y markdown-mcp-resource
```

### Gemini settings.json (`~/.gemini/settings.json`)

```json
{
  "mcpServers": {
    "markdown-mcp-resource": {
      "command": "npx",
      "args": [
        "-y",
        "markdown-mcp-resource"
      ]
    }
  }
}
```

## FAQ

### How do I configure the server for Claude Desktop?

Add the server to your Claude Desktop configuration using npx and providing the full URL to your index.json file.

### What is the required structure for the index file?

The index.json file must contain a 'files' array where each object has a 'name' (without .md) and a 'route' (a full URL or root-relative path).

### Does the server support subdirectories?

Yes, the server supports organizing documentation in nested folders and subdirectories.

### How does the server handle performance?

The server improves performance by caching fetched markdown content in memory.
