MCP Server
BaseLayer exposes your knowledge graph via MCP (Model Context Protocol). Any MCP-compatible client can connect to search, store, and recall your knowledge.Connect via OAuth (recommended)
The easiest way to connect any MCP client to BaseLayer is via OAuth. No API keys needed.Remote MCP (Claude.ai, ChatGPT, etc.)
For cloud-based AI tools that support remote MCP:- In your AI tool’s settings, add a new MCP integration
- Enter the server URL:
- You’ll be redirected to BaseLayer to sign in and authorize the connection
- Click Allow — done
CLI tools (Claude Code, Gemini CLI, etc.)
CLI-based tools connect to the remote MCP endpoint via SSE:IDE tools (Cursor, Windsurf, Copilot)
Add BaseLayer to your IDE’s MCP configuration file:Available tools
Once connected, your AI can use these tools:Querying
Searching
Writing
OAuth scopes
MCP clients are granted themcp:tools scope by default, which provides access to all available tools.
Verify the connection
Ask your AI:“What do you know about me?”It should call
ask_question and return knowledge from your memory.
Advanced: Manual API Key Setup
Advanced: Manual API Key Setup
OAuth is recommended for most users. Only use API keys for custom integrations or self-built MCP clients.
- Go to baselayer.id/credentials
- Click Create API Key
- Copy the key and configure your MCP client:
API keys are for advanced integrations. OAuth is simpler and more secure for standard MCP clients.