Skip to main content
Glama

@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

  1. Create an API key at dev.magicly.ai → API Keys.

  2. 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.

Related MCP server: Gemini Image Gen MCP Server

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

Env

Default

Description

MAGICLY_API_KEY

Required. Your developer API key (sk_live_…).

MAGICLY_API_URL

https://api.magicly.ai/v1

API 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
Install Server
A
license - permissive license
A
quality
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Retomagic-work/rtm-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server