Skip to main content
Glama

SeeAny Sun MCP

Dieses Verzeichnis enthält einen lokalen stdio-MCP-Server, der von MCP-Clients wie Codex, Claude Desktop, Cursor usw. aufgerufen werden kann.

Er unterstützt zwei Modi:

  • demo: Kein Schlüssel erforderlich; nutzt Produktbilder aus dem Repository für eine Offline-Simulation und ruft keine kostenpflichtige API auf.

  • live: Nach dem Setzen von SEEANY_API_KEY wird die Hauptseite https://api.seeany.com aufgerufen. Unterstützt werden Bild-Upload, intelligente Erstellung, Aufgaben-Polling, Download und KI-Verbesserung.

Umgebungsvariablen für die Authentifizierung

Einheitlich verwenden:

SEEANY_API_KEY=sk-sa-xxxxxxxx

Schreiben Sie den echten Schlüssel nicht in Git, Browser-Code oder Chat-Nachrichten. Kopieren Sie .env.example in Ihre lokale Umgebung und tragen Sie die Werte ein. Ohne Schlüssel wechselt der Dienst automatisch in den Demo-Modus; alternativ kann der Offline-Modus mit SEEANY_MCP_MODE=demo erzwungen werden.

Related MCP server: metalevel/snapix-mcp-server

Lokale Installation und Tests

cd mcp-server
npm install
npm run build
npm run smoke

Der Smoke-Test erzwingt den Demo-Modus und verursacht keine echten Kosten.

Falls Sie eine echte End-to-End-Abnahme durchführen möchten (diese verursacht Kosten auf dem Hauptkonto), stellen Sie sicher, dass ein neuer Schlüssel gesetzt wurde, und führen Sie dann aus:

npm run live-smoke

Codex verbinden

codex mcp add seeany-sun-mcp -- npx --yes seeany-sun-mcp

Als Codex-Plugin installieren (MCP + Skill)

Das Repository enthält außerdem ein Codex-Plugin-Manifest: Nach der Installation erhalten Sie sowohl die SeeAny-MCP-Tools als auch die Skill seeany-product-visuals für den Produktvisualisierungs-Workflow.

codex plugin marketplace add juin20260102-oss/seeany-sun-mcp --sparse .agents/plugins
codex plugin add seeany-sun-mcp@seeany

Nach der Installation starten Sie bitte eine neue Codex-Konversation; für echte Bildgenerierung muss weiterhin SEEANY_API_KEY in der lokalen Umgebung gesetzt sein. Wenn Sie nur die MCP-Tools benötigen, verwenden Sie den obigen Befehl codex mcp add.

Wenn Sie die echte API verwenden, setzen Sie SEEANY_API_KEY in derselben Umgebung, in der der MCP gestartet wird. Nach dem Verbinden empfiehlt es sich, zuerst seeany_get_capabilities aufzurufen und dann in der folgenden Reihenfolge:

  1. seeany_upload_asset (wenn ein Referenzbild vorhanden ist)

  2. seeany_refine_prompt (optional)

  3. seeany_generate_product_image

  4. seeany_wait_generation

  5. seeany_download_assets

MCP Inspector

npm run inspect

Aktuelle Live-API-Zuordnung

MCP-Tool

SeeAny API

seeany_upload_asset

POST /api/upload/image

seeany_refine_prompt

POST /api/prompt-tools/ai-refine

seeany_generate_product_image

POST /api/ai/smarttask, aiTypeId=113, aiType=smartImg

seeany_get_generation / seeany_wait_generation

GET /api/developer/task/status

Aufgaben verwenden standardmäßig den asynchronen Modus. Bild-/Videoaufgaben der Hauptseiten-API werden gemäß der Kontokonfiguration abgerechnet; seeany_quote_generation gibt nur einen Schätzwert zurück und zieht keine Kosten im Voraus ab.

SeeAny Skill

Das Repository enthält skills/seeany-product-visuals, um den Agenten anzuleiten, den MCP entsprechend dem vollständigen Ablauf „Referenzbild hochladen → Prompt verfeinern → Preis anfragen → generieren → abfragen → herunterladen“ aufzurufen. Das npm-Paket enthält ebenfalls dieses Skill-Verzeichnis.

npm-Paketname

