# MCP Interfold's MCP server lets compatible agents work with sites, buckets, files, functions, databases, migrations, and secret metadata through explicit tools. It uses Streamable HTTP: ```text https://api.interfold.dev/mcp ``` MCP is an agent-facing adapter over the Interfold API. It uses the same account-scoped API keys and permission checks; it does not create a separate MCP identity or duplicate business logic. ## Start here - [Connect a client](/mcp/connect) - [Tool reference](/mcp/tools) - [Permissions & safety](/mcp/safety) ## Choose MCP, CLI, or REST Use MCP when the client supports remote tools and should reason through explicit schemas and approvals. Use the [CLI](/cli) for local files, project context, credential storage, and shell workflows. Use the [REST API](/api-reference) for services and direct HTTP integrations. ## Account and resource context Every tool uses the account authorized by the API key. Site- and bucket-scoped tools require explicit IDs; there is no hidden selected Site. Discover resources before mutating them. File writes can change a live Site immediately. Read [Permissions & safety](/mcp/safety) before enabling write tools.