New:Socket for Asana Is Now Available.Learn more
Get Started

@retomagic/mcp

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@retomagic/mcp

MCP server for the Magicly image & video generation API

latest
Source
npmnpm
Version
0.1.0
Version published
Maintainers
1
Created
Source

@retomagic/mcp

An MCP server for the Magicly image & video generation API. Lets any MCP client (Claude Desktop, IDEs, agents) generate media through your Magicly developer API key.

Setup

  • Create an API key at dev.magicly.ai → API Keys.
  • Add the server to your MCP client. For Claude Desktop (claude_desktop_config.json):
{
  "mcpServers": {
    "magicly": {
      "command": "npx",
      "args": ["-y", "@retomagic/mcp"],
      "env": { "MAGICLY_API_KEY": "sk_live_..." }
    }
  }
}

Restart the client. That's it.

Tools

  • list_models — list available models with id, media type, price ($) and inputs.
  • generate — generate an image/video: { model, prompt, aspect_ratio?, size?, seconds?, seed?, image? }. Creates a prediction and waits for the result, returning the output URL(s). Pass wait: false to return immediately with an id to poll.
  • get_prediction — fetch a prediction's status/output by id.

Config

EnvDefaultDescription
MAGICLY_API_KEYRequired. Your developer API key (sk_live_…).
MAGICLY_API_URLhttps://api.magicly.ai/v1API base URL (override for staging).

Billing is metered in credits (1000 credits = $1) against your organization's balance. See dev.magicly.ai for pricing, keys and usage.

Development

npm install
npm run build        # → dist/
MAGICLY_API_KEY=sk_live_... npm start

Keywords

mcp

FAQs

Package last updated on 14 Jul 2026

Related posts