ghostty-config-mcp
MCP server for managing Ghostty terminal emulator configuration, allowing users to view version, search config docs, validate config, list fonts/themes, and inspect current settings.
README
ghostty-config-mcp
MCP server for managing Ghostty terminal emulator configuration.
Works with Claude Code and any MCP-compatible client.
Tools
| Tool | Description |
|---|---|
ghostty_version |
Show installed Ghostty version and build info |
ghostty_search_config_docs |
Search config documentation by keyword |
ghostty_get_config_option |
Get full docs for a specific config key (supports fuzzy matching) |
ghostty_show_current_config |
Show active configuration (optionally changes only) |
ghostty_validate_config |
Validate config file for syntax errors |
ghostty_list_fonts |
List available font families and faces |
ghostty_list_themes |
List available themes (filterable by dark/light) |
ghostty_list_actions |
List actions bindable to keybindings |
ghostty_list_keybinds |
List current keybindings |
ghostty_list_colors |
List named colors |
ghostty_show_face |
Show which font face renders specific characters |
Requirements
Setup
As a Claude Code Plugin (Recommended)
See ghostty-config-plugin for one-command installation.
Standalone MCP Server
git clone https://github.com/shyuan/ghostty-config-mcp.git
cd ghostty-config-mcp
bun install
bun run build
Add to .mcp.json in your project directory:
{
"mcpServers": {
"ghostty-config": {
"command": "node",
"args": ["/path/to/ghostty-config-mcp/dist/index.js"]
}
}
}
Architecture
src/
├── index.ts # MCP server entry point (StdioServerTransport)
├── lib/
│ ├── exec.ts # node:child_process wrapper for ghostty CLI
│ └── parsers.ts # CLI output parsers (8 parsers)
└── tools/ # One file per tool (11 tools)
- Config docs are cached in-memory keyed by Ghostty version (~120 KB, shared by search and get tools)
- All CLI execution goes through
exec.tswith a 10s default timeout - Uses
node:child_processfor Bun + Node.js dual compatibility - Never writes to
process.stdout(reserved for MCP stdio transport)
License
MIT
ghostty-config-mcp(中文說明)
用於管理 Ghostty 終端模擬器設定的 MCP server。
可搭配 Claude Code 或任何支援 MCP 的用戶端使用。
提供的工具
| 工具 | 說明 |
|---|---|
ghostty_version |
顯示 Ghostty 版本與建置資訊 |
ghostty_search_config_docs |
用關鍵字搜尋設定文件 |
ghostty_get_config_option |
取得特定設定項的完整文件(支援模糊匹配) |
ghostty_show_current_config |
顯示目前生效的設定(可只看修改項) |
ghostty_validate_config |
驗證設定檔語法 |
ghostty_list_fonts |
列出可用字型家族與字面 |
ghostty_list_themes |
列出可用主題(可篩選深色/淺色) |
ghostty_list_actions |
列出可綁定至快捷鍵的動作 |
ghostty_list_keybinds |
列出目前快捷鍵綁定 |
ghostty_list_colors |
列出具名顏色 |
ghostty_show_face |
查詢特定字元使用的渲染字型 |
環境需求
安裝方式
作為 Claude Code Plugin 安裝(推薦)
請參考 ghostty-config-plugin,一行指令即可安裝。
獨立 MCP Server
git clone https://github.com/shyuan/ghostty-config-mcp.git
cd ghostty-config-mcp
bun install
bun run build
在專案目錄的 .mcp.json 中加入:
{
"mcpServers": {
"ghostty-config": {
"command": "node",
"args": ["/path/to/ghostty-config-mcp/dist/index.js"]
}
}
}
授權條款
MIT
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。