Skip to main content

The mcp server of Mureka.ai

Project description

export

Discord Community Twitter PyPI

Official Mureka Model Context Protocol (MCP) server that enables interaction with powerful lyrics, song and bgm generating APIs. This server allows MCP clients like Claude Desktop, OpenAI Agents and others to generate lyrics, song and background music(instrumental).

Quickstart with Claude Desktop

  1. Get your API key from Mureka.
  2. Install uv (Python package manager), install with curl -LsSf https://astral.sh/uv/install.sh | sh or see the uv repo for additional install methods.
  3. Go to Claude > Settings > Developer > Edit Config > claude_desktop_config.json to include the following:
{
    "mcpServers": {
        "Mureka": {
            "command": "uvx",
            "args": [
                "mureka-mcp"
            ],
            "env": {
                "MUREKA_API_KEY": "<insert-your-api-key-here>",
                "MUREKA_API_URL": "https://api.mureka.ai",
                "TIME_OUT_SECONDS":"300"
            }
        }
    }
}

Then restart the Claude app and see 4 MCP tools available in the window, indicating successful loading

Optional features

You can add the TIME_OUT_SECONDS environment variable to the claude_desktop_config.json to set the timeout period for song or bgm generation waiting(Default 60s).

Example usage

⚠️ Warning: Mureka credits are needed to use these tools. Try asking Claude:

  • "Please create a song for my daughter Jessica to wish her a happy birthday and play it"
  • "Please generate lyrics about Christmas"
  • "Please generate a song based on the lyrics just now"
  • "Please generate background music suitable for playing in the coffee shop"

bgm 1 download

bgm 2 download

Troubleshooting

Logs when running with Claude Desktop can be found at:

  • Windows: %APPDATA%\Claude\logs\mcp-server-Mureka.log
  • macOS: ~/Library/Logs/Claude/mcp-server-Mureka.log

Quickstart with Openai agents sdk

Install Agents SDK

pip install openai-agents

Run example: openapi_agents_example/main.py

Key is required to be filled in:

MUREKA_API_KEY = "<insert-your-api-key-here>"

After running, you can see the composition process in the console

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mureka_mcp-0.0.13.tar.gz (8.1 kB view details)

Uploaded Source

File details

Details for the file mureka_mcp-0.0.13.tar.gz.

File metadata

  • Download URL: mureka_mcp-0.0.13.tar.gz
  • Upload date:
  • Size: 8.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.11

File hashes

Hashes for mureka_mcp-0.0.13.tar.gz
Algorithm Hash digest
SHA256 af873ab6b9475eb8e06025d83755ff51232b36f723b4e035700abadaf39d0b4e
MD5 61f27e7070737cb6c7be6a1bd9111cb2
BLAKE2b-256 2ca58054850c87449f4e874cee5db7542818b80fdd606067102707a30d8cf0c6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page