Der aktuelle Paketname ist seeany-sun-mcp, geeignet für die Veröffentlichung als öffentliches Paket ohne Scope. Vor der offiziellen Veröffentlichung muss die Verfügbarkeit des Namens auf npm bestätigt werden; falls SeeAny bereits einen npm-Scope eingerichtet hat, kann auch zu @seeany/sun-mcp migriert werden.

Die einfachste Aufrufmethode nach der Veröffentlichung:

npx --yes seeany-sun-mcp

Vor der Veröffentlichung den Paketinhalt prüfen:

npm run pack:check

Automatische Tests und Veröffentlichung

GitHub Actions führt bei Push auf den main-Branch und bei Pull Requests mit Node.js 20, 22 und 24 Plugin-Validierung, MCP-Smoke-Test und npm-Paketprüfung durch.

Bei der Veröffentlichung einer neuen Version aktualisieren Sie zuerst die Versionen in package.json, package-lock.json und .codex-plugin/plugin.json synchron und erstellen dann einen Git-Tag mit derselben Version:

git tag v0.5.0
git push origin v0.5.0

release.yml überprüft, ob Tag und Paketversion übereinstimmen, und veröffentlicht anschließend über npm Trusted Publishing sowie erstellt ein GitHub Release. Vor der ersten Verwendung muss in den npm-Paketeinstellungen der GitHub-Actions-Trusted-Publisher hinzugefügt werden:

  • GitHub-Benutzer: juin20260102-oss

  • Repository: seeany-sun-mcp

  • Workflow: release.yml

  • Erlaubte Aktion: npm publish

Available Tools

11 tools
seeany_create_product_visualA

Execute a previously quoted product-visual plan, wait for its stored job, and download outputs. In live mode confirm_cost must be true. Reusing a plan_id resumes its recorded job instead of submitting another one.

Inputs: plan_id (required), confirm_cost (required), output_dir, timeout_seconds.

seeany_download_assetsA

Download completed SeeAny output images into a local directory and return their file paths.

Inputs: job_id (required), output_dir (required).

seeany_generate_product_imageB

Create an asynchronous SeeAny product-image task, then use seeany_wait_generation to receive results.

Inputs: prompt (required), count, model, use_case, +3 more.

seeany_get_accountA
Read-only

Show whether this MCP is using the local demo or the authenticated SeeAny API.

Inputs: no named parameters.

seeany_get_capabilitiesA
Read-only

List SeeAny image generation models, ratios, resolutions, and current execution mode.

Inputs: no named parameters.

seeany_get_generationA
Read-only

Get the latest status, progress, and output URLs for a SeeAny generation task.

Inputs: job_id (required).

seeany_plan_product_visualA
Read-only

Plan a complete product-visual job and estimate its cost without creating a paid generation task. Returns a plan_id for explicit execution.

Inputs: request (required), count, model, use_case, +4 more.

seeany_quote_generationA
Read-only

Estimate generation cost before creating a task. This is an estimate and does not reserve credits.

Inputs: count (required), model (required), use_case (required), resolution.

seeany_refine_promptB

Use SeeAny AI prompt refinement to turn a rough product-image request into a production-ready prompt.

Inputs: prompt (required), action, extra_context, reference_asset_ids.

seeany_upload_assetA

Upload a local product image to SeeAny and return an asset id and URL for later generation.

Inputs: file_path (required).

seeany_wait_generationA
Read-only

Poll a SeeAny generation task until it reaches a terminal state or the timeout expires.

Inputs: job_id (required), timeout_seconds.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.7/5.0

    Scored across 11 tools

    Disambiguation2/5

    Several tools overlap: seeany_plan_product_visual and seeany_quote_generation both estimate costs, while seeany_create_product_visual and seeany_generate_product_image both create generation jobs and handle waiting/downloading. The separate 'visual' and 'image' workflows are not clearly distinguished by descriptions, so an agent could easily pick the wrong one.

    Naming Consistency5/5

    All tools share the seeany_ prefix and follow a consistent verb_noun snake_case pattern (get_account, upload_asset, generate_product_image, wait_generation). There are no mixed conventions or unpredictable names.

    Tool Count4/5

    At 11 tools, the server is within a reasonable scope for an image-generation API client. It could be trimmed by consolidating overlapping quote/plan and create/generate tools, but the count is not excessive.

    Completeness4/5

    The core lifecycle is covered: asset upload, prompt refinement, cost estimation, job creation, status polling, waiting, and downloading outputs. Missing cancellation or asset listing are minor gaps, not dead ends.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers