SI

shriinivas/inkmcp

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

79 stars 12 forks 품질 62 트렌드 15AGPL-3.0

Inkscape MCP Server - 모델 Context Protocol을 통해 AI Assistant를 통해 Inkscape 제어

개요

자연적인 언어 지시를 통해 Inkscape의 살아있는 통제를 가능하게 하는 모형 Context 의정서 (MCP) 서버. 이것은 Claude와 같은 AI 조수가 실시간 벡터 그래픽을 직접 조작 할 수 있습니다. - 🚀 - 실행 Inkscape 문서의 직접 조작 - ⚡ - 실시간 통신 - Real - 통합 구문과 SVG 요소 만들기 - Se️ - 자동 ID 충돌 처리와 Semantic 조직 - ar - 라이브 컨텍스트에서 arbitrary Inkex 코드를 실행 - XVideos️ - viewport 캡처와 시각적 피드백 - - Linux 별 D-Bus 사용 - : TCP 소켓 / 이름 파이프를 통해 Cross-platform 지원 가능 1. 릴리스 페이지로 이동 2. 최신 릴리스 3.에서 inkmcp-extension.zip 다운로드 Inkscape 확장 디렉토리에 그것을 추출: Inkscape를 정상적으로 실행하십시오 - 확장은 메뉴에서 숨기고 D-Bus를 통해 접근할 수 있습니다. : AI 클라이언트가 연결되는 첫 번째 시간은 자동으로: - ~/에서 Python 가상 환경을 만듭니다.

개요(AI 번역)

자연적인 언어 지시를 통해 Inkscape의 살아있는 통제를 가능하게 하는 모형 Context 의정서 (MCP) 서버. 이것은 Claude와 같은 AI 조수가 실시간 벡터 그래픽을 직접 조작 할 수 있습니다.

특징

  • Live Instance Control - Inkscape 문서를 실행하는 직접 조작
  • D-Bus 통합** - 실시간 통신
  • ♨Universal Element Creation - 지정된 구문으로 SVG 엘리먼트 생성
  • Se️ Hierarchical Scene Management - 자동 ID 충돌 처리와 Semantic 조직
  • ar Python Code Execution - 라이브 컨텍스트의 arbitrary Inkex 코드를 실행
  • XVideos️ Screenshot Support - viewport 캡처와 시각적 피드백

플랫폼 지원

-⚠️ 현재 Linux 만 - Linux-specific인 D-Bus 사용 -** Cross Future**: TCP 소켓/named 파이프를 통해 Cross-platform 지원 가능

빠른 시작

1. 설치 (리눅스 전용)

  1. 출시 페이지로 이동
  2. 다운로드 inkmcp-extension.zip 최신 릴리스에서
  3. Inkscape 확장 디렉토리에 그것을 추출:

##2. 스크립트 실행

##3. 시작 Inkscape Inkscape를 정상적으로 실행하십시오 - 확장은 메뉴에서 숨기고 D-Bus를 통해 접근할 수 있습니다.

# # # 4.

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.

README

원문 README의 일부입니다. 원문 보기.

Inkscape MCP Server

A Model Context Protocol (MCP) server that enables live control of Inkscape through natural language instructions. This allows AI assistants like Claude to directly manipulate vector graphics in real-time.

Features

  • 🎯 Live Instance Control - Direct manipulation of running Inkscape documents
  • ⚡ D-Bus Integration - Real-time communication
  • 🚀 Universal Element Creation - Create any SVG element with unified syntax
  • 🏗️ Hierarchical Scene Management - Semantic organization with automatic ID collision handling
  • 📐 Python Code Execution - Run arbitrary inkex code in live context
  • 🖼️ Screenshot Support - Visual feedback with viewport capture

Platform Support

  • ⚠️ Currently Linux Only - Uses D-Bus which is Linux-specific
  • 🔮 Future: Cross-platform support possible via TCP sockets/named pipes

Quick Start

1. Installation (Linux Only)

  1. Go to the Releases page
  2. Download inkmcp-extension.zip from the latest release
  3. Extract it to your Inkscape extensions directory:
    cd ~/.config/inkscape/extensions/
    unzip ~/Downloads/inkmcp-extension.zip
    

2. Make Scripts Executable

cd ~/.config/inkscape/extensions/inkmcp
chmod +x run_inkscape_mcp.sh inkmcpcli.py inkscape_mcp_server.py main.py

3. Start Inkscape

Launch Inkscape normally - the extension is hidden from the menu and only accessible via D-Bus.

4. Connect with AI Tools

Auto-Setup: The first time an AI client connects, it will automatically:

  • Create Python virtual environment in ~/.config/inkscape/extensions/inkmcp/venv/
  • Install all required dependencies from requirements.txt
  • Start the MCP server

No manual setup required!

Claude Code

Edit your Claude configuration file:

# ~/.claude/claude-config.json
{
  "mcpServers": {
    "inkscape": {
      "command": "/home/USERNAME/.config/inkscape/extensions/inkmcp/run_inkscape_mcp.sh"
    }
  }
}

Anthropic Claude Desktop

Update Claude desktop app settings:

{
  "mcpServers": {
    "inkscape": {
      "command": "/home/USERNAME/.config/inkscape/extensions/inkmcp/run_inkscape_mcp.sh"
    }
  }
}

Google Gemini/Codex

For Gemini, edit settings file:

# ~/.gemini/settings.json
{
  "mcpServers": {
    "inkscape-mcp": {
      "command": "/home/USERNAME/.config/inkscape/extensions/inkmcp/run_inkscape_mcp.sh"
    }
  }
}

For Codex, edit configuration:

# ~/.codex/config.toml
[mcp_servers.inkscape-mcp]
command = "/home/USERNAME/.config/inkscape/extensions/inkmcp/run_inkscape_mcp.sh"

Usage Examples

With AI Assistant (Claude Code/Gemini/etc) - Requires Running Inkscape

"In Inkscape, draw a smooth sine wave starting at the left edge in the middle of the document and apply power stroke path effect to it"
GitHub에서 전체 README 보기

설치

This server does not publish a one-line install command.

Open the repository installation guide MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →

설정

{ "mcpServers": { "inkscape": { "command": "/home/USERNAME/.config/inkscape/extensions/inkmcp/run_inkscape_mcp.sh" } } }