anti-rea-mcp

v2.8.2
io.github.dankezo/anti-rea-mcp Checked 1 hour ago Published 21 days ago

antiRea advisory bot-abuse signals as stateful MCP sessions (evaluation and demos).

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

list_signals List antiRea signal kinds

Returns the 8 signal kinds this server can open sessions for, the library factory behind each, and the exact event shape observe() expects per kind. No session needed.

create_signal Create a signal session

Creates one antiRea signal instance (from @dannyphan190/anti-rea) and holds it in an in-memory session. kind is one of the 8 from list_signals. options are forwarded verbatim to the library factory - seat-occupancy and room-guard REQUIRE options { capacity: number }; for all other kinds options may be omitted (lab-frozen defaults - do not retune silently). Returns the sessionId to feed with observe.

ParameterTypeDescription
kind *string
optionsobjectFactory options, forwarded verbatim (seat-occupancy and room-guard: { capacity } is required).
sessionIdstringCaller-chosen session id. Omit to have the server generate one.

observe Feed one event into a signal session

Forwards one event to the session instance's observe(). Fill only the fields the session's kind uses (see list_signals): herd-phase / activity-phase / vote-brigading / herd-tightness use { identity, ts } (vote-brigading also takes accountCreatedTs); seat-occupancy and room-guard use { type, identity, ts, accountCreatedTs? }; room-hop uses { identity, room, ts }; reconnect-storm uses { source, kind, ts }. ts is a millisecond timestamp. Returns the library's observation object (e.g. { status, counted }). Feed ONE homogeneous stream per session.

ParameterTypeDescription
sessionId *string
accountCreatedTsnumberseat-occupancy / room-guard / vote-brigading: account creation time in ms, when known.
identitystringAuthenticated identity (all kinds except reconnect-storm).
kindstringreconnect-storm only: socket event kind.
roomstringroom-hop only: the room joined.
sourcestringreconnect-storm only: session/account key - never an IP address.
tsnumberMillisecond timestamp of the event.
typestringseat-occupancy / room-guard only: the seat-lifecycle event type.

observe_reference Feed the reference stream (herd-tightness only)

Forwards { identity, ts } to a herd-tightness session's observeReference() - the established, known-legitimate population the cohort is standardised against. Only herd-tightness instances have this method in the library; other kinds return an error.

ParameterTypeDescription
identity *string
sessionId *string
ts *number

evaluate Evaluate a signal session

Runs the session instance's evaluate() and returns its JSON result verbatim. args are forwarded as the evaluate options object: { cohortWindowMs } for herd-phase / activity-phase (scoping is part of the law for room streams - use 86400000), { asOfTs } for the other kinds. Omit args to evaluate with defaults. Every result is advisory (enforcement: "none").

ParameterTypeDescription
sessionId *string
argsobjectEvaluate options forwarded verbatim, e.g. { cohortWindowMs: 86400000 } or { asOfTs: 1730000000000 }.

close_signal Close a signal session

Drops the session and its in-memory signal instance. State is not persisted anywhere.

ParameterTypeDescription
sessionId *string