開發者與 AI 接入
Tintdex 提供公開免費的 MCP 服務、Agent Skill 與 HTTP API,無需登入或配置密鑰,即可在 AI 編程助手或腳本中搜尋配色、調整 OKLCH 色值並產生各終端機設定檔。
MCP
採用遠端 Streamable HTTP 協議,無狀態且免鑒權。將下方設定片段新增至對應客戶端即可使用。
服務地址: https://tintdex.afengim.com/mcp
建議做法:複製提示詞發給目前使用的 AI 助手。助手會先檢查是否具備本機設定檔的寫入權限,可寫入時自動完成配置,不可寫入時列出對應的手動操作步驟
手動配置
Claude Code
claude mcp add --transport http --scope user tintdex https://tintdex.afengim.com/mcpCursor · ~/.cursor/mcp.json
{
"mcpServers": {
"tintdex": {
"url": "https://tintdex.afengim.com/mcp"
}
}
}
VS Code · ~/.copilot/mcp-config.json
{
"mcpServers": {
"tintdex": {
"type": "http",
"url": "https://tintdex.afengim.com/mcp"
}
}
}
Codex · CLI
codex mcp add tintdex --url https://tintdex.afengim.com/mcpCodex · ~/.codex/config.toml
[mcp_servers.tintdex]
url = "https://tintdex.afengim.com/mcp"
Skill
提供標準的 SKILL.md 技能檔案,兼容 Claude Code、Codex、Cursor、GitHub Copilot、Kiro 等支援 Agent Skills 的客戶端。下載後儲存至 skills 目錄下的 tintdex/SKILL.md 即可。
建議做法:複製提示詞發給目前使用的 AI 助手。助手會先檢查是否具備本機設定檔的寫入權限,可寫入時自動完成配置,不可寫入時列出對應的手動操作步驟
HTTP API
遵循 OpenAPI 3.1 規範的公開 JSON 介面。可透過 locale 參數指定配色摘要與安裝說明的返回語言(預設為英語)。
| 方法 | 路徑 | 說明 |
|---|---|---|
| GET | /api/v1/schemesSearch color schemes | Search color schemes |
| GET | /api/v1/schemes/{slug}Get a scheme | Get a scheme |
| GET | /api/v1/schemes/{slug}/configs/{format}Render a config file | Render a config file |
| GET | /api/v1/schemes/{slug}/configs/{format}/promptSetup prompt for a terminal or editor | Setup prompt for a terminal or editor |
| POST | /api/v1/palettes/adjustAdjust a palette in OKLCH | Adjust a palette in OKLCH |
| GET | /api/v1/formatsList export formats | List export formats |
| GET | /api/v1/categoriesList categories | List categories |
| GET | /api/v1/familiesList families | List families |
| GET | /api/v1/terminalsList terminals | List terminals |
curl
curl -sS "https://tintdex.afengim.com/api/v1/schemes?q=dracula"