@mysnapface/mcp
v0.2.0
Published
MCP server for the MySnapFace public API
Maintainers
Readme
@mysnapface/mcp
Publishable stdio MCP server for the MySnapFace public API.
Scope
V1 exposes the full MySnapFace public API surface as MCP tools:
list_charactersget_charactergenerate_character_imageedit_imageupscale_imagegenerate_videoclone_videogenerate_voice_noteadd_video_voice_overlaygenerate_image_carouselsubmit_face_swapget_face_swap_batch_statusget_job_statusget_openapi_spec
All tools call the existing public API under /api/public/v1, so they reuse the same API keys, scopes, entitlements, and rate limits already implemented in the app.
Install
Run directly with npx:
npx -y @mysnapface/mcpOr install globally:
npm install -g @mysnapface/mcp
mysnapface-mcpEnvironment variables
Required:
MYSNAPFACE_PUBLIC_API_KEY
Optional:
MYSNAPFACE_PUBLIC_API_BASE_URL
Legacy CYOP_PUBLIC_API_KEY and CYOP_PUBLIC_API_BASE_URL are still accepted for local compatibility.
MYSNAPFACE_PUBLIC_API_BASE_URL should include the public API version path. By default the package uses https://app.mysnapface.com/api/public/v1.
Example:
export MYSNAPFACE_PUBLIC_API_BASE_URL="https://app.mysnapface.com/api/public/v1"
export MYSNAPFACE_PUBLIC_API_KEY="<key_id.secret>"
npx -y @mysnapface/mcpFor local development against a local app server:
export MYSNAPFACE_PUBLIC_API_BASE_URL="http://127.0.0.1:3001/api/public/v1"
export MYSNAPFACE_PUBLIC_API_KEY="<key_id.secret>"
npx -y @mysnapface/mcpThe server exits immediately on startup if MYSNAPFACE_PUBLIC_API_KEY is missing.
Local development
From the repository root:
pnpm run mcp:creatorsOr from this package:
pnpm devNotes
- Most media submission tools are asynchronous and return a queued
job_idorbatch_id. - Use
get_job_statusto poll image, video, edit, upscale, voice-overlay, and carousel jobs. - Use
get_face_swap_batch_statusto poll face swap batches. generate_voice_noteis synchronous and returns anaudio_url.- For local development, start the creators app first if you point
MYSNAPFACE_PUBLIC_API_BASE_URLathttp://127.0.0.1:3001/api/public/v1.
