> ## Documentation Index
> Fetch the complete documentation index at: https://docs.withfoundry.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Introduction

> Foundry is an AI-native developer platform with Memory Engine, Security Scanner, and MCP integration.

# Introduction

Foundry is an AI-native developer platform that gives your apps and tools **persistent context**, **security scanning**, and **first-class Cursor integration** via MCP.

## Three pillars

<CardGroup cols={3}>
  <Card title="Memory Engine" icon="database" href="/memory/overview">
    Persistent AI context API backed by pgvector semantic search. Write, search, and inject context into prompts.
  </Card>

  <Card title="Security Scanner" icon="shield-check" href="/security/overview">
    AI-powered vulnerability detection for repos. Scan on demand or in CI; get actionable findings.
  </Card>

  <Card title="MCP Integration" icon="plug" href="/mcp/cursor-setup">
    Use Foundry from Cursor via <code>@withfoundry/mcp-server</code>. Memory and security tools in the IDE.
  </Card>
</CardGroup>

## How it works

* **API**: REST at `https://api.withfoundry.ai`. All responses use the envelope `{ success, data, meta: { requestId } }`.
* **Auth**: API keys with prefix `key_` sent as `Authorization: Bearer key_...`.
* **SDK**: `@withfoundry/sdk` for Node/TypeScript.
* **MCP**: `@withfoundry/mcp-server` for Cursor and other MCP clients.

## Next steps

<Card title="Quickstart" icon="rocket" href="/quickstart">
  Get from zero to your first memory write in under 5 minutes.
</Card>
