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
Memory Engine
Persistent AI context API backed by pgvector semantic search. Write, search, and inject context into prompts.
Security Scanner
AI-powered vulnerability detection for repos. Scan on demand or in CI; get actionable findings.
MCP Integration
Use Foundry from Cursor via
@withfoundry/mcp-server. Memory and security tools in the IDE.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 asAuthorization: Bearer key_.... - SDK:
@withfoundry/sdkfor Node/TypeScript. - MCP:
@withfoundry/mcp-serverfor Cursor and other MCP clients.
Next steps
Quickstart
Get from zero to your first memory write in under 5 minutes.