🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

veriswarm-mcp

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

veriswarm-mcp

VeriSwarm MCP Server — Trust infrastructure for AI agents via Model Context Protocol

pipPyPI
Version
0.4.0
Weekly downloads
78
Maintainers
1

VeriSwarm MCP Server

PyPI version Python versions MCP Registry

Trust infrastructure for AI agents via Model Context Protocol.

Quick Start

pip install veriswarm-mcp
veriswarm-setup

The setup wizard configures everything for your platform (Claude Code, Gemini CLI, or Codex):

  • MCP Server — 90+ tools spanning trust scoring, Guard security, Passport identity (including JIT access grants), Vault audit, compliance (OWASP/EU AI Act/NIST/ISO 42001), Cedar policies, ABAC agent attributes, SRE (circuit breakers + SLOs), context governance, cross-model verification, content provenance (EU AI Act Art. 50), and A2A transport keys
  • Guard Hooks — Automatic PII protection for prompts and tool calls
  • Guard Proxy — Transparent MCP interception for any tool server (optional)

What the hooks do

HookEventAction
Prompt GuardUserPromptSubmitBlocks prompts containing PII (emails, SSNs, etc.)
Tool Input GuardPreToolUseTokenizes PII in tool arguments before execution
Tool Output GuardPostToolUseTokenizes PII in tool responses before the LLM sees them

Manual setup

If you prefer manual configuration:

{
  "mcpServers": {
    "veriswarm": {
      "command": "python",
      "args": ["-m", "veriswarm_mcp"],
      "env": {
        "VERISWARM_API_URL": "https://api.veriswarm.ai",
        "VERISWARM_API_KEY": "vs_your_platform_key"
      }
    }
  }
}

Environment Variables

VariableRequiredDescription
VERISWARM_API_URLNoAPI base URL (default: https://api.veriswarm.ai)
VERISWARM_API_KEYYes (or AGENT_KEY)Platform API key for workspace operations
VERISWARM_AGENT_KEYYes (or API_KEY)Agent-scoped key for self-reporting tools

Tools (67 total)

Auth note: Tools marked with (session) require x-account-access-token and are not available with API key only. All other tools work with x-api-key.

Trust Scoring (6)

ToolDescription
check_trustGet agent's current trust scores, policy tier, and risk band
check_decisionCheck if an agent is allowed to perform an action (allow/review/deny)
get_my_scoreGet your own trust scores with improvement guidance (agent key)
get_score_historyGet score history over time for an agent
get_score_breakdownGet detailed score breakdown with contributing factors
explain_scoreGet human-readable explanation of an agent's scores

Event Reporting (4)

ToolDescription
report_actionReport a generic behavioral event for scoring
report_tool_callShorthand for tool.call.success / tool.call.failure events
report_interactionReport an agent-to-agent interaction
report_incidentReport a security incident for Guard review

Guard Security (12)

ToolDescription
scan_toolRequest a security scan for a tool or MCP server
scan_injectionScan text for prompt injection patterns
check_tool_allowedCheck if a tool is permitted under active Guard policies
get_findingsList Guard security findings, optionally filtered by agent
list_guard_policiesList all active Guard policies for the workspace
kill_agentActivate kill switch for an agent (blocks all trust decisions)
unkill_agentDeactivate kill switch, restoring normal processing
tokenize_piiRemove PII from text, replacing with safe tokens
rehydrate_piiRestore original PII values from VeriSwarm tokens
get_pii_sessionGet details of a PII tokenization session
revoke_pii_sessionRevoke a PII session, deleting all stored tokens

Passport Identity (4)

ToolDescription
get_credentialsIssue a signed JWT Passport credential (agent key required)
verify_credentialVerify a Passport JWT and return decoded trust claims
verify_identityMark an agent as identity-verified (admin action)
check_delegationCheck active delegation grants for an agent

Vault Audit (3)

ToolDescription
query_ledgerQuery the immutable Vault audit ledger
verify_chainVerify hash-chain integrity of the Vault ledger
export_vaultCreate a Vault export job (JSON or CSV)

Agent Management (5)

ToolDescription
register_agentRegister a new agent and return its agent_id
get_agentGet full agent profile including trust scores
get_agent_timelineGet an agent's event timeline
get_agent_flagsGet active moderation flags for an agent
list_agentsList workspace agents with search and tier filtering

Platform & Workspace (9)

ToolDescription
platform_statusCheck platform health, uptime, and feature flags
get_scoring_profileGet workspace scoring profile and weights
set_scoring_profileSet workspace scoring profile
list_notificationsList recent workspace notifications
get_ip_allowlistGet IP allowlist configuration
set_ip_allowlistSet IP allowlist CIDRs
get_custom_domainGet custom domain configuration
set_custom_domainSet a custom domain
list_team_membersList workspace team members
invite_team_memberInvite a new team member

Conversation Analytics (2)

ToolDescription
get_agent_analyticsGet aggregated quality analytics for an agent (resolution, accuracy, tone, efficiency, security)
get_cost_recommendationsGet cost optimization recommendations (model downgrades, KB gaps, prompt tuning)

Security Testing (3)

ToolDescription
list_red_team_attacksList available adversarial attack patterns (36 attacks across 5 categories)
check_tool_permissionCheck trust-gated permission for a tool based on agent's trust score
score_conversation_securityCompute per-conversation security grade (A-F) from Guard + Vault data

GDPR Compliance (3)

ToolDescription
forget_contactDelete all data associated with a contact (with cryptographic deletion proof)
list_deletion_recordsList GDPR deletion records with verification hashes
verify_deletionVerify a deletion record exists and return its proof

A2A Trust (2)

ToolDescription
get_agent_reputationGet cross-platform reputation score for an agent
get_a2a_historyGet agent-to-agent interaction history (inbound or outbound)

Benchmarking & Operations (2)

ToolDescription
get_benchmark_historyGet benchmark results for an agent across versions
get_provider_healthGet LLM provider health status (success rate, latency, cooldown)

Development

cd packages/mcp-server
pip install -e .
python -m pytest tests/ -v

Keywords

veriswarm

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts