Skip to main content
Glama

Spotify MCP Server

__init__.py544 B
import signal import sys from .fastmcp_server import mcp def main() -> None: """Main entry point for the package.""" # Handle SIGPIPE gracefully (when client disconnects) signal.signal(signal.SIGPIPE, signal.SIG_DFL) try: mcp.run() except BrokenPipeError: # Handle broken pipe gracefully when client disconnects sys.exit(0) except KeyboardInterrupt: # Handle Ctrl+C gracefully sys.exit(0) # Optionally expose other important items at package level __all__ = ["main", "mcp"]

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/jamiew/spotify-mcp'

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