PactAI MCP
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., "@PactAI MCPverify my latest changes still follow our documented conventions"
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.
PactAI
A shared knowledge layer for coding agents.
Every session your agent starts, it starts from nothing. It rediscovers the project's conventions — usually by violating one and being corrected — and the correction is thrown away when the session ends. The next agent, on a different tool, repeats it.
PactAI holds a project's decisions, conventions and constraints, serves each agent only what governs the file in front of it over MCP, and records whether the code still honors them.
Agents read the code. PactAI keeps the verdict. It never sees the source.
The three invariants
Everything here follows from these. They are not preferences.
Atoms are a projection of documents. Knowledge is extracted from versioned prose, never hand-minted, so it can be re-derived when models improve and always carries a citable source.
Everything an agent writes is born provisional. Human ratification is what makes the knowledge base worth querying — it is the mechanism that produces trust, not friction to be optimized away.
Source code never leaves the machine. Reconciliation runs inside the customer's own agent session. What comes back is a verdict and a
path:line.
Read docs/01-thesis.md for the argument and docs/02-principles.md for the
design rules that follow from it.
Related MCP server: constraints-registry-mcp
Status
Phase 0. Monorepo skeleton, core schema with row-level security, CRUD,
auth, CLI skeleton. There is no intelligence yet: extraction and embeddings do
not begin before phase 1. Most documents under docs/ are placeholders that
say so explicitly — do not infer a design from the existence of a file.
Stack
TypeScript on Node 26, pnpm and Turborepo. Hono with @hono/zod-openapi, where
Zod schemas are the single source that generates the OpenAPI spec, the typed
client and the CLI. Postgres 16 with pgvector (HNSW, 1024 dimensions), tsvector
and pg_trgm. pg-boss for the queue, with transactional enqueue. Row-level
security lands in the first migration, not later.
Getting started
nvm use # Node 26, per .nvmrc
pnpm install # also installs the git hooks
pnpm test # green with no database — integration tests self-skip
pnpm lint
pnpm exec tsc -bFor anything touching the database:
docker run --rm -d -p 5432:5432 -e POSTGRES_PASSWORD=pact \
--name pact-db pgvector/pgvector:pg16
cp .env.example .env
pnpm db:migrate
# The API refuses to start on a superuser or BYPASSRLS connection: such a role
# makes every tenant policy silently inactive while the application looks
# perfectly healthy. Create a restricted role once.
psql "$DIRECT_URL" -c "CREATE ROLE pact_api LOGIN PASSWORD 'pact_api' NOBYPASSRLS" \
-c "GRANT pact_app TO pact_api"
pnpm --filter @pactai/db run bootstrap "My org" "My name"
pnpm start # DATABASE_URL must be the pact_api roleMigrations and bootstrap run as the owner (DIRECT_URL); only the API uses
the restricted role.
The last command creates an org, a human actor and an API key, printing the key once — only its SHA-256 is stored. It is ops tooling rather than an endpoint on purpose: an unauthenticated route that mints the first credential is an unauthenticated route that mints credentials.
pactai login --key pact_sk_… --url http://localhost:8080
pactai project create "My project"
pactai doc push docs/*.md --project <id>
pactai export ./my-knowledge # full Markdown, yours to keepLayout
Package | Contents |
| pure domain logic, no I/O, no runtime dependencies |
| schema, reversible migrations, row-level security |
| HTTP API; Zod schemas generate everything downstream |
| pg-boss consumers |
| typed client generated from the committed OpenAPI artifact |
| the |
| MCP server — ten tools, and ten is a budget, not a start |
infra/openapi/openapi.json is committed on purpose. CI regenerates it and
fails on a diff, so a breaking API change shows up in review rather than at
someone's integration.
License
Deliberately split, one repository, two halves:
AGPL-3.0-only —
api,core,db,worker. Running a modified PactAI as a network service obliges you to publish the modifications.Apache-2.0 —
cli,mcp,sdk. These run on your own machine and are integration surface; integration surface with a copyleft obligation attached does not get integrated.
See NOTICE.
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-qualityAmaintenanceProvides local codebase intelligence as an MCP server, enabling AI agents to query dependencies, assess change impact, and produce tamper-evident change evidence packets.Last updated504Apache 2.0
- AlicenseAqualityAmaintenanceA single, queryable source of engineering constraints that coding agents consult at code-generation time, exposed over an MCP server.Last updated3Apache 2.0

testigo-recall-mcpofficial
FlicenseAqualityCmaintenanceMCP server that exposes pre-extracted facts about code behavior, design decisions, and assumptions to AI agents, saving time and tokens by avoiding direct source file reading.Last updated6- Alicense-qualityAmaintenanceLocal-first MCP server that provides project context, verification gates, and structured tools for coding agents to discover knowledge, run diagnostics, and execute allowlisted commands within a repository.Last updated28MIT
Related MCP Connectors
The project brain for AI coding agents — memory, decisions, sprints, knowledge base via MCP.
Control plane for autonomous software labor. Agents claim objectives over MCP with audit trail.
A MCP server built for developers enabling Git based project management with project and personal…
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/hexablob/pact.ai'
If you have feedback or need assistance with the MCP directory API, please join our Discord server