FilmLune MCP
FilmLune is an image to video AI studio and prompt gallery: upload one photo,get a short video from a model such as Seedance, Kling, Veo, Wan or Grok Video.This repository is FilmLune's open-source MCP server (MIT). It lets Claude,Cursor, Codex or any other Model Context Protocol client search a catalog ofreal image and video prompt cases, each labeled with the model that generatedit, where it came from, and how it may be used. The catalog snapshot in thisrepository holds 122 reviewed cases across 9 model families, plus 30 prompttemplates.
Try it: FilmLune — image to video AI studio and prompt galleryConnect: Hosted MCP endpoint guide — install into Claude, Cursor or Codex in a few minutesBrowse examples: Video prompt cases — see what the catalog returns before you connect
Quick start: hosted endpoint
The fastest way to try FilmLune from an AI agent is the hosted endpointhttps://filmlune.com/api/mcp/. Browsing the catalog needs no key.
Claude (desktop or web): open Settings → Connectors → Add custom connectorand paste https://filmlune.com/api/mcp/.
Claude Code:
claude mcp add --transport http filmlune https://filmlune.com/api/mcp/
Codex (~/.codex/config.toml):
[mcp_servers.filmlune]
url = "https://filmlune.com/api/mcp/"
Then ask, for example: "Search FilmLune prompt cases for a slow push-inproduct shot and show me the best match."
Generating images or videos through the hosted endpoint needs a FilmLuneaccount and an MCP access key; see the hosted MCP guide.The rest of this README describes the local stdio package in this repository.
About this package
FilmLune MCP is a read-only Model Context Protocol server for FilmLune'srights-filtered public case catalog and MCP-only prompt templates. Thisrepository is an M0 local candidate: it exposes an English catalog overstdio. This package does not provide an HTTP server or media-generation API andhas no published package release.
FilmLune also operates a separate, website-owned hosted endpoint athttps://filmlune.com/api/mcp; see the hosted MCP guide.Its five catalog tools are anonymous. Hosted generation requiresan active email-verified FilmLune account, an owned unexpired scoped access key,shared safety/risk checks and eligible FilmLune credits, with no administratorrole or invitation requirement. Welcome and daily credits apply only to GPTImage 2 at 1K Standard. This hosted access change adds no tools to this localstdio package.
The server exposes exactly five tools:
| Tool | Purpose |
|---|---|
search_cases |
Search English case presentation and MCP-only prompt-template text, source classification, and attribution. Case-only model, taxonomy, media-type, and output-language filters never return prompt templates. |
get_case |
Read exactly one case/tombstone by caseId or prompt template/tombstone by promptTemplateId. Case results list reviewed output-language variants; prompt-template results do not invent variants. |
list_models |
List model families represented by active reusable cases. |
list_taxonomy |
List the generated English taxonomy. |
get_changes |
Read the deterministic additions, updates, and removals feed. |
Previewing a case
search_cases and get_case include a preview with an absolute image URL,canonical detail page, and a video viewing URL when applicable. A client canshow these before choosing a prompt. Existing approved hosted media links arepreserved; read-only means the tools do not change server state, not that abrowser cannot save a displayed image or video.
Media access does not grant permission to repost. Follow each case's rights andsource attribution. FilmLune's internal official-social authorization andOperator exports are separate and are not distributed by this public repository.No Agent-specific download credential is needed for publicly accessible media.
MCP-only prompt templates have no preview, Website route, canonical URL,sitemap/hreflang entry, case-wall card, media bytes, model compatibility,recipe, report route, or generation/reference claim. Their source and licensefields identify the exact upstream revision and terms governing that prompt.Search returns a compact discovery record with prompt.availability=get_case;get_case returns the unmodified prompt and the complete hash-verified Apachelicense in license.text. Example inputs: search_cases({"query":"black holes"}),then get_case({"promptTemplateId":"parti-tsv-line-0712"}). Do not send bothcaseId and promptTemplateId, or a revision field belonging to the other lane.Use get_changes({"entityKind":"prompt_template"}) for the prompt-only feed.
What M0 does
- validates every generated path and SHA-256 before startup;
- serves only the website workflow's reviewed public projection;
- keeps MCP presentation, taxonomy, labels, examples, and tool descriptions inEnglish;
- stores a language-neutral case once as
outputLanguage: "und"and makes itdiscoverable for any requested language; - stores each language-specific result as a separate reviewed variant under thesame
caseFamilyId; - serves reviewed prompt templates in a parallel
prompt-template.v1lane whiledual-reading historical manifest v2 and current manifest v3; - preserves required dialogue and visible text as exact BCP 47-tagged
protectedLiterals; and - returns minimal tombstones for removed cases without stale prompt, creator, ormedia payloads.
M0 never translates a case at request time. search_cases withoutputLanguage: "fr", for example, may return exact fr variants plus reusableund variants. get_case reports the exact variants that already exist; it doesnot synthesize one.
Local requirements
- Node.js
22.22.2 - the exact pnpm release declared in
package.json#packageManager - a dependency tree installed from the frozen lockfile under the repository'sreviewed dependency policy
The reviewed install shape is:
corepack pnpm install --frozen-lockfile --ignore-scripts
That command is setup only. It is not a provider login, model download, build,deployment, or publication step.
Connect a local MCP client
Replace /absolute/path/to/filmlune.com with this repository's absolute path.
Codex CLI:
codex mcp add filmlune -- corepack pnpm --dir /absolute/path/to/filmlune.com start
Claude Code:
claude mcp add filmlune -- corepack pnpm --dir /absolute/path/to/filmlune.com start
Claude Desktop-style configuration:
{
"mcpServers": {
"filmlune": {
"command": "corepack",
"args": [
"pnpm",
"--dir",
"/absolute/path/to/filmlune.com",
"start"
]
}
}
}
The client starts the process and exchanges MCP messages over stdin/stdout. Abrowser address bar cannot call this M0 server. Streamable HTTP is a separatefuture milestone, not another view of the stdio process.
No FilmLune API key is needed because M0 does not generate images or videos. Itdoes not use a user's provider key, FilmLune's provider key, credits, or payment.
Catalog ownership and rights
The FilmLune website workflow is the sole editable source of catalog truth.catalog/ and schemas/ are deterministic generated projections and must neverbe hand-edited. Changes flow one way from the reviewed website source into thisrepository; the server never writes them back.
Manifest and record hashes prove internal consistency of one projection; theyare not signatures and cannot authenticate a locally replaced repository bythemselves. Website exporter parity, code review, and trusted repository orpackage distribution establish approval. Any future remote catalog updatermust add a signed or externally pinned authenticity root before release.
The MIT license covers the server software only. FilmLune-authoredprompt and catalog use is governed separately by theFilmLune Prompt and Catalog Content License. Third-partyprompt templates are governed by the exact record-level upstream license, whichtakes precedence and is not narrowed by FilmLune's content license. EligibleFilmLune prompt records permitpersonal use, commercial generation, modification, and attributed individualreposting; they do not permit bulk scraping, prompt-pack/dataset resale,catalog mirroring, or competing MCP/API redistribution. Case images, videos,source posts, trademarks, likenesses, and third-party materials are notlicensed with a prompt. Denied prompt or media payloads are structurallyabsent.
Forking or cloning this public repository lets you run, evaluate, or contributeto the MCP software. It does not grant broader rights to the generated catalogor its media.
Verify the candidate
node scripts/check-generated-catalog.mjs
corepack pnpm typecheck
corepack pnpm lint
corepack pnpm test
Passing these local checks does not prove external-client installation,repository publication, npm publication, HTTP hosting, generation, payment,provider acceptance, or production support.
Current boundary
M0 is local, deterministic, English-first, and read-only. The following are notimplemented or claimed by this local package:
- an HTTP server (the separately operated website endpoint is described above);
- image or video generation;
- provider selection, failover, or API-key handling;
- FilmLune credits, billing, or subscriptions;
- npm/package publication;
- a public GitHub release; or
- production support or uptime commitments.
See SECURITY.md for the fail-closed security boundary.