Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MUSICMCP_API_KEYYesYour MusicMCP.AI API key
MUSICMCP_API_URLNoMusicMCP.AI API base URLhttps://www.musicmcp.ai/api
TIME_OUT_SECONDSNoTimeout for music generation in seconds600

Tools

Functions exposed to the LLM to take actions

NameDescription
generate_prompt_song

๐ŸŽผ Inspiration Mode: Generate songs based on simple text descriptions (AI automatically generates title, lyrics, style, etc.)

Use case: Use when users only provide simple song themes or emotional descriptions without detailed specifications. Example inputs: - "Help me generate a song about a peaceful morning" - "Want a song that expresses longing" - "Create music about friendship" โš ๏ธ COST WARNING: This tool makes an API call to MusicMCP.AI which may incur costs (5 credits per generation). Each generation creates 2 songs. Only use when explicitly requested by the user. Language Note: Pass the prompt in the user's input language. Args: prompt (str): Song theme or emotional description, 1-1200 characters instrumental (bool): Whether instrumental only (no lyrics) style (str, optional): Music style (e.g., "ambient", "pop", "rock"), default None Returns: Song information including download URLs
generate_custom_song

๐ŸŽต Custom Mode: Generate songs based on detailed song information (user specifies song name, lyrics, style, etc.)

Use case: Use when users provide detailed song information including song name, complete lyrics, and style. Example inputs: - "Song name: Summer of Cicada Shedding, Lyrics: [complete lyrics], style: folk" โš ๏ธ COST WARNING: This tool makes an API call to MusicMCP.AI which may incur costs (5 credits per generation). Each generation creates 2 songs. Only use when explicitly requested by the user. Language Note: Pass the title and lyrics in the user's input language. Args: title (str): Song title, required lyric (str, optional): Complete lyrics content, not required when instrumental is True tags (str, optional): Music style tags (e.g., 'pop', 'rock', 'folk') instrumental (bool): Whether instrumental only (no lyrics) Returns: Song information including download URLs
check_credit_balance

Check your credit balance.

check_api_health

Check the health status of the MusicMCP.AI API service.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

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/amCharlie/aimusic-mcp-tool'

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