Logo vun MCP Server Manifest Plugin

MCP Server Manifest Plugin

Communautéit
tacyan

The Universal MCP Server (Rust) exposes tools for Canva workflows—and Affinity Photo/Designer/Publisher automation—designed for natural language usage in MCP-compatible clients.

Editeurtacyan
RepositoryAffinityMCP
SproochRust
Forks
5
Stären
28
Disponibel Tools
0
Transporttypstdio
Kategorien
Linken
  • Tools mat KI-Workflows verbannen

    MCP Server Manifest Plugin stellt MCP-Funktioune bereit, déi vu kompatibele KI-Clienten a KI-Agente kënne benotzt ginn.

  • 0 disponibel Tools

    Kuckt Iech déi opruffbar Aktiounen hei drënner un, mat Nimm a Beschreiwungen, wa se vum Server geliwwert ginn.

  • Konfiguratioun fir ze kopéieren

    Benotzt d'Installatiounsbeispiller, fir dëse Server an Ärem bevorzugte MCP-Client ze konfiguréieren.

  • Indicateure fir Open Source

    28 Stären an 5 Forks aus dem verlinkte Repository.

AffinityMCP

The Universal MCP Server (Rust) exposes tools for Canva workflows—and Affinity Photo/Designer/Publisher automation—designed for natural language usage in MCP-compatible clients.

Features

  • 🎨 Natural Language Control: Control Affinity applications using natural language commands
  • 🖼️ File Operations: Open files, create new documents, export in various formats
  • ⚡ 16-Parallel Processing: Process up to 16 files simultaneously for maximum efficiency
  • 🔧 Advanced Tools: Apply filters, get document info, and more
  • 🚀 Easy Setup: Simple setup for beginners with comprehensive documentation
  • 🌐 Cross-Platform Ready: Currently macOS (AppleScript), Windows support planned

Quick Start

For beginners, see SETUP_GUIDE.md for detailed step-by-step instructions.

Quick installation:

bash
# Build
cargo build --release
cp target/release/affinity-mcp dist/

# Use with Cursor
# Add to Cursor MCP settings:
{
  "mcpServers": {
    "affinity-mcp": {
      "command": "npx",
      "args": ["affinity-mcp"],
      "autoStart": true
    }
  }
}

Installation

Prerequisites

  • Node.js 18+ (for the thin npx wrapper)

  • Rust 1.76+ / Cargo (for local builds)

  • Set AFFINITY_MCP_API_KEY if using Canva Connect/MCP endpoints.

Get an API key

  • If your tools require Canva APIs, obtain credentials from the Canva developer console or MCP server guidance. Otherwise, you can skip this step.

Build locally

bash
cd /path/to/affinity-mcp
cargo build --release
# copy target/release/affinity-mcp -> ./dist/
cp target/release/affinity-mcp dist/

Setup: Claude Code (CLI)

Use this one-liner (replace with your real values):

bash
claude mcp add AffinityMCP -s user -e AFFINITY_MCP_API_KEY="sk-your-real-key" -- npx affinity-mcp

To remove:

bash
claude mcp remove AffinityMCP

Setup: Cursor (Do not commit .cursor/mcp.json here)

Create the config in your client:

json
{
  "mcpServers": {
    "affinity-mcp": {
      "command": "npx",
      "args": ["affinity-mcp"],
      "env": { "AFFINITY_MCP_API_KEY": "sk-your-real-key" },
      "autoStart": true
    }
  }
}

Other Clients and Agents

bash
code --add-mcp '{"name":"affinity-mcp","command":"npx","args":["affinity-mcp"],"env":{"AFFINITY_MCP_API_KEY":"sk-your-real-key"}}'

Follow the MCP install guide and reuse the standard config above.

  • Command: npx
  • Args: ["affinity-mcp"]
  • Env: AFFINITY_MCP_API_KEY=sk-your-real-key
  • Type: STDIO
  • Command: npx
  • Args: ["affinity-mcp"]
  • Enabled: true

~/.config/opencode/opencode.json:

json
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "affinity-mcp": {
      "type": "local",
      "command": ["npx", "affinity-mcp"],
      "enabled": true
    }
  }
}

