petroglyphs-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| port | No | HTTP server port. | 3333 |
| vault-path | No | Path to Obsidian vault (enables the save_to_obsidian tool). | |
| export-path | No | Output directory for Excalidraw exports. | ~/Desktop |
| max-history | No | Max submissions kept in memory. | 50 |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| resources | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| get_handwritingA | Get the latest drawing from Petroglyphs (petro) iPad. Returns the handwriting image (base64 PNG) with stroke metadata. |
| get_handwriting_historyB | Get drawing history from Petroglyphs (petro) iPad. Returns the last N handwriting submissions with metadata. |
| clear_historyB | Clears all stored handwriting submissions |
| save_to_obsidianB | Saves content as a markdown file to an Obsidian vault with YAML frontmatter. Optionally embeds the handwriting image. |
| export_to_excalidrawA | Exports the latest handwriting strokes as an Excalidraw file (.excalidraw JSON) |
| get_pairing_codeA | Returns a 4-character pairing code for this session. The user enters this code on their iPad to link it to this Claude session. Each session gets one stable code. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| slate-current | Latest handwriting image |
| slate-history | All handwriting submissions this session |
TDQS
Scored across 6 tools
Each tool targets a distinct action+resource: fetching the latest drawing, fetching history, clearing history, saving to Obsidian, exporting to Excalidraw, and retrieving a pairing code. The two get_handwriting* tools are related but clearly differentiated by 'history' in the name and description. No tool appears to do the same thing as another.
All names follow a consistent snake_case verb_noun pattern (get_*, clear_*, save_to_*, export_to_*). The destination-oriented suffix (_to_obsidian, _to_excalidraw) is used consistently. No mixed conventions or vague verbs.
Six tools is well-scoped for a handwriting-capture bridge to an iPad. Every tool earns its place: capture, history, cleanup, two export destinations, and session pairing. No filler or redundant tools.
The core lifecycle is covered: pair with iPad, fetch latest drawing, browse history, clear storage, and export to two destinations. Minor gaps exist—no way to fetch or delete a single history submission by id, and no delete of just the latest drawing versus the whole history—but agents can work around these with clear_history and get_handwriting.