Provenance-aware memory format for AI agents: every claim carries its source, age and boundary.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag β we're steadily working through the catalog.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Inspect callable tools, capabilities, and parameters exposed to AI agents by Tugra.
fact_searchSearch the vault. Retired/rotten omitted unless `archive: true`.
fact_readRead one fact by `uid`. Body is escaped before the model sees it.
fact_proposeWrite a draft. Secret patterns are rejected before any write. `type: "boundary"` is always quarantined.
event_reportAppend a local telemetry line. No network.
That creates a vault, writes a sample fact, and prints a config block. Paste the block into your MCP client. On a TTY, npx tugra prints help and exits. Piped (Claude Desktop, Cursor, Claude Code) it is the MCP server.
Provenance-aware memory for AI agents. Every claim carries its source, its age, and its boundary. There is no cloud.
A fact that cannot name where it came from is not a fact. Tugra stores each claim as a file whose frontmatter holds source, last verification date, shelf life, and β when the topic is off-limits β a boundary that forbids invention. Search ranks by token score, then freshness, then confidence. Retired and rotten facts stay out of the default set.
| Tool | What it does |
|---|---|
fact_search | Search the vault. Retired/rotten omitted unless archive: true. |
fact_read | Read one fact by uid. Body is escaped before the model sees it. |
fact_propose | Write a draft. Secret patterns are rejected before any write. type: "boundary" is always quarantined. |
event_report | Append a local telemetry line. No network. |
Stored field names stay in the vault's native shape (kaynak, guven, raf_omru, sinir). The tool names and parameter names above are the public contract.
tugra init is enough to start. Override the two paths only if you already have a vault elsewhere. Without them, the server looks next to the installed package β that is wrong for a bare npx with no init.
TUGRA_KASA β vault (markdown facts)TUGRA_AKIS β telemetry directoryAuthorization: if no authorization store is configured, single-user mode is on β search and propose work without a profile. If an authorization store is configured (a yetki/ directory, or TUGRA_YETKI), each agent needs a JSON profile or search returns unauthorized.
claude_desktop_config.json:
.mcp.json at the project root, or claude mcp add:
.cursor/mcp.json or Cursor Settings β MCP:
mcp_config.json:
~/.codex/config.toml:
Windows: use a full path (C:\\Users\\β¦\\vault). Node 20 or newer.
More client notes: docs/install.md.
Single-user setups do not need this. Add TUGRA_YETKI only when several agents share one vault and each needs its own profile (mcp-readonly@tugra and others as JSON files in that directory). A missing profile then returns unauthorized. An empty TUGRA_YETKI is treated as unset β single-user mode stays on.
The MCP tools (fact_search, fact_read, fact_propose, event_report) enforce authorization on every call. The published package also ships dist-paket/akis.js and dist-paket/yetki.js so a host application (cron, mirror, cockpit) can write telemetry without going through JSON-RPC.
Those modules are public on purpose. akisBildir({ atlaYetki: true }), eylem: "yetki_talebi", and dosyaYoksaIzin (default true) skip or relax the check. harcamaEkle mutates a profile. The host that imports them owns authorization. The MCP wire cannot set these flags β the tool schema does not accept them.
A0βA5 levels are facts (yonetisim.yetki.a0 β¦ a5) in a vault. The stdio server reads them from TUGRA_KASA, or from the cockpit kasa/ when that variable is unset.
tugraArac / createTugraMcp take an optional kasaKok (the write/search target). Scale does not follow that target. It defaults to varsayilanKasa() β the same central vault the stdio server uses. A host that points kasaKok at a data-only tree keeps using the cockpit / TUGRA_KASA scale. To read scale from a different tree, pass skalaKasa explicitly.
All four tools share one resolver. This is the contract: separate target + central governance stays reachable. YAYIN/12 briefly defaulted scale to kasaKok; that broke the split-root host. YAYIN/13 restores the central default.
npx tugra is a local stdio process.This package is not published as a SaaS. There is no price table here.
<vault>/_konu-haritasi.json β { "desen", "bayrak", "konu" } rules in
harita, alt_kirilim, and stem. If the file is missing the map is empty:
unknown text falls back to kurum.genel or dunya.<world>.genel. Broken or
over-long patterns are skipped and logged. This package does not ship a
company taxonomy.
Apache-2.0. See LICENSE and NOTICE.
The marketing page lives in ../site/ (npm run preview there). It is not deployed from this package.
Compatibility: TALAMUS_* and MULTI_* names still work as fallback if TUGRA_* is unset.
Factual signals from GitHub, npm, and our automated checks β not a rating.
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/tugra)<a href="https://allmcps.com/mcp/tugra"><img src="https://allmcps.com/api/badge/tugra?style=directory" alt="Tugra on AllMCPs" /></a>