Back to Home
sampathpulukurthi icon

Codebase-Copilot-MCP

Verified Safe

by sampathpulukurthi

Overview

Provides a sandboxed set of tools for an LLM agent to interact with and analyze a local file system, including listing, reading, and searching files, and generating repository overviews.

Installation

Run Command
python src/intel_fs/server.py

Environment Variables

  • MCP_BASE_DIR

Security Notes

The server implements strong path traversal prevention mechanisms using `Path.resolve()` and explicit checks against a defined `BASE_DIR` for all file system operations. It rejects absolute or home-relative paths from user input. The `smart_search` tool uses `subprocess.run` with explicit arguments for `ripgrep`, which is safer than `shell=True`, and includes a Python fallback. No `eval` or `exec` functions are used. Overall, the server appears well-designed for security within its intended scope, making it safe for agent interactions with a local file system.

Similar Servers

Stats

Interest Score0
Security Score9
Cost ClassMedium
Avg Tokens2000
Stars0
Forks0
Last Update2026-01-19

Tags

File SystemMCPAgent ToolingSecurity SandboxPython