skim-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| SKIM_LOG_FILE | No | File path to redirect the skim_calls.jsonl log. | |
| SKIM_RUN_DISABLED | No | Set to '1' to disable the shell tool (skim_run). | |
| SKIM_SESSION_LABEL | No | Optional label for the session shown in the skim-meter dashboard. | |
| SKIM_PATCH_DISABLED | No | Set to '1' to disable the file editor (skim_patch). |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| skim_openA | Open a large file and return a compact skeleton + expandable anchor ids (not the full text). Returns handle, report (token counts + compression ratio), skeleton (read this), and anchors
(ids you can expand). Use instead of reading a whole large file when you only need parts.
Collapsed bodies are NOT in the skeleton - expand the anchor when the answer needs the body.
Pass |
| skim_expandA | Return exact, verbatim source lines for one or more anchor ids from a skim_open result. Items can be anchor ids ("a7") or literal line ranges ("L120-180", 1-based inclusive) - ranges work even for lines shown in the skeleton, e.g. when a grep gave you line numbers. |
| skim_searchA | Find which anchors/lines contain |
| skim_runA | Run a shell command and return a COMPACT, expandable view of its output instead of the full dump. For verbose commands (test runs, builds, npm/pip, big logs): the skeleton shows the shape with critical lines (errors, codes, numbers) preserved and repeated blocks deduped; skim_expand(handle, ...) pulls exact output spans. Nothing is lost. Returns exit_code + a token report. Runs on your machine. |
| skim_repoA | Build a LOSSLESS, ranked, token-budgeted map of a whole repo/directory. Returns each code file's skeleton (signatures + structure, bodies folded), ranked by relevance to
|
| skim_patchA | Replace exactly one anchored span (or literal "L-" range) of a skimmed file on disk. This is what verbatim-in-context buys: the span you expanded IS what the file contains, so an edit built from it applies safely. Expand the span first, edit that exact text, then patch. The write is refused if the file on disk no longer matches this handle's snapshot (drift -> clean error; re-open and rebuild the patch). Newline style (LF/CRLF) is preserved, the result is re-skimmed and verified, and a fresh handle for the new content is returned. Set SKIM_PATCH_DISABLED=1 to turn this tool off for read-only mounts. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/helloderekg/skim-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server