NoLang MCP Server
Enable any MCP Client like Claude Desktop or Agents to use the NoLang API to generate AI-powered videos
What is NoLang?
NoLang is an AI-powered video generation service developed by Mavericks that creates videos in real-time. This MCP server provides a standardized interface to interact with the NoLang API.
Prerequisites
- Python 3.12+
- NoLang API key (Get it from the NoLang dashboard: NoLang API > API Key)
Installation
We recommend using uv to manage Python environments and dependencies.
Install uv
macOS/Linux
# Using the official installer
curl -LsSf https://astral.sh/uv/install.sh | sh
# Or using Homebrew
brew install uv
Windows
# Using PowerShell
irm https://astral.sh/uv/install.ps1 | iex
Configuration
- Set your NoLang API key to the environment variable:
export NOLANG_API_KEY=your_api_key_here
Usage
STDIO Mode (Claude Desktop etc.)
STDIO mode is designed for local clients such as Claude Desktop.
Claude Desktop Configuration
Add the following to your Claude Desktop configuration file:
macOS
~/Library/Application Support/Claude/claude_desktop_config.json
Windows
%APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"nolang": {
"command": "uvx",
"args": ["nolang-mcp-stdio"],
"env": {
"NOLANG_API_KEY": "your_api_key_here"
}
}
}
}
Direct Execution
# Start in STDIO mode
nolang-mcp-stdio
# or
python -m nolang_mcp.runner.run_stdio
HTTP Mode (Remote Access & Multiple Clients)
HTTP mode supports remote access via web and concurrent connections from multiple clients.
# Start in HTTP mode (default port: 7310)
nolang-mcp-http
# or
python -m nolang_mcp.runner.run_http
# Start with custom port
NOLANG_MCP_PORT=8080 nolang-mcp-http
HTTP mode: expose as remote MCP server (Cloudflare Tunnel / no DNS or auth)
Expose your local MCP HTTP server instantly using Cloudflare Tunnel Quick Tunnel. This generates a temporary trycloudflare.com URL with no DNS or authentication setup required.
# 1) Install Cloudflare Tunnel CLI (macOS)
brew install cloudflared
# 2) Start the MCP server in another terminal (requires API key)
export NOLANG_API_KEY=your_api_key_here
# Optional: change port (default: 7310)
# export NOLANG_MCP_PORT=7310
nolang-mcp-http
# or
# python -m nolang_mcp.runner.run_http
# 3) Start a Quick Tunnel in a new terminal
cloudflared tunnel --url http://localhost:${NOLANG_MCP_PORT:-7310}
# You will get a URL like: https://xxxxx.trycloudflare.com
- The issued URL is random and temporary. For longer-term or access-controlled setups, consider a Named Tunnel or Cloudflare Access.
Available MCP Tools
generate_video_with_setting
Consumes paid credits. Start video generation using your VideoSetting ID.
Required Parameters:
video_setting_id(string): UUID of VideoSetting (obtainable vialist_video_settings)
Optional Parameters (at least one is required):
text(string): Text prompt (for QUERY modes or slideshow_analysis mode)pdf_path(string): Absolute path to PDF file (for slideshow_* modes)pptx_path(string): Absolute path to PPTX file (for slideshow_* modes)audio_path(string): Absolute path to audio file (for audio_speech mode, MP3/WAV/M4A/AAC)video_path(string): Absolute path to video file (for audio_video mode, MP4)image_paths(string): Image file paths (comma-separated, for QUERY modes)
generate_video_with_template
Consumes paid credits. Start video generation using an official template Video ID.
Required Parameters:
video_id(string): ID of generated or generating video
Optional Parameters:
- Same parameters as
generate_video_with_settingare available
wait_video_generation_and_get_download_url
Polls until video generation completes and returns the download URL.
Parameters:
video_id(string, required): Video ID of the generation jobmax_wait_time(integer, optional): Maximum wait time in seconds (default: 600)check_interval(integer, optional): Status check interval in seconds (default: 10)
list_generated_videos
Return a paginated list of videos you have generated.
Parameters:
page(integer, optional): Page number (default: 1)
list_video_settings
Return a paginated list of your VideoSettings.
Parameters:
page(integer, optional): Page number (default: 1)
recommend_templates
Recommend official templates based on video mode and optional query.
Project Structure
nolang_mcp/server.py: Common MCP server definition and API clientnolang_mcp/runner/run_stdio.py: Entry point for STDIOnolang_mcp/runner/run_http.py: Entry point for HTTP
License
MIT License
Metadata
Release files for nolang-mcp 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| nolang_mcp-0.0.2.tar.gz | 9.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| nolang_mcp-0.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 22.1 kB
Release files / nolang_mcp-0.0.2.tar.gz
| Download URL | nolang_mcp-0.0.2.tar.gz |
|---|---|
| Size | 9.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
48ce46262936e1d865aed78153997f1b81dab71ce51c2e7ff3139e3b4c41c893
|
|
BLAKE2b-256 checksum How to use checksums |
cf3632d458362aef34f965624d59818d87a867f670400fb0288837d714d177c6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.8.4
|
Release files / nolang_mcp-0.0.2-py3-none-any.whl
| Download URL | nolang_mcp-0.0.2-py3-none-any.whl |
|---|---|
| Size | 12.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
41dc31092e224b3f9281e72e7a6d7a1d7d7765b652569393145c63f0dcfeeb91
|
|
BLAKE2b-256 checksum How to use checksums |
bd82c8bc942374d07b5239ef4fde37d701f5c7c0854db834894eca94cace739d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.8.4
|