local-pc-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| ALLOWED_ROOTS | Yes | A semicolon-separated list of absolute directories on all platforms. A missing or empty value makes tool calls fail closed. Relative paths require exactly one root. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
Local files and Git repositories are limited to ALLOWED_ROOTS.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| file_listA | List a directory under the local read policy. Does not follow symlink entries. |
| file_readA | Read UTF-8 text or a PDF text preview. PDF continuation/images: file_read_pdf. |
| file_writeA | Create or overwrite a UTF-8 text file inside ALLOWED_ROOTS. Does not delete files. |
| file_read_pdfA | Read PDF pages (1-based, max 20). render=true returns one page image for scans/figures. Local read policy applies. |
| file_read_linesB | Read a bounded line range of a UTF-8 file under the local read policy. |
| file_searchB | Bounded literal text or filename search in one directory under the local read policy. |
| file_json_getB | Read one bounded JSON value by JSON Pointer under the local read policy. |
| git_statusA | Show git status --porcelain for a repository whose root is inside ALLOWED_ROOTS. |
| git_diffB | Show git diff --no-ext-diff. Set staged=true for --cached. |
| git_logB | Show recent git commits. max_count is capped at 100. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 10 tools
The file-reading tools overlap: file_read, file_read_lines, and file_read_pdf all read file content, and file_read even mentions a PDF preview that competes with file_read_pdf. Descriptions do help distinguish bounded line ranges and PDF-specific behavior, but an agent can easily misselect among the three read tools.
Names consistently use snake_case with clear file_/git_ prefixes and mostly follow a resource_action pattern. Minor deviations like file_json_get (action not at the end) and compound suffixes in file_read_pdf/file_read_lines keep it from being perfectly uniform.
Ten tools is well within the ideal 3-15 range and each tool maps to a distinct operation on local files or git repositories. The set is compact and purpose-scoped without obvious filler.
Read coverage is strong (text, lines, PDF, JSON pointer, search, list) and git inspection is covered, but the write lifecycle is incomplete: no delete, move, append, or directory creation, and git is read-only with no commit/add/branch operations. These are notable gaps agents cannot fully work around with the current surface.