@infimind/video-mcp-cli
v1.0.4
Published
MCP Server for Sora AI Video Generator - Access video generation features through Claude Desktop
Readme
@infimind/video-mcp-cli
MCP Server for Sora AI Video Generator - Access video generation features through Claude Desktop.
What is MCP?
MCP (Model Context Protocol) is an open protocol that enables Claude Desktop to securely connect to external data sources and tools. This MCP server allows you to interact with the Sora AI Video Generator API directly from Claude Desktop.
Installation
Via npm (Recommended)
npm install -g @infimind/video-mcp-cliVia npx (No installation required)
{
"mcpServers": {
"sora-video-generator": {
"command": "npx",
"args": ["-y", "@infimind/video-mcp-cli", "--token=YOUR_TOKEN"]
}
}
}Configuration
1. Get Your API Token
- Log in to your Sora AI Video Generator account
- Navigate to "API Tokens" in the sidebar
- Click "New Token" and give it a name
- Copy the generated token (it will only be shown once!)
2. Configure Claude Desktop
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": {
"sora-video-generator": {
"command": "sora-mcp",
"args": ["--token=YOUR_TOKEN_HERE"],
"env": {
"SORA_API_URL": "https://your-api-domain.com/api/trpc"
}
}
}
}Environment Variables
SORA_API_URL(optional): Your API base URL. Defaults tohttp://localhost:3000/api/trpc
3. Restart Claude Desktop
After saving the configuration, restart Claude Desktop for the changes to take effect.
Available Tools
get_user_info
Get information about the authenticated user.
Example usage in Claude:
Get my user information for the video generatorDevelopment
# Clone the repository
git clone <repository-url>
# Install dependencies
cd mcp-server
npm install
# Build
npm run build
# Run in development mode
node dist/index.js --token=YOUR_TOKENPublishing
# Build the package
npm run build
# Publish to npm
npm publish --access publicSecurity
- Never share your API token with others
- Store tokens securely and rotate them periodically
- Use environment variables for sensitive configuration
- The token is transmitted over HTTPS in production
License
MIT
Support
For issues and support, please visit: https://github.com/infimind/sora-video-generator
