Perseus Computing MCP Server
for AI Agents
Connect your AI agent to StackOne's Perseus Computing MCP server and give it ready-to-use MCP tools out of the box. Auth, tool execution, and security all managed.
Coverage
7 Agent Actions
Read-only access to Perseus Computing. Extend your agent's capabilities with custom actions.
Authentication
Agent Tool Authentication
Per-user OAuth in one call. Your Perseus Computing MCP server gets session-scoped tokens with zero credentials stored on your infra.
Agent Auth →Security
Agent Protection
Every Perseus Computing tool response scanned for prompt injection in about 2.5 ms, with 0.94 F1 on tool-response attacks, all running on a CPU.
Prompt Injection Defense →Performance
Max Agent Context. Min Cost.
Free up to 96% of your agent's context window to enhance reasoning and reduce cost, on every Perseus Computing call.
Tools Discovery →What is the Perseus Computing MCP Server?
A Perseus Computing MCP server lets AI agents read Perseus Computing data through the Model Context Protocol, Anthropic's open standard for connecting LLMs to external tools. StackOne's Perseus Computing MCP server ships with pre-built actions, fully extensible via the Connector Builder, plus managed authentication, prompt injection defense, observability, and agent execution runtime. Connect it from MCP clients like Claude Desktop, Claude Code, Cursor, Goose, and VS Code, or from agent frameworks like OpenAI Agents SDK, LangChain, and Vercel AI SDK.
All Perseus Computing MCP Tools
Every StackOne action for Perseus Computing, ready for your agent. Read-only, scoped to exactly what you need.
Seal RFC 8785 SHA-256 Audit Chains
- Seal RFC 8785 SHA-256 Audit Chain
Use this to compute canonical RFC 8785 (JCS) JSON and linear SHA-256 hash-chain digests for a sequence of agent audit events, from GENESIS or from the head_hash of an earlier segment (prev_hash; then the first event must give its sequence). Sequences rise by exactly one. Rejects fractions (use integer basis points *_bp) and integers beyond +/-(2**53 - 1) (send them as strings). An event without a timestamp is sealed with timestamp null; no time is invented. To check the chain, pass the returned events to argus_audit_verify unchanged, a null timestamp included. Stateless: the sealed events are returned, not stored.
Verify SHA-256 Audit Ledger Continuitys
- Verify SHA-256 Audit Ledger Continuity
Use this to cryptographically verify a linear SHA-256 Argus audit chain and isolate the first event that is altered, malformed, out of sequence or unlinked. Pass the sealed events exactly as argus_audit_seal returned them, with timestamp null where it is null; a missing or retyped field makes the chain invalid, nothing is defaulted. The result proves the listed events are unaltered and linked from anchor_prev_hash (starts_at_genesis says whether that is GENESIS). It cannot detect events removed from the end of the list: compare head_hash and total_events with values you already trust.
Synthesize & Prune Context (Exact Knapsack)s
- Synthesize & Prune Context (Exact Knapsack)
Use this when you need to pack candidate context items deterministically into a strict token budget. Same selection as the harpe 0.1.0a13 library: the budget optimised against is total_budget minus the three reserves (returned as effective_budget); pinned items and priority-0 items are always kept; the rest are chosen by `policy`. Priority runs 0-100 and a LOWER number is MORE important. The position of an item in `items` is its age: first = oldest. Limits: at most 4096 items, and knapsack_dp is refused (nothing packed, error names max_knapsack_cells) when candidates x (capacity / common divisor of token counts + 1) exceeds 4,000,000. Token counts are a deterministic estimate, not a model tokenizer.
Evaluate Token Budget & Margins
- Evaluate Token Budget & Margins
Use this when you need to compute available context tokens, safety margin deductions, and utilization percentage for a model token window. The result is arithmetic on the numbers of this call and knows nothing about any model's real window: available_context is total_budget minus reserved_completion (default 2048), reserved_tools (default 1024) and safety_margin (default 512), never below 0, and reserved_total is the sum of the three. When the reserves are larger than total_budget, reserves_exceed_budget is true and shortfall_tokens says by how much. available_context 0 means no context fits; utilization_pct is then 100 whatever current_usage is, and is_exceeded stays false while current_usage is 0.
Telarch Inspectors
- Telarch Inspector
Render the interactive Telarch Inspector UI: three tabs for Harpe exact knapsack token packing, Kibisis epistemic memory conflict resolution, and Argus SHA-256 audit chain verification. Pass `items`, `records` or `events` to show data from this conversation: the Harpe tab packs the items exactly as harpe_synthesize_context does for the same arguments, the Kibisis tab resolves the records as kibisis_resolve_memory does, and the Argus tab shows the sealed events with the result of the argus_audit_verify check. A tab that is given no data shows built-in demonstration data, and every tab says which of the two it shows (also returned as data_source). The same limits and refusals apply as in those three tools. Nothing is stored.
Resolve Epistemic Memory & Conflicts
- Resolve Epistemic Memory & Conflicts
Use this to work out which of the memory records you pass in `records` are active: revoked records are tombstoned, superseded records are dropped (a record that is not verified never displaces a verified one; `supersedes_key` applies to every record with that key), a requested scope other than the active scope is refused, and a write_attempt that claims epistemic_state 'verified' without origin 'user' is refused. Active records matching `query` are returned in a <kibisis-recall trust="untrusted-stored-text"> envelope with markup characters escaped. Refused: two records with the same category and key, and records that supersede each other in a loop. A `supersedes_key` that names no record of the call is allowed and is listed in `unresolved_supersedes`. Stateless: this server stores no memory. It resolves the records of this call; when `records` is left out it resolves three built-in demonstration records and the result says records_source "demonstration".
Evaluate Monotonic Fencing Leases
- Evaluate Monotonic Fencing Lease
Use this to evaluate whether a concurrent agent holder's fencing token and lease expiry permit a vault mutation or must be rejected to prevent split-brain writes. It checks only the numbers of this call (this server keeps no lease table): a token below highest_token_seen is refused, an expired lease is refused, and lease_expires_epoch without now_epoch is refused.
Set Up Your Perseus Computing MCP Server in Minutes
One endpoint. Any framework. Your agent is talking to Perseus Computing in under 10 lines of code.
Agent Frameworks
{
"mcpServers": {
"stackone": {
"command": "npx",
"args": [
"-y",
"mcp-remote@latest",
"https://api.stackone.com/mcp?x-account-id=<account_id>",
"--header",
"Authorization: Basic <YOUR_BASE64_TOKEN>"
]
}
}
}Platform Resources
Comparing BM25, TF-IDF, and Hybrid Search for MCP Tool Discovery
Benchmarking BM25, TF-IDF, and hybrid search for MCP tool discovery across 916 tools. The 80/20 TF-IDF/BM25 hybrid hits 21% Top-1 accuracy in under 1ms.
10 min
Indirect Prompt Injection Defense for MCP Tools: A Technical Guide
MCP tools that read emails, CRM records, and tickets are indirect prompt injection vectors. Here's how we built a two-tier defense that scans tool results in ~11ms.
12 min
MCP vs A2A: Architecture, Security, and When to Use Each
MCP vs A2A: what each protocol standardizes, how they differ, the security risks they share, and when to use one, both or a hybrid.
12 min
MCP vs API: What Hundreds of Connector Builds Taught Us
MCP wraps APIs, it doesn't replace them. After building hundreds of connectors that serve both, here's when each approach wins.
14 min read
FAQ
Perseus Computing MCP Server FAQ
origin_owner_id.