MCP IntegrationCreate integration

Your agent calls ngram like any other tool.

ngram exposes a native Model Context Protocol server. Claude Desktop, Cursor, Cline, ChatGPT Connectors and any custom MCP client can render videos, fetch status, list past renders and read credit balances inside the same chat - no UI, no copy-paste.

  • Native MCP server — every ngram endpoint exposed as a discrete tool with an agent-friendly JSON schema
  • stdio and HTTP transport — local stdio for desktop clients, hosted HTTPS endpoint at mcp.ngram.com for remote agents
  • Bearer-key auth — one ngs_ key carries the same permissions as your dashboard - validated per request, never logged
MCP Server hero preview
How it works

Four steps from MCP config to a rendered video in chat.

ngram speaks the open MCP spec end to end. Drop your bearer key into the client config, restart, and ask the assistant for a video. No SDK, no glue code.

01

Create an ngram API key

Open Settings then API Keys in your ngram dashboard. Keys start with ngs_ and inherit your account permissions. Revoke or rotate any time.

20 sec
02

Point your MCP client at ngram

Edit the client config - Claude Desktop, Cursor, Cline, Notion AI, ChatGPT Connectors. Add ngram as a server via the npm package for stdio or the hosted URL for HTTP.

1 min
03

Ask the assistant for a video

Open chat and describe the video. The agent picks the right tool from the exposed schema - create, status, list, credits - and fires the call directly against ngram.

however long you talk
04

Get a publish-ready MP4 in the thread

Render runs server-side, status streams back as tool output, the final MP4 URL drops into the same chat. Hand off to the editor or post downstream.

~45 sec
What the server exposes

Every ngram endpoint, mapped to an agent-friendly tool call.

Works in every MCP-aware client

Claude Desktop, Cursor, Cline, Notion AI and ChatGPT Connectors connect with a single config block. Anything that speaks MCP 1.0 just works.

Bearer-key auth, validated per request

One ngs_ key on every call. Validated against the same auth layer as the dashboard, scrubbed from logs, revokable from Settings.

Tool surface mirrors the public API

create_video, get_status, list_videos, get_credits, cancel_render - each ngram endpoint maps to a discrete MCP tool with typed inputs and outputs.

Streaming tool output for long renders

Renders take 30-90 seconds. Status streams back to the client so the agent sees progress, not a frozen tool call.

Every call observable in PostHog

Path, method, user agent, duration, status - every tool invocation flows through PostHog with an anonymized distinctId for end-to-end observability.

Hosted or self-run

Point at the managed mcp.ngram.com endpoint, or run the official @ngramdata/mcp-server npm package locally for stdio clients - same protocol, same schema.

Supported MCP clients

Five clients we test against. Plus the open MCP spec.

If a client implements MCP 1.0, ngram connects. The clients below are what our team uses day-to-day - the rest of the ecosystem inherits the same protocol.

Claude Desktop
stdio
Cursor
stdio + HTTP
Cline
VS Code agent
Notion AI
workspace agent
ChatGPT Connectors
HTTP
Custom MCP clients
spec-compliant
Built for teams

Who reaches for the MCP server first.

Developers building agent-augmented products. Ops teams running agentic workflows. AI-native teams who live in chat clients all day.

All solutions
How it compares

When MCP is the right trigger, and when it isn't.

ngram MCP
you are here
REST API
raw HTTP
HTTP webhook
event hook
Zapier
automation
Who triggers itAn AI agent in chatYour application codeAn upstream event in another systemAn automated multi-step Zap
Setup timeAbout 2 minutes - one config blockAbout 1 hour engineeringAbout 15 minutes per endpointAbout 5 minutes per Zap
Auth modelBearer ngs_ key per requestBearer ngs_ key per requestSigned HMAC payloadStored OAuth or API key
Schema for the callerAgent-friendly JSON schema per toolRaw OpenAPI specSingle payload contractAction form fields in the Zap editor
Streaming statusYes, tool output streams progressYes, via polling or SSENo, fire-and-forgetNo, polled by Zapier
Best forChat-driven agents and copilotsEmbedding ngram inside your productReacting to upstream system eventsNo-code multi-step pipelines

FAQ

Common questions about the MCP server

Model Context Protocol is an open standard from Anthropic that lets AI assistants connect to external tools through a typed, streaming interface. ngram exposes its API as a native MCP server, so any spec-compliant client can render videos, check credits and list past renders without leaving chat.

Still curious? Still curious? Chat with us

MCP Server

Point your agent at ngram. Render in chat.

One config block, one bearer key, every ngram endpoint exposed as a tool call your assistant already knows how to use.