Add a new MCP and paste the standard JSON config.

See docs and reuse the standard config above.

Setup: Codex (TOML)

Example (Serena):

toml
[mcp_servers.serena]
command = "uvx"
args = ["--from", "git+https://github.com/oraios/serena", "serena", "start-mcp-server", "--context", "codex"]

This server (minimal):

toml
[mcp_servers.affinity-mcp]
command = "npx"
args = ["affinity-mcp"]

# Optional environment variables:
# AFFINITY_MCP_API_KEY = "sk-your-real-key"
# MCP_NAME = "affinity-mcp"

Configuration (Env)

  • AFFINITY_MCP_API_KEY: Canva API key or token (if applicable)
  • MCP_NAME: Server name override (default: affinity-mcp)

If your tools are purely local, no API keys are required.

Available Tools

Affinity Tools (Natural Language Support)

All Affinity tools support natural language commands. Examples:

  • "Open the file /path/to/image.jpg in Affinity Photo"
  • "Create a new document with width 1920 and height 1080"
  • "Export the current document as PDF to /path/to/output.pdf"

affinity.open_file

Open a file in Affinity application (auto-detects app from file extension).

  • inputs: { "path": string, "app"?: "Photo"|"Designer"|"Publisher" }
  • outputs: { "opened": boolean, "app": string, "path": string }

affinity.create_new

Create a new Affinity document.

  • inputs: { "app": "Photo"|"Designer"|"Publisher", "width"?: number, "height"?: number }
  • outputs: { "created": boolean, "app": string }

affinity.export

Export the currently open document.

  • inputs: { "path": string, "format": "pdf"|"png"|"jpg"|"tiff"|"svg", "quality"?: number }
  • outputs: { "exported": boolean, "path": string }

affinity.apply_filter

Apply a filter to the current document.

  • inputs: { "filter_name": string, "intensity"?: number }
  • outputs: { "applied": boolean, "filter_name": string }

affinity.get_active_document

Get information about the currently active document.

  • inputs: {}
  • outputs: { "is_open": boolean, "name"?: string, "path"?: string }

affinity.close_document

Close the currently open document.

  • inputs: {}
  • outputs: { "closed": boolean }

affinity.batch_open_files ⚡ 16-Parallel

Open multiple files simultaneously (up to 16 files in parallel).

  • inputs: { "paths": string[], "app"?: "Photo"|"Designer"|"Publisher" }
  • outputs: { "success_count": number, "failure_count": number, "results": OpenFileResult[] }

Natural language example: "Open multiple files: /path/to/image1.jpg, /path/to/image2.jpg, /path/to/image3.jpg"

affinity.batch_export ⚡ 16-Parallel

Export multiple documents simultaneously (up to 16 exports in parallel).

  • inputs: { "exports": ExportParams[] }
  • outputs: { "success_count": number, "failure_count": number, "results": ExportResult[] }

Natural language example: "Export all open documents as PDF files"

Canva Tools

canva.create_design

  • inputs: { "title": string, "template_id"?: string, "width"?: number, "height"?: number }
  • outputs: { "design_id": string, "url"?: string }

Example Usage

Natural Language Commands

In Cursor or other MCP-compatible clients, you can use natural language:

Example 1: Open a file

User: "Open /Users/john/Desktop/image.jpg in Affinity Photo"
AI: [Calls affinity.open_file with path="/Users/john/Desktop/image.jpg", app="Photo"]

Example 2: Create and export

User: "Create a new Affinity Photo document with size 1920x1080, then export it as PDF to my Desktop"
AI: [Calls affinity.create_new, then affinity.export]

Example 3: Get document info

User: "What document is currently open?"
AI: [Calls affinity.get_active_document]

Example 4: Batch operations (16-parallel)

User: "Open these 5 images simultaneously: /path/to/img1.jpg, /path/to/img2.jpg, /path/to/img3.jpg, /path/to/img4.jpg, /path/to/img5.jpg"
AI: [Calls affinity.batch_open_files with paths array]

Example 5: Batch export (16-parallel)

User: "Export all open documents as PDF files to the Desktop"
AI: [Calls affinity.batch_export with multiple export configurations]

