Super Singularity MCP Server

Super Singularity MCP Server

Integrates Claude Desktop with Super Singularity's course creation API, enabling creation and management of courses with multiple card types (content, quiz, poll, form, video, audio, link), ElevenLabs text-to-speech generation, and Azure Blob Storage for audio hosting.

Category
Visit Server

README

Super Singularity MCP Server

A Model Context Protocol (MCP) server for integrating Claude Desktop with Super Singularity's course creation API, ElevenLabs text-to-speech, and Azure Blob Storage.

Features

  • Complete Course Management: Create, update, and manage courses
  • All Card Types: Support for content, quiz, poll, form, video, audio, and link cards
  • Text-to-Speech: Generate audio from text using ElevenLabs TTS
  • Cloud Storage: Upload and host audio files on Azure Blob Storage
  • Script Preservation: Store original script text in audio card contents
  • Production Ready: Environment configuration, error handling, and timeout management

Quick Start

  1. Clone and Install:

    git clone <repository-url>
    cd mcp-servers
    uv sync
    
  2. Configure Environment:

    cp .env.example .env
    # Edit .env with your API keys and configuration
    
  3. Add to Claude Desktop: Add to ~/Library/Application Support/Claude/claude_desktop_config.json:

    {
      "mcpServers": {
        "super-singularity": {
          "command": "uv",
          "args": ["run", "python", "/path/to/mcp-servers/server.py"]
        }
      }
    }
    
  4. Restart Claude Desktop and start creating courses!

Environment Configuration

Required environment variables in .env:

# Super Singularity API
API_BASE_URL=https://your-api-domain.com
API_TOKEN=your-bearer-token-here  
COMPANY_ID=your-company-id-here

# ElevenLabs TTS
ELEVENLABS_API_KEY=your-elevenlabs-api-key-here
ELEVENLABS_VOICE_ID=21m00Tcm4TlvDq8ikWAM

# Azure Blob Storage  
AZURE_STORAGE_CONNECTION_STRING=DefaultEndpointsProtocol=https;AccountName=...
AZURE_CONTAINER_NAME=audio-files

Available Tools

Course Management

  • get_course(course_id) - Get course details
  • create_course(title, ...) - Create new course
  • get_course_cards(course_id) - Get all cards in course

Card Creation

  • create_content_card() - Text content with optional image
  • create_quiz_card() - Multiple choice questions
  • create_poll_card() - Opinion polls for collecting learner feedback
  • create_form_card() - Form inputs for collecting learner responses
  • create_video_card() - Video content
  • create_audio_card() - Audio content with optional script preservation
  • create_link_card() - External resource links

Audio Generation

  • generate_audio_from_text(text, title) - Generate audio using ElevenLabs TTS
  • Creates audio files and uploads to Azure Storage
  • Returns URL and script preservation instructions

Audio Card Workflow

Due to MCP limitations, audio card creation from script requires two steps:

  1. Generate Audio:

    generate_audio_from_text("Your script text here", "Audio Title")
    
  2. Create Card with Script Preservation:

    create_audio_card(course_id, audio_url, title, script="Your script text here")
    

The script parameter preserves the original text in the card contents for future reference.

MCP Limitations Discovered

The Problem

MCP tools that combine multiple async operations (ElevenLabs + Azure + API requests) cause "Internal Server Error" in Claude Desktop, regardless of function names or implementation approach.

Failed Attempts

All of these caused Internal Server Errors:

  • create_audio_card_from_script()
  • generate_audio_url_from_script()
  • create_audio_card_using_script()
  • test_helper_function_plus_api()

Working Solution

 Separate tools for each operation:

  • generate_audio_from_text() - Only handles ElevenLabs + Azure
  • create_audio_card() - Only handles API requests
  • Two-step workflow with clear instructions for script preservation

Root Cause Analysis

The limitation appears to be related to:

  • Complex async operation chains in single MCP tools
  • Timeout thresholds for multi-step operations
  • Memory/resource constraints in Claude Desktop MCP client
  • Event loop handling of combined external service calls

Community Validation

Our findings align with known MCP issues documented in the community:

  • GitHub Issue #424: "MCP Timeout needs to be configurable"
  • GitHub Issue #417: "MCP Server Internal Server Error Report"
  • Multiple forum discussions about timeout errors and Internal Server Errors

Best Practices Learned

  1. Keep MCP tools simple and atomic - Single responsibility per tool
  2. Avoid combining multiple external service calls in one tool
  3. Use helper functions for complex operations, but call them from separate tools
  4. Provide clear instructions in tool responses to guide multi-step workflows
  5. Test incrementally when adding new integrations

API Documentation

Complete API documentation available in: documentation/external-api-documentation.md

Dependencies

  • mcp - Model Context Protocol Python SDK
  • httpx - Async HTTP client for API requests
  • elevenlabs - ElevenLabs TTS integration
  • azure-storage-blob - Azure Blob Storage client
  • python-dotenv - Environment variable management

License

[Add your license here]

Contributing

[Add contributing guidelines here]

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured