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/mcpHow agents use it
Section titled “How agents use it”Instead of loading every action as a separate tool, the server offers four tools that let an agent find and run what it needs:
| Tool | What it does |
|---|---|
search_tools | Finds 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_schemas | Returns the description and input schema of tools by name. |
multi_execute_tool | Runs up to 20 tools at once, each with its arguments, and returns one result per call. |
list_connections | Shows 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 tools
Section titled “Frontend tools”Frontend’s own tools are always available, with no connection needed:
| Tool | What it does | Needs |
|---|---|---|
LIST_SKILLS, LOAD_SKILL | List 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_SCHEMA | Lists the tables and columns of the project’s database. | The project’s database |
QUERY_DATABASE | Runs any SQL (SQLite dialect), including writes and schema changes, with optional parameters for ? placeholders. | The project’s database |
LIST_MEDIA, UPLOAD_MEDIA, DELETE_MEDIA | List, upload (from a URL) and delete files in the project’s media library. Returns each file’s public URL. | — |
GENERATE_IMAGE | Generates or edits images from prompts, optionally with reference images, and saves them to the media library. | OpenRouter |
GENERATE_VIDEO | Starts a video generation and returns a ticket. | OpenRouter |
CHECK_VIDEO | Checks a video started with GENERATE_VIDEO; when it’s done, the video is saved to the media library. | OpenRouter |
LIST_DEPLOYMENTS | Lists recent deployments (production deploys and share previews) with their state. A project that hasn’t been deployed gets an empty list. | — |
GET_DEPLOYMENT_LOGS | Reads one deployment’s build logs, by default the live one’s. | A deployment |
LIST_ENV_VARS | Lists 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.
Authentication
Section titled “Authentication”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.
Connect from your own machine
Section titled “Connect from your own machine”To use the server from an agent on your computer, add it with the project’s API key. For Claude Code:
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.