# my-pi

> my-pi is an open-source MCP server for developer tools. Local MCP runtime giving coding agents bounded, guarded access to a workspace. It is available on CLI, Linux, macOS, Windows and Self-hosted.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI, Linux, macOS, Windows, Self-hosted
- **Repository:** https://github.com/boxboxmari/my-pi
- **GitHub stars:** 3
- **License:** MIT
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools), [coding](https://ai-powered.com/categories/coding-agents)
- **Listing updated:** 2026-12-01

## About

my-pi runs on your machine and exposes a set of workspace tools over the Model Context Protocol, so an MCP-capable coding assistant can read, search and edit a project without being handed a general shell. Access is scoped to a workspace root you name explicitly, and the server starts read-only until you opt into a trusted profile for writes or language-server startup.

The tool surface covers bounded file reads, writes and patches that can require SHA-256 content preconditions to avoid blind overwrites, Tree-Sitter structural search for TypeScript, JavaScript, Python, Rust and Go, language-server symbols, definitions, references and diagnostics, and bounded Git status and diff output. Sensitive paths such as environment files, SSH and AWS directories and key files are denied before their contents reach the model.

It suits developers who want their coding agent to understand and change a local repository while keeping tighter control over what it can touch. The project is in alpha, and the repository also contains experimental coordination and visualization features that are not part of the default tool set.

## Features

- **Bounded workspace access:** Requires an explicit workspace root and fails closed rather than silently granting the current directory.
- **Content-preconditioned writes:** File updates can verify a SHA-256 fingerprint and reject stale overwrites.
- **Read-only by default:** Writes and language-server process startup need an explicit trusted security profile.
- **Structural code search:** Tree-Sitter search across TypeScript, JavaScript, Python, Rust and Go.
- **Language-server navigation:** Symbols, definitions, references, hover and diagnostics from host language servers.
- **Filtered Git context:** Bounded status and diff operations with secret filtering and large-diff spillover.

## Good for

- Letting an MCP-capable coding agent explore and edit a local repository without a general shell
- Enforcing read-only access to a codebase until a developer opts into writes
- Running guarded edits that fail if the file changed since the agent last read it
- Giving an agent semantic code navigation through an existing language server
- Producing bounded Git status and diff context for code review assistance

## Tools

From the tool list in its README, going by the names, 2 of 13 tools change data; 6 names don't say. From the server's own tool labels and tool names; not verified by us.

- `fs_read` (name suggests: reads): Bounded file reads
- `fs_write` (name suggests: changes): Guarded file writes
- `fs_patch` (name suggests: changes): Guarded file patches
- `fs_stat`: File metadata
- `search` (name suggests: reads): Repository grep and glob search
- `workspace_info`: Authoritative workspace state
- `ast_search` (name suggests: reads): Tree-Sitter structural search
- `lsp_status` (name suggests: reads): Language server status
- `lsp_symbols`: Language server symbols
- `lsp_navigate`: Definitions and references via language server
- `lsp_diagnostics`: Language server diagnostics
- `vcs_status` (name suggests: reads): Git repository status
- `vcs_diff`: Bounded and filtered Git diffs

## FAQ

### Does my-pi need a paid LLM service?

No. The core runtime runs locally and does not select models or spawn agents.

### How do I start the server safely?

Run my-pi-mcp with a --workspace path. It starts read-only, and you add --security-profile trusted only for a workspace you explicitly trust.

### Which languages does structural search cover?

TypeScript, JavaScript, Python, Rust and Go.

### Which Node.js version is required?

Node.js 24.0.0 or later.

### What are the best alternatives to my-pi?

The closest alternatives to my-pi are Coding Tools MCP, Codeloupe MCP, High Performance MCP Server, mcp-shell and Local Workspace MCP.

## Where this comes from

- Description: written from the project's README.

## Alternatives

- [Coding Tools MCP](https://ai-powered.com/mcp/coding-tools-mcp): Coding Tools MCP is an open-source MCP server for developer tools.
- [Codeloupe MCP](https://ai-powered.com/mcp/codeloupe-mcp): Codeloupe MCP is an open-source MCP server for developer tools.
- [High Performance MCP Server](https://ai-powered.com/mcp/high-performance-mcp-server): High Performance MCP Server is an open-source MCP server for developer tools.
- [mcp-shell](https://ai-powered.com/mcp/mcp-shell): mcp-shell is an open-source MCP server for developer tools.
- [Local Workspace MCP](https://ai-powered.com/mcp/local-workspace-mcp): Local Workspace MCP is a free MCP server for developer tools.
- [mcp-injector](https://ai-powered.com/mcp/mcp-injector): mcp-injector is a freemium MCP server for ai models and llm tooling.
- [Binky](https://ai-powered.com/mcp/binky): Binky is an open-source MCP server for developer tools.
- [MCPProxy](https://ai-powered.com/mcp/mcpproxy): MCPProxy is an open-source MCP server for developer tools.

---
Source: https://ai-powered.com/mcp/my-pi-2
