Skip to content
MCP serverOpen-source agent

my-pi

Local MCP runtime giving coding agents bounded, guarded access to a workspace

Actively maintained

The repository was last updated yesterday and is published under MIT.

my-pi is an open-source MCP server for developer tools. It is available on CLI, Linux, macOS, Windows and Self-hosted.

Pricing
Open source
Platforms
CLI, Linux, macOS
What it can do
Can change data (2 tools)
GitHub stars
3
Last commit
Language
TypeScript

Similar MCP servers

About my-pi

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.

Tools this server provides (13)

Taken from the project documentation; the running server may differ.

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_readName suggests: reads
Bounded file reads
fs_writeName suggests: changes
Guarded file writes
fs_patchName suggests: changes
Guarded file patches
fs_stat
File metadata
searchName suggests: reads
Repository grep and glob search
workspace_info
Authoritative workspace state
ast_searchName suggests: reads
Tree-Sitter structural search
lsp_statusName suggests: reads
Language server status
lsp_symbols
Language server symbols
lsp_navigate
Definitions and references via language server
lsp_diagnostics
Language server diagnostics
vcs_statusName suggests: reads
Git repository status
vcs_diff
Bounded and filtered Git diffs

What it does

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

Pricing

Open source

Free and MIT licensed; self-hosted local runtime.

my-pi 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.

How AIPoweredBot checks servers