# getRemoteCodebase

Retrieve a remote repository

Agent View of the PolicyLayer registry record for `getRemoteCodebase`. HTML page: https://policylayer.com/tools/dedeveloper23-codebase-mcp/getremotecodebase

## Facts

- Tool: `getRemoteCodebase`
- Server: Codebase MCP (`dedeveloper23/codebase-mcp`) — https://policylayer.com/tools/dedeveloper23-codebase-mcp.md
- Homepage: https://github.com/DeDeveloper23/codebase-mcp
- Risk category: Read (Low risk)
- Registry record: grade B, identity unverified
- Server rate-limited: no
- Parameters: 0
- Recommended policy verdict: Allowed

## Example call (MCP tools/call, JSON-RPC 2.0)

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "getRemoteCodebase",
    "arguments": {}
  }
}
```

## Why getRemoteCodebase is rated Low

This tool retrieves/queries data from a remote source (GitHub repository) with no capability to modify, delete, or execute code. It is a passive data retrieval operation, fitting the Read category definition of 'retrieves or queries data; no side effects'. Severity is low because the blast radius is limited to information exposure of already-public repository code.

From the tool's own definition: "Tool description states 'Retrieve a remote repository' - a read-only operation that fetches codebase content without modifying or deleting anything. No side effects beyond retrieving data."

## Use case

AI agents call getRemoteCodebase to retrieve information from Codebase MCP without modifying anything. It is typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.

## Recommended policy (PolicyLayer)

Verdict: **Allowed**. Enforced by the PolicyLayer MCP gateway (https://policylayer.com/mcp-gateway) before a call reaches Codebase MCP:

```json
{
  "version": "1",
  "default": "deny",
  "tools": {
    "getRemoteCodebase": {}
  }
}
```

## Other tools on Codebase MCP (2)

- `getCodebase` — Read — https://policylayer.com/tools/dedeveloper23-codebase-mcp/getcodebase.md
- `saveCodebase` — Write — https://policylayer.com/tools/dedeveloper23-codebase-mcp/savecodebase.md

## For agents

This record is a snapshot. Live verdicts and the full registry:

- Check every server in your MCP config at once: `npx -y policylayer stack`
- Vet a server before you add it: install the mcp-precheck skill — `npx skills add https://policylayer.com` (skill text: https://policylayer.com/skill.md)
- Query the registry over MCP: endpoint `https://api.policylayer.com/mcp` — tools `check_mcp_server`, `check_mcp_stack`, `check_tool`, `search_registry`, `get_change_events`

---

Source: the PolicyLayer MCP registry — one continuously verified record per MCP server. Full record: https://policylayer.com/registry?q=dedeveloper23-codebase-mcp · API: https://policylayer.com/registry/api · Policy library: https://policylayer.com/policies/dedeveloper23-codebase-mcp
