
cyyprezz/krita-codex-mcp
Developer tools이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
Windows/Linux를 위한 Secure Local Model Context Protocol (MCP) 서버를 통해 OpenAI Codex에서 Krita를 제어하십시오
개요
Windows 및 Linux 용 안전한 로컬 모델 Context Protocol (MCP) 서버를 통해 OpenAI Codex에서 Krita를 제어하십시오. PyPI 패키지 · GitHub 릴리스 · Windows 설치 가이드 · Linux 설치 가이드 · Codex 및 MCP 호환성 Codex를 검사하고 제어 할 수있는 로컬 MCP 서버는 작고 정통 다리를 통해 Krita를 제어합니다. MCP 프로세스는 STDIO를 사용합니다. Krita Python 플러그인은 127.0.0.1에서만 들을 수 있으며 공유 Bearer 토큰을 검증하고, 모든 Krita API 통화를 Qt의 주요 스레드로 파견합니다. Windows는 원래 지원되는 플랫폼입니다; 리눅스 지원은 실험적입니다. 두 플랫폼은 기능 기반 런타임 호환성 검사를 사용합니다. Krita 5.3.2.1 Windows에서 테스트 된 빌드, 하드 버전 요구 사항이 아닙니다. 서버 deliberately micro-tools의 큰 컬렉션 대신 cohesive 도구의 작은 세트를 노출: 다리에는 임의 파이썬 실행 도구가 없으며 직접 픽셀 그림이 떨어지지 않습니다.
개요(AI 번역)
OpenAI Codex의 제어 Krita 안전한 로컬 Windows 및 Linux용 Context Protocol (MCP) 서버.
PyPI 패키지 · GitHub 출시 · Windows 설치 가이드 · Linux 설치 가이드 · Codex 및 MCP 호환성
Codex를 검사하고 제어 할 수있는 로컬 MCP 서버,
정통 다리. MCP 프로세스는 STDIO를 사용합니다. Krita Python 플러그인은 만 듣습니다.
127.0.0.1, 공유 Bearer 토큰을 검증하고, 모든 Krita API 호출을 Qt의 메인으로 파견
스레드.
Windows는 원래 지원되는 플랫폼입니다; 리눅스 지원은 실험적입니다. 두 플랫폼은 기능 기반 런타임 호환성 검사를 사용합니다. Windows에서 Krita 5.3.2.1는 시험된 구조, 단단한 버전 필요조건 아닙니다. 서버 deliberately micro-tools의 큰 컬렉션 대신 cohesive 도구의 작은 세트를 노출:
| 도구 | 용도 |
|—|||
| krita_state | 능동형 문서, 캔버스/컬러 공간, UUID, 능동층 및 현재 그림 상태의 리큐브 레이어 트리 |
| krita_preview | 전체-캔버스 또는 픽셀-프리미엄 작물 PNG는 MCP 이미지 컨텐츠로 직접 반환 |
| krita_canvas | 샘플 색상, 크기, 스케일, 작물, 회전 또는 플립; 래스터 레이어 가져 오기 |
이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.
README
원문 README의 일부입니다. 원문 보기.
Krita Codex MCP Server
Control Krita from OpenAI Codex through a secure local Model Context Protocol (MCP) server for Windows and Linux.
PyPI package · GitHub releases · Windows installation guide · Linux installation guide · Codex and MCP compatibility
A local MCP server that lets Codex inspect and control Krita through a small,
authenticated bridge. The MCP process uses STDIO. The Krita Python plugin listens only on
127.0.0.1, validates a shared bearer token, and dispatches every Krita API call to Qt’s main
thread.
Windows is the original supported platform; Linux support is experimental. Both platforms use a capability-based runtime compatibility check. Krita 5.3.2.1 on Windows is a tested build, not a hard version requirement. The server deliberately exposes a small set of cohesive tools instead of a large collection of micro-tools:
| Tool | Purpose |
|---|---|
krita_state |
Active document, canvas/color space, recursive layer tree with UUIDs, active layer and current painting state |
krita_preview |
Whole-canvas or pixel-precise cropped PNG returned directly as MCP image content |
krita_canvas |
Sample colors; resize, scale, crop, rotate or flip; import editable raster layers |
krita_edit |
Create/refine/move selections; native copy, cut, paste, selection-to-layer, fill and clear |
krita_document |
Inspect runtime compatibility; list, create, open, activate, save and close documents |
krita_layers |
Read/edit the layer tree, safely reparent, and transform layers by stable UUID |
krita_history |
Read undo/redo state and execute bounded undo or redo steps |
krita_brush |
Read/set native brush state and search installed Krita presets |
krita_paint_path |
Pressure-aware line segments through Krita’s native Node.paintLine API and active brush preset |
krita_draw |
Native preset-backed lines, open/closed paths, polygons, rectangles and ellipses |
krita_color |
KRA-backed project palettes, Krita palette swatches, color replacement and safe correction filters |
krita_asset |
Export layer PNGs plus Unity-oriented animation, tileset and named-region packages with direct previews |
krita_save_export |
Save KRA and export PNG beneath configured roots only |
Codex -> local STDIO MCP process -> authenticated 127.0.0.1 HTTP bridge
-> queued, timeout-aware Qt main-thread dispatch -> Krita Python API
The bridge has no arbitrary Python execution tool and no direct pixel painting fallback. Actual
설치
uvx --from "krita-codex-mcp==0.2.2"