npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@sync.so/mcp-server

v0.1.4

Published

MCP server for the Sync API — give AI agents the ability to create lipsync videos, manage assets, and more

Readme

Sync MCP Server

An open-source Model Context Protocol (MCP) server for the Sync API. Gives AI agents — Claude Code, ChatGPT, Cursor, Codex, and any MCP-compatible client — the ability to create lipsync videos, manage assets, check generation status, and more.

Tools are auto-generated from the Sync OpenAPI spec at startup. As new API endpoints ship, they become available to agents automatically — no server update needed.

Quick Start

Claude Code

claude mcp add sync -- npx -y @sync.so/mcp-server --api-key YOUR_API_KEY

Or add to .mcp.json in your project root:

{
  "mcpServers": {
    "sync": {
      "command": "npx",
      "args": ["-y", "@sync.so/mcp-server"],
      "env": {
        "SYNC_API_KEY": "your-api-key"
      }
    }
  }
}

Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "sync": {
      "command": "npx",
      "args": ["-y", "@sync.so/mcp-server"],
      "env": {
        "SYNC_API_KEY": "your-api-key"
      }
    }
  }
}

Cursor

Add to .cursor/mcp.json in your project:

{
  "mcpServers": {
    "sync": {
      "command": "npx",
      "args": ["-y", "@sync.so/mcp-server"],
      "env": {
        "SYNC_API_KEY": "your-api-key"
      }
    }
  }
}

Without an API key (interactive login)

Omit SYNC_API_KEY and the server will start a device auth flow on first run:

{
  "mcpServers": {
    "sync": {
      "command": "npx",
      "args": ["-y", "@sync.so/mcp-server"]
    }
  }
}

You'll be prompted to visit a URL and enter a code. After approval, the token is cached at ~/.config/sync/mcp-credentials.json.

Getting an API Key

  1. Sign up at sync.so
  2. Go to your dashboard settings
  3. Generate an API key

See the authentication guide for details.

Available Tools

Tools are dynamically generated from the Sync API. Core tools include:

| Tool | Description | |------|-------------| | generate_create-generation | Create a lipsync video from video + audio inputs | | generate_get-generation | Get generation status — poll until COMPLETED | | models_get-public | List available lipsync models | | assets_get-all | List all assets in your organization | | assets_get | Get a specific asset by ID | | generations_estimate | Estimate generation cost before creating |

Plus every other public endpoint in the Sync API.

Example Prompts

Once configured, ask your AI agent:

  • "List available Sync models"
  • "Create a lipsync video with this video URL and audio URL using the lipsync-2 model"
  • "Check the status of generation gen-abc123"
  • "Show me my recent generations"
  • "How much would it cost to generate a 30-second video?"

CLI Options

Usage: sync-mcp [options]

Options:
  --api-key <key>     API key (or set SYNC_API_KEY env var)
  --base-url <url>    API base URL (default: https://api.sync.so)
  --transport <type>  stdio (default) or http
  --port <port>       HTTP port (default: 3002, only with --transport http)
  -h, --help          Show this help message

Environment Variables

| Variable | Description | Default | |----------|-------------|---------| | SYNC_API_KEY | Your Sync API key | — | | SYNC_BASE_URL | API base URL | https://api.sync.so |

How It Works

  1. On startup, the server fetches the OpenAPI spec from {baseUrl}/api-json
  2. Parses all public endpoints into operation definitions
  3. Converts each operation into an MCP tool with a Zod input schema
  4. Registers tools on the MCP server
  5. Each tool call makes an authenticated HTTP request to the Sync API

This means new API endpoints are automatically available — just restart the MCP server.

Programmatic Usage

You can also use the server as a library:

import { createSyncMcpServer, resolveConfig } from '@sync.so/mcp-server';

const config = resolveConfig({ apiKey: 'your-key' });
const server = await createSyncMcpServer(config);

Development

# Install dependencies
npm install

# Build
npm run build

# Run tests
npm test

# Lint
npm run lint

# Type check
npm run typecheck

Learn More

License

MIT