Code-pinned team memory for AI coding agents β typed artifacts, MCP-native, self-host.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Code-pinned team memory for AI-assisted development. Agents write the durable record; humans review, discuss, and steer.
Pindoc is a self-hosted project memory system for teams working with AI coding agents. It turns useful agent discoveries into typed artifacts: decisions, debugging paths, task closeouts, verification notes, and code-linked analyses. Every artifact is scoped to a project area and pinned back to commits, files, URLs, resources, or related Pindoc artifacts.
It is still the wiki you never type into, but the point is not automation for its own sake. Pindoc keeps the parts of agent work that teammates and future agents can reuse.
AI coding sessions are productive, but team context still falls through the cracks:
Pindoc turns agent work worth keeping into searchable, code-pinned team memory. The next teammate or coding agent can ask Pindoc what matters before it edits.
pindoc.context_for_task, pindoc.artifact.propose, and pindoc.task.queue regulate agent behavior instead of acting as a thin CRUD API./mcp endpoint can serve multiple projects; each tool call carries project_slug.A read-only public demo is a follow-up track and is not part of this OSS
release. Until it ships, the README, docs/, and a
self-hosted clone are the primary proof. Operators who want to evaluate
Pindoc end-to-end run docker compose up -d --build and inspect their own
artifacts.
The follow-up demo plan stays in Public Demo Plan for when a hosted instance is appropriate.
Prerequisites:
The default Docker path includes semantic search through a bundled EmbeddingGemma Q4 ONNX provider, so no embedding sidecar is required. See System Requirements for minimum and optional deployment profiles.
To make the running daemon report the exact source revision, pass the current commit through the Compose build argument before building:
PowerShell users can set the same value with
$env:PINDOC_BUILD_COMMIT = git rev-parse HEAD. make compose-up performs
this stamping automatically.
Open the Reader:
Check that the database ledger matches the migrations embedded in the image:
The command is read-only and exits non-zero for unknown applied migrations, pending migrations, or checksum drift. It never deletes or accepts an unknown schema change automatically.
Preview and repair semantic indexes that are unknown, stale, failed, or were built with a different embedding model:
Pindoc records the indexed revision, title/body hashes, model identity,
attempt count, and last error in artifact_index_state. Embeddings are fully
prepared before old chunks are replaced. If the provider fails, the artifact
write can still succeed with index_state.status="failed" and
retryable=true, while the last known-good chunks remain searchable. The
re-embed command handles each artifact in its own transaction and exits
non-zero if any retry still fails.
On a fresh instance, / first asks for the owner identity (display name and
email), then routes to the first-project wizard. To open the project wizard
directly after identity setup:
Older builds could create a project through POST /api/projects without a
matching project_members owner row. After upgrading, repair any affected
project by assigning the configured loopback owner:
The Docker daemon exposes one account-level MCP endpoint:
Project scope is not encoded in the URL. Agents pass project_slug on
project-scoped tool calls. Workspaces generated by pindoc.harness.install
store that slug in PINDOC.md frontmatter. pindoc.workspace.detect
resolves the likely slug for the current workspace, but it does not mutate the
daemon-wide PINDOC_PROJECT default. In a multi-project Docker daemon, keep
passing the detected project_slug explicitly after the session sweep.
completeness=draft is a maturity/trust state, not an unpublished private
draft. Accepted MCP writes are still published and Reader-visible when
visibility allows. Use visibility=private or the review workflow for content
that must not appear on the normal user surface.
Ask an agent to start work with project context:
Typical MCP loop:
pindoc.workspace.detectpindoc.task.queuepindoc.context_for_taskpindoc.artifact.proposepindoc.asset.upload(local_path=...) reads paths from the MCP server
host/container, not from the Windows client. For Docker Desktop, copy the host
file into the pindoc-server-daemon container first:
The script prints the JSON input for pindoc.asset.upload, including the
container-local /tmp/pindoc-asset-upload/... path.
For Reader-visible inline images, two steps are intentionally separate:
 in body_markdown; this controls rendering.pindoc.asset.attach with role="inline_image"; this records revision
metadata and evidence.The default Docker path is single-user and loopback-only:
| Variable | Default | Purpose |
|---|---|---|
PINDOC_DAEMON_PORT | 5830 | Host port used by Docker Compose. |
PINDOC_PROJECT | pindoc | Default project for unscoped reads/config. |
PINDOC_PUBLIC_BASE_URL | http://127.0.0.1:${PINDOC_DAEMON_PORT} | Public base URL used in generated links and OAuth metadata. |
PINDOC_BIND_ADDR | 127.0.0.1:5830 | Security intent. Non-loopback values require an IdP or explicit public unauthenticated opt-in. |
PINDOC_AUTH_PROVIDERS | empty | Identity providers enabled for external requests. Current provider: github. |
PINDOC_ALLOW_PUBLIC_UNAUTHENTICATED | false | Explicit opt-in for external exposure without an IdP. Use only behind a trusted network/reverse proxy. |
PINDOC_FORCE_OAUTH_LOCAL | false | Development flag that routes loopback /mcp calls through OAuth bearer auth for local QA. |
PINDOC_ALLOWED_ORIGINS | empty | Comma-separated CORS allowlist. Empty means same-origin only; set explicit origins for cross-origin frontends. |
PINDOC_DEV_MODE | false | Development-only flag that permits wildcard CORS for local tooling. Do not enable on public instances. |
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/pindoc)<a href="https://allmcps.com/mcp/pindoc"><img src="https://allmcps.com/api/badge/pindoc?style=directory" alt="Pindoc on AllMCPs" /></a>