Cornerstone MCP Server
Enables Claude and other MCP clients to interact with Cornerstone memory, supporting saving, searching, and managing contextual data through natural language commands.
README
Cornerstone MCP Server
MCP server providing 17+ tools for Claude Code, Claude Desktop, and any MCP-compatible client to interact with Cornerstone memory.
Quick Start
-
Clone and set up:
git clone https://github.com/supramal1/cornerstoneMCP.git cd cornerstoneMCP bash setup.sh -
Edit
.envwith your API URL and key -
Add to Claude Code settings
-
Start using it:
- "Remember that the project deadline is March 15" → saves to memory
- "What do we know about the Google pitch?" → recalls from memory
- "Forget the old project deadline" → removes from memory
Deploy
Deployed to Google Cloud Run (europe-west2). See cornerstone repo for deploy scripts.
Auth
OAuth 2.1 with JWT principal-based access control. Falls back to legacy API key auth.
Configuration
Required env vars: CORNERSTONE_URL, CORNERSTONE_API_KEY, OAUTH_JWT_SECRET, MCP_PUBLIC_URL.
Optional: DISABLE_OAUTH=true skips OAuth advertisement entirely (no /.well-known/oauth-*, no WWW-Authenticate: Bearer ...). Use when this MCP is fronted by a gateway (e.g. obot) that owns user auth and proxies inbound traffic without an Authorization header. Backend calls still authenticate via CORNERSTONE_API_KEY.
Tools
Simple (start here)
| Tool | Purpose | Example |
|---|---|---|
| remember | Save anything to memory | remember("The budget is $50K") |
| recall | Search memory | recall("client's email?") |
| forget | Remove from memory | forget("old_deadline", confirm=True) |
Workspace
| Tool | Purpose |
|---|---|
| list_workspaces | See available workspaces |
| switch_workspace | Change active workspace |
| get_current_workspace | See which workspace is active |
| set_default_workspace | Set default workspace |
Advanced
| Tool | Purpose |
|---|---|
| get_context | Full context retrieval with metadata |
| add_fact | Save a structured key-value fact |
| add_note | Save a freeform note |
| search | Search across all memory types |
| list_facts | List recent facts |
| get_recent_sessions | See recent conversations |
| list_threads | See conversation threads |
| report_context_feedback | Rate retrieval quality |
Review (MC-2 propose-then-approve)
| Tool | Purpose |
|---|---|
| mc_list_proposals | List agent-proposed facts awaiting human review |
| mc_promote_facts | Promote proposed facts to current memory |
| mc_reject_facts | Reject proposed facts (reason required, stored verbatim) |
Promote/reject relay the gateway-injected X-Forwarded-User-Email header on the outbound API call so the decision is attributed to the human reviewer. Absent the header (e.g. stdio), the decision is recorded without a forwarded identity.
Most users only need remember and recall. The advanced tools give you more control when you need it.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.