Skip to content

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.)

ServerWhen it’s addedWhat agents can do with it
FrontendAlwaysQuery 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
GitHubWhen the team connects GitHubGitHub’s official server: repositories, issues and pull requests
Your ownWhen you add them in Settings → MCP ServersAnything the server offers

See and switch these servers on or off in Settings → MCP Servers.

  • Frontend uses the project’s Frontend API key, which every project has in its FRONTEND_API_KEY environment 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.

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.