MCP
The Model Context Protocol (MCP) lets coding agents use tools from outside their sandbox. Every Frontend project comes with MCP servers already configured, and Frontend writes them into Claude Code, Codex and OpenCode before each agent starts. You don’t install or configure anything. (Pi doesn’t support MCP.)
The project’s servers
Section titled “The project’s servers”| Server | When it’s added | What agents can do with it |
|---|---|---|
| Frontend | Always | Query the project’s database, manage its media library, generate images and videos, read deploy logs and load build skills, plus the tools for the services the project connects: Shopify, Stripe, Supabase, Figma and Contentful |
| GitHub | When the team connects GitHub | GitHub’s official server: repositories, issues and pull requests |
| Your own | When you add them in Settings → MCP Servers | Anything the server offers |
See and switch these servers on or off in Settings → MCP Servers.
How servers authenticate
Section titled “How servers authenticate”- Frontend uses the project’s Frontend API key, which every project has in its
FRONTEND_API_KEYenvironment variable. The key identifies the project, so the server only ever acts on it. Connected services’ tools use the credentials from the project’s connections. - GitHub uses the access token from the team’s connection. Frontend supplies a current token each time an agent starts.
- Your own servers can reference the project’s environment variables in their URL and headers, like
Bearer ${LINEAR_API_KEY}.
Credentials stay in Frontend’s configuration; agents call the tools without ever handling the keys behind them.
Using the servers outside Frontend
Section titled “Using the servers outside Frontend”The Frontend server is a regular remote MCP server, so you can also connect a local agent to it with the project’s API key. See Frontend MCP Server.