npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@zkos-labs/mcp-server

v0.2.2

Published

Bastion Trust Runtime — Model Context Protocol tools for agent trust

Readme

Bastion MCP Server

Model Context Protocol server for the Bastion Programmable Trust Runtime. 15 tools and 3 prompts for AI agents to interact with Bastion trust operations over SSE or stdio transport.

Installation

npm install @zkos-labs/mcp-server
pnpm add @zkos-labs/mcp-server

Quick Start

# SSE transport for remote agents
BASTION_SIDECAR_URL=https://bastion-agentique.fly.dev \
npx @zkos-labs/mcp-server dev:http

# stdio transport for Claude Desktop / Cursor / Codex
pnpm --filter @bastion/mcp-server dev

Endpoints

| Endpoint | Description | |----------|-------------| | GET /mcp/sse | SSE connection | | POST /mcp/messages | MCP JSON-RPC messages | | GET /mcp/health | Health check | | GET /mcp/pricing | Tool pricing and free tier info |

Tools

Firewall

| Tool | Description | |------|-------------| | bastion_simulate_transaction | Simulate a Solana transaction against Bastion policy engine | | bastion_ingest_event | Ingest a universal SIEM event for correlation | | bastion_audit_entry | Retrieve an audit log entry by TX signature | | bastion_recent_audit_logs | Fetch recent audit log entries | | bastion_audit_stats | Get audit statistics (total, allowed, blocked) | | bastion_analyze_transaction | Simulate an EVM transaction against Bastion policy engine |

Policy Management

| Tool | Description | |------|-------------| | bastion_get_policy | Fetch current policy configuration | | bastion_update_policy | Update policy (allowlists, caps, rate limits) | | bastion_override_block | Human override for a blocked transaction |

Agent Identity

| Tool | Description | |------|-------------| | bastion_list_agents | List all registered agents | | bastion_get_agent_by_did | Get agent details by DID | | bastion_get_agent_delegation_tree | View agent delegation hierarchy |

Operations

| Tool | Description | |------|-------------| | bastion_circuit_breaker_toggle | Toggle emergency circuit breaker | | bastion_health_check | Check Bastion sidecar health | | bastion_system_stats | Get system statistics |

Pricing

Read operations are free. Write operations use x402 pay-per-call pricing with Solana SOL.

| Tool | Free per Month | Price (SOL) | |------|---------------|-------------| | bastion_simulate_transaction | 100 | 0.001 | | bastion_override_block | 10 | 0.01 | | bastion_update_policy | 5 | 0.05 | | bastion_circuit_breaker_toggle | 3 | 0.1 | | All read-only tools | Unlimited | Free |

License

Apache-2.0