Skip to main content
Glama
ostinatocc

Aionis MCP Server

by ostinatocc
README.md
# @aionis/mcp

MCP transport for Aionis Verified Continuity.

Start a Runtime installed with a real project verifier, then configure your MCP
host to launch the bridge:

```json
{
  "mcpServers": {
    "aionis": {
      "command": "npx",
      "args": [
        "-y",
        "@aionis/mcp@next",
        "--base-url",
        "http://127.0.0.1:3001",
        "--scope-from",
        "workspace"
      ],
      "env": {
        "AIONIS_TENANT_ID": "local"
      }
    }
  }
}
```

The bridge does not implement another continuation engine. It transports the
same serialized SDK `AgentSession` handle between MCP calls:

```text
aionis_session_begin
  -> aionis_session_turn
  -> Agent action
  -> aionis_session_action
  -> aionis_session_verify
  -> aionis_session_finish
```

Persist the returned `handle` after every call. After interruption, pass that
handle to `aionis_session_resume`. The Runtime owns state capture and verifier
authority; `aionis_session_finish` returns `completed` only when the configured
verifier passes, otherwise it returns continuation/recovery state.

## Tools

| Tool | Product behavior |
|---|---|
| `aionis_session_begin` | Begin the canonical SDK AgentSession and return its portable handle. |
| `aionis_session_resume` | Resume an interrupted session from that handle. |
| `aionis_session_turn` | Record an observation and return the SDK-rendered Agent prompt. |
| `aionis_session_action` | Record the host action result and capture the new subject state. |
| `aionis_session_verify` | Run the Runtime-owned project verifier. |
| `aionis_session_finish` | Complete only after verifier success; otherwise continue/recover. |
| `aionis_guide` | Get the canonical SDK Agent context without MCP-side rendering. |
| `aionis_feedback` | Submit exact guide-attributed feedback. |
| `aionis_rehydrate` | Recover exact archived memory. |
| `aionis_forget` | Suppress, unsuppress, rehydrate, or activate memory. |
| `aionis_remember` | Store ordinary project memory. |
| `aionis_health` | Check Runtime reachability. |

When the MCP host starts outside the repository, add `--repo-root
/absolute/path/to/repo`. `--scope-from workspace` persists a stable
`.aionis/workspace.json` identity so new processes continue in the same scope.

TDQS

C2.9/5.0

Scored across 12 tools

Disambiguation3/5

Most tools have distinct purposes, but 'aionis_forget' explicitly includes rehydrate/activate actions while a separate 'aionis_rehydrate' tool exists, creating potential confusion. Session tools are clearly separated by lifecycle stage.

Naming Consistency4/5

All tools share the 'aionis_' prefix, and session tools follow a consistent 'session_<verb>' pattern. However, single-word verbs/nouns like 'forget', 'remember', and 'health' break the compound pattern, making the style slightly mixed.

Tool Count5/5

12 tools is a well-scoped count for a memory and session management server. Each tool covers a distinct aspect of the domain without excessive granularity.

Completeness4/5

The tool surface covers the session lifecycle (begin, resume, turn, action, verify, finish) and memory operations (remember, forget, rehydrate) comprehensively. Minor gaps exist, such as no explicit session listing or deletion, but core workflows are supported.

Maintenance

ActivityStale
ResponsivenessNo issues