# mcp-readonly-code-server

> mcp-readonly-code-server — john0615-mcp-readonly-code-server. Use this tool when you need to securely expose a local code workspace to AI clients for file browsing and text search. It solves problems related to code accessibility and discovery, while ensuring path safety rules are enforced. The tool accepts stdio inputs and provides read-only access to the code workspace, making it ideal for use cases where code inspection and analysis are required without modifying the underlying codebase.

Canonical page: https://skillsregistry.net/skills/john0615-mcp-readonly-code-server  
JSON: https://api.skillsregistry.net/v1/skills/john0615-mcp-readonly-code-server

## Description

A read-only MCP server that exposes a local code workspace to AI clients via stdio, providing file browsing and text search capabilities with path safety rules.

## Trust

- **Trust score (0–1):** 0.69
- **Verification tier:** scanned
- **Last scanned:** 2026-09-03

## Facts

- **Version:** 1.0.0
- **Skill type:** atomic
- **Execution layer:** mcp-remote
- **Runtime environment:** api
- **Category:** search
- **Updated:** 2026-09-03

## Source

- **Source listing:** [Glama](https://glama.ai/mcp/servers/cg1ot96px7)
- **Repository:** <https://github.com/John0615/mcp-readonly-code-server>

## Use it

Resolve this record through the SkillsRegistry MCP server (no auth, read-only):

```
claude mcp add --transport http --scope user skillsregistry https://api.skillsregistry.net/mcp
```

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_skill",
    "arguments": {
      "slug": "john0615-mcp-readonly-code-server"
    }
  }
}
```

REST: `GET https://api.skillsregistry.net/v1/skills/john0615-mcp-readonly-code-server` · pull for local use: `GET https://api.skillsregistry.net/v1/skills/john0615-mcp-readonly-code-server/pull`

---
SkillsRegistry indexes agent skills from public registries and GitHub. Skills we have analysed are scanned with Circle-IR and scored on six dimensions; each listing states its scan coverage. More: https://skillsregistry.net/llms.txt
