Foundation
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Foundationbootstrap my knowledge graph and create a 'project' node for Q3 planning"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Foundation
A personal ontology your agents can grow.
Foundation is a small, self-hostable typed knowledge graph + MCP server for AI agents (Grok Bot, Cursor, Claude, …). It gives them durable structure — not just chat memory — and lets that structure evolve as your life does.
The name is a nod to Asimov: carry structured knowledge forward so you (and your agents) are not starting from zero every time.
Docs
docs/SPEC.md— product contract (goals, non-goals, data/MCP/runtime principles)docs/REDESIGN.md— redesign map vs Momentum (replit-agent): what to keep, what to discard, architecture, data model, slim MCP tools, implementation slicesdocs/MCP_TOOLS.md— proposed 12-tool MCP surface
Related MCP server: buddy
What it is
Nodes with types (e.g. area → project → goal → habit/task, plus whatever emerges)
Typed links between them
Flexible payloads (markdown, HTML, JSON, …) so a trip itinerary can live in the graph as HTML
MCP-first API so agents read and write the graph directly
Agents may create and update types and relations as needed (activity log for undo); no approve/reject inbox required
What it is not
Not a mobile app, billing system, or full Momentum product clone
Not a second brain you have to maintain by hand (agents are the primary users)
Not a hosted SaaS you must buy — run it on your own machine (including a Grok Bot computer)
Install
Requires Docker Compose and a copy of this repo. Node 22 is only needed if you run the app on the host instead of in Compose.
Copy the env file and set an API key (do not commit
.env):cp .env.example .env # set FOUNDATION_API_KEY to a long random stringStart Postgres 16 (pgvector image; vector unused for now) and the Foundation server. Durable files go under
FOUNDATION_DATA(default./data):docker compose up --buildPoint an MCP client at
http://127.0.0.1:8787/mcpwith:Authorization: ApiKey <FOUNDATION_API_KEY>Authorization: Bearer <FOUNDATION_API_KEY>is accepted as an equivalent.Cursor / Claude-style MCP config:
{ "mcpServers": { "foundation": { "url": "http://127.0.0.1:8787/mcp", "headers": { "Authorization": "ApiKey YOUR_KEY" } } } }Call
bootstrapfirst. It returns the starter spine (area → project → goal → habit | task), seeded types/relations, and how to extend the ontology.After bootstrap, an agent can
upsertanareaandproject,linkthem withchild_of, store an HTML itinerary on atripnode (payload.media_type = "text/html"),manage_typea custom type, andupserta node of that type. Destructive tools (delete,unlink) requireconfirm: true.With Node 22 + pnpm (and Compose already up):
pnpm bootstrapOr with curl (SSE JSON-RPC; look for the
data:line):set -a && source .env && set +a curl -sS http://127.0.0.1:8787/mcp \ -H "Authorization: ApiKey ${FOUNDATION_API_KEY}" \ -H "Content-Type: application/json" \ -H "Accept: application/json, text/event-stream" \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"bootstrap","arguments":{}}}'
Health (no auth): GET http://127.0.0.1:8787/health.
Never point FOUNDATION_DATA at an agent profile or memory directory.
Status
Slices 1–6: repo skeleton, schema/seed, MCP bootstrap, nodes/payloads (upsert / get / delete), edges (link / unlink), ontology mutation (inspect_ontology / manage_type / manage_relation). Later slices add activity/undo, search, compose polish, blobs, embeddings, and a thin viewer.
Reference ideas (not a dump): Momentum branch replit-agent.
See docs/SPEC.md for the product contract.
Intended use
Run Foundation where your agents already live (e.g. Grok Bot computer)
Point agents at the local MCP endpoint
Optionally open a thin viewer later (Mac/web) against the same API
License
MIT © 2026 Danny Graziosi
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityAmaintenanceA universal MCP server providing persistent, structured memory through a knowledge graph with graph storage, semantic vector search, and multi-hop traversal for AI agents and IDEs.1MIT
- Alicense-qualityFmaintenanceAgent-first knowledge graph MCP server that provides 25 tools for managing a knowledge graph with nodes and edges, plus a human-readable dashboard for LLMs and AI agents.751Apache 2.0
- Alicense-qualityBmaintenanceKnowledge-graph memory server for MCP-compatible AI tools, providing persistent, connected memory with typed relationships and auto-consolidation.64MIT
- Alicense-qualityCmaintenanceA local-first compiled knowledge graph MCP server that provides structured memory for AI agents with full-text search, vector embeddings, and timeline tracking.4728MIT
Related MCP Connectors
Shared, governed long-term memory for AI agents across tools and sessions via MCP and REST.
Person-owned, portable AI memory as a remote MCP server, readable and writable by any MCP client.
Cross-vendor AI memory over MCP. One semantic store, readable and writeable from every MCP client.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/dgraziosi/foundation'
If you have feedback or need assistance with the MCP directory API, please join our Discord server