Skip to content

Frontend MCP Server

The Frontend MCP server gives agents access to the parts of a project they can’t reach from the sandbox: its Frontend Cloud database, its media library, its deploy logs and environment variable names, image and video generation, Frontend’s build skills, and the services the project has connected. Every project has it, enabled by default.

https://mcp.frontend.co/mcp

Instead of loading every action as a separate tool, the server offers four tools that let an agent find and run what it needs:

ToolWhat it does
search_toolsFinds the tools for a task, such as “query the database” or “list the store’s products”, and returns their input schemas and whether each service is connected.
get_tool_schemasReturns the description and input schema of tools by name.
multi_execute_toolRuns up to 20 tools at once, each with its arguments, and returns one result per call.
list_connectionsShows which services are connected, and to which account.

Tool names combine the toolkit and the action, like QUERY_DATABASE or SHOPIFY_LIST_PRODUCTS. The agent’s own approval settings decide which calls need your confirmation: multi_execute_tool is marked as able to change data, and the other three as read-only.

Frontend’s own tools are always available, with no connection needed:

ToolWhat it doesNeeds
LIST_SKILLS, LOAD_SKILLList Frontend’s skills, instructions for building features like payments, a CMS, a database, a contact form or AI, and load one by name.—
GET_DATABASE_SCHEMALists the tables and columns of the project’s database.The project’s database
QUERY_DATABASERuns any SQL (SQLite dialect), including writes and schema changes, with optional parameters for ? placeholders.The project’s database
LIST_MEDIA, UPLOAD_MEDIA, DELETE_MEDIAList, upload (from a URL) and delete files in the project’s media library. Returns each file’s public URL.—
GENERATE_IMAGEGenerates or edits images from prompts, optionally with reference images, and saves them to the media library.OpenRouter
GENERATE_VIDEOStarts a video generation and returns a ticket.OpenRouter
CHECK_VIDEOChecks a video started with GENERATE_VIDEO; when it’s done, the video is saved to the media library.OpenRouter
LIST_DEPLOYMENTSLists recent deployments (production deploys and share previews) with their state. A project that hasn’t been deployed gets an empty list.—
GET_DEPLOYMENT_LOGSReads one deployment’s build logs, by default the live one’s.A deployment
LIST_ENV_VARSLists the names of the project’s environment variables and the environments each applies to. Values are never returned.—

Image and video generation run on your team’s own OpenRouter account, so OpenRouter bills the usage directly and Frontend doesn’t charge credits. Without a connected account, the tools ask you to connect OpenRouter in Team → Integrations.

The same server also has the tools for Shopify, Stripe, Supabase, Figma and Contentful, which work once the project connects the service.

Requests carry the project’s Frontend API key as a Bearer token:

Authorization: Bearer fe_sk_...

Every project gets a key when it’s created, saved in its FRONTEND_API_KEY environment variable. The key identifies the project, so requests never name one. Manage keys in Settings → API Keys. Treat them like passwords.

To use the server from an agent on your computer, add it with the project’s API key. For Claude Code:

Terminal window
claude mcp add --transport http frontend https://mcp.frontend.co/mcp \
--header "Authorization: Bearer fe_sk_..."

Any client that supports remote MCP servers over Streamable HTTP works the same way: point it at the URL and send the Authorization header.