Model Context Protocol Server โ 8 Workspace Tools
Glyph Editor runs a built-in MCP server that exposes your workspace as a set of structured tools. Claude Desktop, Antigravity, and Claude Code connect natively โ every tool call streams into the Agent Panel's activity feed in real-time.
// Architecture
The MCP server is a single TypeScript file launched by each connecting client via npx tsx. No build step, no binary, no network ports โ just stdin/stdout JSON-RPC.
// Connected Engines
Each engine launches its own server process โ they can all run simultaneously, sharing the workspace journal.
Anthropic's native macOS application. Connects via MCP config at ~/Library/Application Support/Claude/claude_desktop_config.json.
Google's agentic coding platform. Connects via MCP Servers UI or ~/.gemini/config/mcp_config.json.
Anthropic's CLI agent. Auto-detects the .mcp.json at the project root โ zero config needed.
Any application that implements the Model Context Protocol can connect. No proprietary SDK required.
// Tool Reference
Every tool is workspace-scoped and operates through typed IPC. Read operations are safe; writes are journaled for rollback.
dragon_read_fileRead any file in the workspace โ text content returned as UTF-8.
dragon_write_fileWrite content to a file. Creates parent directories automatically.
dragon_list_directoryList files and subdirectories with icons and type indicators.
dragon_search_filesGrep-powered text and regex search across workspace files.
dragon_get_file_treeFull recursive file tree with configurable depth control.
dragon_run_commandExecute shell commands in the workspace with timeout protection.
dragon_get_workspace_infoWorkspace metadata โ project name, path, and package info.
dragon_list_recent_writesJournaled agent writes with prior content for safe rollback.
// Security Model
No credentials shared. No network ports. Pure stdio.