Token导航 LogoToken导航TokenDH.com
Ghostty Config MCP logo
开发工具未说明官方级别未说明来源级核验

Ghostty Config MCP

MCP Server

Ghostty终端模拟器的配置管理MCP服务器,提供版本查询、配置搜索、验证等功能,适用于开发环境配置管理。

工具数

11

提示词数

0

GitHub Stars

2

资源数

0
开发工具TypeScriptClaude配置管理Claude

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

作者 / 组织

shyuan

提供方

shyuan

最后核验

2026/5/17 20:22

快速接入

先看主来源和安装命令,再打开仓库或文档;下面只保留这个条目的关键接入事实。

详细介绍

ghostty-config-mcp

MCP server for managing Ghostty terminal emulator configuration.

Works with Claude Code and any MCP-compatible client.

Tools

ToolDescription
ghostty_versionShow installed Ghostty version and build info
ghostty_search_config_docsSearch config documentation by keyword
ghostty_get_config_optionGet full docs for a specific config key (supports fuzzy matching)
ghostty_show_current_configShow active configuration (optionally changes only)
ghostty_validate_configValidate config file for syntax errors
ghostty_list_fontsList available font families and faces
ghostty_list_themesList available themes (filterable by dark/light)
ghostty_list_actionsList actions bindable to keybindings
ghostty_list_keybindsList current keybindings
ghostty_list_colorsList named colors
ghostty_show_faceShow which font face renders specific characters

Requirements

  • Ghostty installed and available in PATH
  • Node.js 18+ (or Bun for development)

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.ts with a 10s default timeout
  • Uses node:child_process for 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查詢特定字元使用的渲染字型

環境需求

  • Ghostty 已安裝且在 PATH 中
  • Node.js 18+(開發用可改用 Bun

安裝方式

作為 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

目录标签

目录标签

开发工具TypeScriptClaude配置管理终端模拟器本地部署MCP服务器

支持客户端

Claude

接入字段

传输方式(transport,传输协议)

未说明

鉴权方式(authType,认证方式)

none

工具数量(toolCount,工具数)

11

资源数量(resourceCount,资源数)

0

提示词数量(promptCount,提示词数)

0

权限和风险

未说明none部署方式未说明

接入前请确认传输方式、认证方式和部署位置,并根据实际工具能力限制访问范围。

安装前确认

不要直接授予不必要的文件、网络或账号权限;先核对安装命令和配置内容。

仍需确认:installCommand

来源信息

继续浏览同类 MCP