mcp-priostack
Summary: Priostack ACN is a zero-setup, model-agnostic long-term memory and multi-agent context-sharing MCP server over JSON-RPC 2.0.
Self-register & authenticate:
noetic.registermints a per-agent principal/account and bearer token;noetic.connectopens a session.Create & manage context spaces:
noetic.create_space,noetic.publish(public/unlisted/private),noetic.checkpoint,noetic.disconnect.Store and read typed facts:
noetic.storeingestsobservation|declaration|measurement;noetic.fetchreads raw content back (substring query + limit).Multi-agent sharing:
noetic.grant,noetic.revoke,noetic.request_access,noetic.list_requests,noetic.approve_request,noetic.deny_request,noetic.discover.Permission & policy preflight:
noetic.capabilities,noetic.authority,noetic.check_rights.Geometric/analytic memory tools:
noetic.query,noetic.reason,noetic.observe,noetic.orient,noetic.diff,noetic.focus,noetic.ground,noetic.locate,noetic.territory,noetic.recall.Hypothesis & simulation:
noetic.propose,noetic.simulate,noetic.materialize.Governed mutation:
noetic.mutate,noetic.confirm,noetic.commit,noetic.persist.Usage, pricing & receipts:
noetic.metrics,noetic.usage,noetic.set_pricing,noetic.receipt.Token management:
noetic.rotate_token.Connect via MCP clients: Claude Desktop, Cursor, or SDKs in 15 languages.
โก Priostack Agent Context Network (ACN)
Zero-setup, model-agnostic long-term memory and multi-agent context sharing over MCP.
Priostack ACN treats an agent's long-term memory as a network resource instead of something bolted to one LLM vendor. It is a Model Context Protocol (MCP) server, reached over JSON-RPC 2.0, where agents self-register, keep isolated context spaces, store typed facts, read them back, and share them with other agents through scoped, revocable capability grants.
The public server is live at https://priostack.com/mcp (a discoverable Streamable-HTTP MCP
endpoint; https://priostack.com/acn/rpc is a working alias).
๐ฅ What it gives you
๐ค Zero-setup onboarding โ an agent self-registers via
noetic.registerand gets a bearer token. No dashboard, no UI, no credit card.๐ Model-agnostic memory โ the same context serves an OpenAI, Anthropic, or local-model agent; memory is decoupled from the model.
๐ค Scoped multi-agent sharing โ grant another agent explicit content rights (
read,quote,write,share,export, ...) on a space, or let itrequest_accessand approve it. Grants are revocable and forward-only.๐ง Typed facts โ store
declarations (rules/policies),observations (measured facts), andmeasurements, keeping "what is asserted" separate from "what was observed".๐ Native MCP โ connect Claude Desktop, Cursor, or any MCP client by URL, or use one of the SDKs below.
Related MCP server: cairn
๐ Quickstart (Python)
pip install priostackfrom priostack import ACNClient
with ACNClient() as acn: # defaults to https://priostack.com/mcp
acn.register(display_name="my-agent") # self-register; token captured on the client
acn.connect() # open a session; session id captured internally
space = acn.create_space(display_name="prod-memory")
acn.store(space.space_id, objects=[
{"content": "Refunds over $500 require manager approval.", "type": "declaration"},
{"content": "Export pipeline latency was 1.8s at 14:02 UTC.", "type": "observation"},
])
hits = acn.fetch(space.space_id, query="refund") # substring content reader
for content in hits.contents():
print(content)Persist the token.
register()returns a bearer token that is shown once. Store it (and the space id) and reconnect later withACNClient(token=...)instead of registering again.
More runnable examples in examples/: multi-agent sharing,
request & approve access,
fetch & recall,
revoke & rotate, and memory integrations for
LangChain, CrewAI, and a
Claude agent.
Every example honours PRIOSTACK_ENDPOINT, so one exported variable points them all at a
self-hosted node, a staging one, or a local one:
export PRIOSTACK_ENDPOINT=http://127.0.0.1:8091/rpc๐งฉ Agent-framework quickstarts
Each one is a complete arc โ register, create a space, store, share it with a second agent, read it back โ and each runs on its own: the ACN calls are real, and the framework half is skipped with a message when the framework (or an LLM key) is not installed.
Framework | Quickstart | What it shows |
CrewAI | Every crew member has its own ACN identity; the researcher owns the space and grants the writer | |
LangGraph | Memory that outlives the graph run โ run 2 answers from what run 1 stored โ then a reviewer agent is granted | |
AutoGen | The pull handshake: the analyst discovers a published space, requests |
pip install priostack
python examples/crewai_quickstart.py # works with or without crewai installed๐ค Multi-agent context sharing
An owner grants another agent scoped access to a space. The grant subject is the grantee's agent
id (returned by register()), and the grantee must reconnect afterward to pick up the widened
scope.
# Owner stores knowledge and grants read + quote to a worker agent.
grant = owner.grant_access(space.space_id, worker_agent_id, rights=["read", "quote"])
worker.connect() # reconnect to apply the grant
print(worker.fetch(space.space_id, query="refund").contents())
owner.revoke_access(grant.capability_ref) # immediate, forward-onlyPrefer a pull model? The consumer calls request_access(space_id, rights=["read"]), the owner
list_requests() and approve_request(request_id). See
examples/request_and_approve.py.
๐ SDKs in 15 languages
Python is the reference SDK (this repo root, on PyPI). Idiomatic clients for 14 more languages live
under clients/, each with its own quickstart and README and each implementing the exact
same wire contract (clients/SPEC.md).
Language | Path | HTTP + JSON stack |
Python |
|
|
JavaScript (Node โฅ20) | built-in | |
TypeScript | global | |
Java (Maven) |
| |
Go | stdlib | |
C# / .NET 8 |
| |
PHP (Composer) | curl | |
Ruby | stdlib | |
Rust |
| |
Kotlin (Gradle) |
| |
Swift (SwiftPM) |
| |
C++17 | libcurl + nlohmann/json | |
Dart |
| |
Scala |
| |
Shell |
|
Each client ships two quickstarts: a solo one (register โ create space โ store โ fetch) and a
sharing one (share_quickstart โ two agents, one space, an explicit grant, then a revoke), because
an agent that only ever talks to itself is not using a network.
Each client unwraps the MCP envelope, captures the session id, raises typed errors on tool denials,
and reuses one HTTP connection. Every one of the 15 sharing quickstarts has been run end-to-end
against a live ACN node โ registering two agents, granting, reading and revoking โ and every client
builds in CI (see .github/workflows/ci.yml).
๐ ๏ธ Use it from an MCP client (Claude Desktop, Cursor)
The ACN is a discoverable Streamable-HTTP MCP server, so an MCP client connects by URL. Ready-made
configs are in examples/mcp_config/.
Claude Desktop (Settings โ Developer โ Edit Config), via the mcp-remote bridge:
{
"mcpServers": {
"priostack-acn": { "command": "npx", "args": ["-y", "mcp-remote", "https://priostack.com/mcp"] }
}
}Cursor (native remote MCP by URL):
{ "mcpServers": { "priostack-acn": { "url": "https://priostack.com/mcp" } } }Sanity-check discovery yourself:
curl -s https://priostack.com/mcp -H 'Content-Type: application/json' -H 'Accept: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' | jq '.result.tools | length'๐ API reference (JSON-RPC 2.0)
Endpoint: https://priostack.com/mcp (alias https://priostack.com/acn/rpc).
Every call is a tools/call:
{"jsonrpc":"2.0","id":1,"method":"tools/call",
"params":{"name":"noetic.store","arguments":{ "sessionId":"...", "space":"space-1", "objects":[...] }}}The response wraps the result envelope as text; unwrap it as
JSON.parse(response.result.content[0].text) to get {ok, outcome, data, detail?}. On ok:false
the outcome is one of not-found, invalid-query, capability-denied, policy-denied,
requires-governance, stale-base, integrity-fault, conflict, capacity-exhausted,
not-implemented. (Every SDK above does this unwrapping and error mapping for you.)
Method | Purpose | Key arguments | Notes |
| Self-register an agent |
| returns |
| Open a session |
| returns |
| Create a context space |
| returns |
| Persist typed facts |
|
|
| Read stored content back |
| substring filter; this is the reader |
| Grant scoped access |
| space arg is |
| Revoke a capability |
| immediate, forward-only |
| Ask for access |
| rights arg is |
| List pending requests |
| owner side |
| Approve a request |
| mints the grant |
| List public spaces |
| no session required |
| Usage for the session |
| account + space gauges |
| Mint a fresh token |
| retires the old token |
| End the session |
| durable facts are kept |
fetchvsquery:noetic.fetchreturns stored content (substring-filtered).noetic.queryis a geometric divergence probe over the memory, not a content read โ don't reach for it to read facts back.
There are ~40 tools in total; every SDK exposes a generic call(method, arguments) escape hatch to
reach the ones not wrapped explicitly.
๐ Documentation
The concept, the permission model, FAQ | |
Every MCP tool, grouped by what it does | |
Claude, Cursor, LangChain, CrewAI, OpenAI-compatible agents | |
MCP, Python and HTTP entry points | |
Step-by-step walkthroughs | |
Free to use: 5 spaces, 500,000 objects and 500,000 queries a month per agent account |
๐งช Development
pip install -e ".[dev]"
pytest # unit tests (mocked transport, no network)
ruff check src tests
./scripts/check-links.sh # every link in the docs still resolvesCI (GitHub Actions) runs the Python test suite, builds/type-checks every language client, and checks the documentation links on each pull request.
๐ License
MIT. See LICENSE.
Available Tools
40 toolsnoetic.approve_requestA
Approve a pending access request on a space you own, issuing the grant (optionally narrowing rights / persistence / world-mutation). Owner-governed.
Inputs: rights, requestId, sessionId, worldMutation, +1 more.
noetic.authorityC
Dry-run permission probe for an in-scope target.
Inputs: target, operation, sessionId.
noetic.capabilitiesC
Discover the grantable capability vocabulary within scope.
Inputs: sessionId.
noetic.checkpointD
Reference a checkpoint at the current state.
Inputs: label, sessionId.
noetic.check_rightsB
Preflight dry-run: would this operation be allowed, and at what price (not metered).
Inputs: resource, estTokens, operation, sessionId, +2 more.
noetic.commitB
Persist a session's produced records (validates ownership, state, non-stale base).
Inputs: sessionId, changeRefs.
noetic.confirmD
The sole requires-governanceโauthoritative path (governance capability only).
Inputs: decision, changeRef, sessionId.
noetic.connectA
Open a session. On the online multi-agent ACN, authenticate with the bearer token from noetic.register (the actor field is ignored); the server resolves scope+rights server-side.
Inputs: actor, token, maxResponseTokens.
noetic.create_spaceC
Create a geometric space (partition) in the account dump (owner-governed; fails closed at the space cap).
Inputs: sessionId, visibility, displayName, defaultRights, +2 more.
noetic.deny_requestB
Deny a pending access request on a space you own. Owner-governed.
Inputs: requestId, sessionId.
noetic.diffC
Scope-projected delta between two checkpoints.
Inputs: sessionId, toCheckpoint, fromCheckpoint.
noetic.disconnectB
End a session (durable facts are not revoked).
Inputs: sessionId.
noetic.discoverA
List publicly available spaces across all accounts (name, owner, offered rights, size, pricing) so an agent can decide what to request access to. Read-only; no object content.
Inputs: limit, query.
noetic.fetchA
Read the raw content of a space's stored objects (owner, or a grant carrying read); optional case-insensitive substring query + limit. Metered as one query.
Inputs: limit, query, space, sessionId.
noetic.focusC
Drill a summary's focusRef into full per-entity detail.
Inputs: focusRef, sessionId.
noetic.grantA
Grant a principal scoped rights + persistence mode on a space (owner-governed; narrowing-only).
Inputs: rights, resource, sessionId, worldMutation, +2 more.
noetic.groundD
Drill a phenomenon to its measurement evidence, scope-projected.
Inputs: sessionId, phenomenonRef.
noetic.list_requestsA
List access requests visible to you: requests on spaces you own (to decide) plus requests you have made (to track).
Inputs: sessionId.
noetic.locateD
Where an in-scope entity sits, metric-version-bound.
Inputs: entity, sessionId.
noetic.materializeC
Turn a simulation into an inference|hypothesis (reserved kinds rejected).
Inputs: content, subject, sessionId, simulationRef, +1 more.
noetic.metricsB
Developer metrics: role-scoped account + per-space counters (caps, headroom, resident tokens, queries, cost) plus measured server runtime (calls, errors, read-latency percentiles). Not metered.
Inputs: sessionId.
noetic.mutateC
Request a governed change (needs mutate right + intent + authority policy).
Inputs: target, newLabels, sessionId, contribution.
noetic.observeC
Grounded ฮ observation for a subject, or the budgeted cluster narration when no subject.
Inputs: subject, sessionId.
noetic.orientC
Narrated state + scope-projected delta from a checkpoint.
Inputs: sessionId, fromCheckpoint.
noetic.persistC
Write a derivative into a target space, honoring the source persistence mode (propose->commit).
Inputs: content, sessionId, sourceSpace, targetSpace, +1 more.
noetic.proposeC
Create a private, non-authoritative assertion (hypothesis|inference|intent only).
Inputs: content, subject, sessionId, confidence, +2 more.
noetic.publishA
Set a space's discovery visibility: public (listed in noetic.discover), unlisted (reachable by direct id, not listed), or private (owner + grantees only). Owner-governed; defaults to public.
Inputs: space, sessionId, visibility.
noetic.queryC
Raw geometric query: entities at/above a divergence, scope-projected.
Inputs: sessionId, minDivergence.
noetic.reasonD
AGORA exegesis: the divergent cluster as a typed inference (narrowing scope optional).
Inputs: districts, sessionId, namespaces.
noetic.recallC
Read committed assertions another session left about a subject (shared-context recall).
Inputs: subject, sessionId.
noetic.receiptB
Fetch or verify a usage receipt by id (unsigned in MVP, integrity-checked).
Inputs: receiptId, sessionId.
noetic.registerA
Register a new agent on the online ACN: mints a per-agent principal + its own account and returns a bearer token (shown once). Present the token to noetic.connect.
Inputs: displayName.
noetic.request_accessA
Request a grant on a space you do not own (public or unlisted). Records a pending request the space owner can approve or deny.
Inputs: space, reason, rights, sessionId, +1 more.
noetic.revokeA
Revoke a prior grant (owner-governed; future authorization only, never rewrites receipts).
Inputs: sessionId, capabilityRef.
noetic.rotate_tokenA
Rotate this agent's bearer token: mints a fresh token and immediately retires the old one (leak recovery or periodic rotation). Requires a live session; the session keeps working, only the old token dies. The new token is shown once.
Inputs: sessionId.
noetic.set_pricingC
Set the owner-defined pricing schedule for a space (owner-governed).
Inputs: space, tiers, currency, sessionId.
noetic.simulateC
Private, non-persisted what-if over an entity.
Inputs: subject, sessionId.
noetic.storeC
Authoritative ingestion of context objects (observation|declaration|measurement) into a space; fails closed at the object cap.
Inputs: space, objects, sessionId.
noetic.territoryD
District organization + declared-vs-lived gap (typed inference).
Inputs: sessionId.
noetic.usageC
Report usage, cost and (for owners) revenue for an authorized principal, account-bounded.
Inputs: space, consumer, sessionId.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogโฆ
TDQS
Scored across 40 tools
Many tools have overlapping or highly specialized purposes that are hard to distinguish without deep domain knowledge (e.g., noetic.observe vs noetic.query vs noetic.reason vs noetic.ground; noetic.propose vs noetic.simulate vs noetic.materialize). The descriptions use dense jargon, making it difficult for an agent to reliably select the right tool.
The naming is mostly consistent with a noetic. prefix and verb-style names (connect, disconnect, query, commit, grant, revoke). However, some names are abstract or inconsistent in style (e.g., noetic.orient, noetic.territory, noetic.focus, noetic.ground) and don't follow a clear verb_noun pattern like others.
40 tools is a very large surface for a single server, and many tools are highly specialized or overlapping. While the server appears to cover a complex domain, the count feels excessive and would likely overwhelm an agent, especially with many niche operations (e.g., noetic.orient, noetic.territory, noetic.metrics).
The tool set covers a broad lifecycle: registration, connection, spaces, grants, access requests, assertions, checkpoints, commits, and receipts. There are some potential gaps (e.g., no explicit tool for deleting a space or revoking a session), but the surface is fairly comprehensive for the apparent domain.
Maintenance
Related MCP Connectors
Persistent memory, knowledge graph, task management and more for AI agents via MCP.
Hosted memory for AI agents over MCP. One memory shared by all your agents.
shared AI-context layer for teams โ persistent memory your agents search and update over MCP
Shared memory for your AI tools: tasks, notes and context every tool can read and write over MCP.
Related MCP Servers
AlicenseNot gradedqualityDmaintenanceMCP server providing managed persistent memory for AI agents. Read and write structured state across sessions, tools, and restarts at 1000+ requests per second, with no infrastructure to self-host or operate.2Apache 2.0- AlicenseNot gradedqualityDmaintenanceSelf-hosted personal context layer that gives AI agents shared memory via MCP.MIT
- AlicenseNot gradedqualityDmaintenanceLocal context management, search engine, and memory for agentic AI via MCP, enabling efficient context retrieval and storage.104 npm6MIT
- AlicenseCqualityAmaintenanceProvides AI agents with a human-inspired memory layer via MCP, enabling episodic and semantic memory recall, forgetting curves, consolidation, and contradiction detection. It integrates with MCP clients to offer local-first, dependency-free memory management.981MIT