Direct Tool Invocation (MCP tool call)

json
{
  "type": "tool",
  "name": "affinity.open_file",
  "arguments": {
    "path": "/path/to/image.jpg",
    "app": "Photo"
  }
}

Documentation

  • SETUP_GUIDE.md: Beginner-friendly setup guide with step-by-step instructions
  • SPEC.md: Technical specification (Japanese)
  • README.md: This file (English documentation)

For complex schemas, see src/tools/*.rs.

Name Consistency & Troubleshooting

Always use CANONICAL_ID (affinity-mcp) for identifiers and keys.

Use CANONICAL_DISPLAY (AffinityMCP) only for UI labels.

Do not mix legacy keys after registration.

Consistency Matrix

  • npm package name → affinity-mcp
  • Binary name → affinity-mcp
  • MCP server name → affinity-mcp
  • Env default MCP_NAME → affinity-mcp
  • Client registry key → affinity-mcp
  • UI label → AffinityMCP

Conflict Cleanup

Remove stale keys and re-add with affinity-mcp only.

Cursor is UI-configured only; this repo intentionally omits .cursor/mcp.json.

Installatioun

TypingMind
{
  "mcpServers": {
    "affinitymcp": {
      "command": "npx",
      "args": [
        "affinity-mcp"
      ]
    }
  }
}

MCP Server Manifest Plugin MCP mat verschiddene KI-Modeller benotzen

TypingMind verbënnt MCP-Tools um Niveau vum Aarbechtsberäich. Soubal MCP Server Manifest Plugin verbonnen ass, kënnt Dir et mat verschiddene KI-Modeller an TypingMind benotzen, amplaz et fir all Modell separat anzeriichten. Dës MCP-Integratioun leeft lokal iwwer den TypingMind-MCP-Connector op Ärem Apparat.

Ariichtungsuleedung fir de lokale Connector ze benotzen

Benotzt dës Optioun, wann den MCP-Server Zougrëff op lokal Fichieren, Appen oder privat Ressourcen op Ärem Computer brauch.

1

D'MCP-Astellungen opmaachen

Gitt an TypingMind op „Astellungen“, „Erweidert Astellungen“, dann op „Model Context Protocol“ a wielt „Connector ariichten“.

  1. Maacht TypingMind an Ärem Browser op.
  2. Klickt op d'Astellungssymbol.
  3. Gitt op „Erweidert Astellungen“.
  4. Maacht d'Sektioun „Model Context Protocol“ op.
  5. Klickt op „Connector ariichten“ a wielt „Dësen Apparat“.
Ariichtungsbildschierm vum TypingMind-MCP-Connector mat „Dësen Apparat“ ausgewielt
2

De Connector-Befeel ausféieren

Wielt „Dësen Apparat“, kopéiert de Befeel aus TypingMind a féiert en am Terminal aus. Loosst de Prozess lafen, wärend Dir MCP benotzt.

  1. Kopéiert den Ariichtungsbefeel, deen TypingMind uweist.
  2. Maacht Terminal op macOS oder Windows Terminal op Windows op.
  3. Pescht de Befeel an a féiert en aus.
  4. Bestätegt d'Installatioun vum Package, wann den Terminal Iech freet, ob Dir weiderfuere wëllt.
  5. Loosst den Terminal an de Prozess doranner lafen, wärend Dir MCP-Tools benotzt.
3

MCP Server Manifest Plugin als Server derbäisetzen

Wann de Connector-Status „Prett“ ass, klickt op „Serveren änneren“ a pescht d'MCP-Serverkonfiguratioun an.

  1. Waart, bis de Connector-Status „Prett“ weist.
  2. Klickt op „Serveren änneren“.
  3. Pescht d'MCP-Serverkonfiguratioun vu MCP Server Manifest Plugin an.
  4. Späichert d'Serverlëscht.
  5. Aktualiséiert, wann Dir kontrolléiere wëllt, ob de Connector nach ëmmer prett ass.
MCP-Astellunge vun TypingMind mat aktivem Server an dem Knäppchen „Serveren änneren“
{
  "mcpServers": {
    "affinitymcp": {
      "command": "npx",
      "args": [
        "-y",
        "affinity-mcp"
      ]
    }
  }
}
4

D'Verbindung mat verschiddene Modeller benotzen

Späichert d'Serverlëscht, maacht „Plugins“ op an aktivéiert d'MCP-Tools vu MCP Server Manifest Plugin. Wielt dann e belibegen ënnerstëtzte KI-Modell an TypingMind a benotzt d'Tools am Chat oder weist se engem KI-Agent zou.

  1. Maacht d'Säit „Plugins“ an TypingMind op.
  2. Aktivéiert d'MCP-Tools vu MCP Server Manifest Plugin.
  3. Start e Chat a wielt de KI-Modell, deen Dir benotze wëllt.
  4. Benotzt d'MCP-Tools am Chat oder weist se engem KI-Agent zou.
  5. Wiesselt bei Bedarf op en anere KI-Modell, ouni MCP nei ze verbannen.
TypingMind-Chat mat aktivéierte MCP-Tools an engem ausgewielte KI-Modell
Hëlleft Dir mir bei dëser Aufgab mat MCP Server Manifest Plugin?
MCP Server Manifest Plugin
Jo. Ech hunn et gelies.
Dat hunn ech mat MCP Server Manifest Plugin fonnt.

Heefeg gestallte Froen

Fir wat gëtt de MCP-Server MCP Server Manifest Plugin benotzt?

MCP Server Manifest Plugin ass e MCP-Server, deen et kompatibele KI-Clienten erlaabt, sech mat externen Tools a Kontext ze verbannen. An TypingMind kënnt Dir dëse MCP-Server eemol derbäisetzen a seng Tools an Ärem KI-Aarbechtsberäich zur Verfügung stellen.

Kann ech MCP Server Manifest Plugin MCP mat méi KI-Modeller an TypingMind benotzen?

Jo. TypingMind verbënnt MCP-Tools um Niveau vum Aarbechtsberäich. Sou kënnt Dir MCP Server Manifest Plugin mat verschiddene KI-Modeller wéi Claude, ChatGPT, Gemini oder anere Modeller benotzen, déi Dir an TypingMind konfiguréiert hutt, ouni de MCP-Server fir all Modell separat anzeriichten.

Firwat MCP Server Manifest Plugin MCP mat TypingMind benotzen?

TypingMind ass eng vun de beschte Benotzeruewerfläche fir LLM-Chat, well et méi KI-Modeller, Prompts, Plugins, KI-Agenten, API-Schlësselen a MCP-Tools an engem Aarbechtsberäich zesummebréngt. Wann MCP Server Manifest Plugin verbonnen ass, kënnt Dir seng MCP-Tools mat Äre bevorzugte Modeller benotzen a gläichzäiteg Är Chataarbecht an TypingMind organiséieren.

Wéi verbannen ech MCP Server Manifest Plugin MCP mat TypingMind?

MCP Server Manifest Plugin leeft iwwer de lokale MCP-Connector vun TypingMind. Dat eegent sech am beschten, wann de MCP-Server Zougrëff op lokal Fichieren, Desktop-Apps, Kommandozeilen-Tools oder privat Ressourcen op Ärem Computer brauch.

Wéi eng Tools stellt MCP Server Manifest Plugin MCP an TypingMind zur Verfügung?

MCP Server Manifest Plugin stellt MCP-Funktiounen zur Verfügung, déi Dir op der Plugins-Säit vun TypingMind aktivéiere kënnt, fir se am Chat ze benotzen oder KI-Agenten zouzeweisen.

Muss ech meng API-Schlëssele mat TypingMind deelen, fir MCP Server Manifest Plugin MCP ze benotzen?

Nee. TypingMind setzt op lokal Veraarbechtung a léisst Iech d'Kontroll iwwer Är Modellubidder, API-Schlësselen, Prompts a MCP-Konfiguratioun. Wann MCP Server Manifest Plugin eng Authentifizéierung verlaangt, setzt déi néideg Headeren, OAuth-Astellungen oder lokal Konfiguratioun fir dee MCP-Server derbäi, wann Dir d'Verbindung erstallt.

Änlech MCP-Serveren

All weisen

Elo Ären eegene KI-Workspace ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