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

coldstar-mcp

v0.3.0

Published

Multichain MCP server for AI-agent secure transactions on Solana and Base -- reputation gating, DEX quotes, price feeds, balance checks, institutional custody vault tools

Readme

Coldstar MCP Server

Secure signing infrastructure for AI agents on Solana. FairScore reputation gating prevents rogue agents from draining wallets.

The Problem

AI agents are getting access to crypto wallets for payments, DeFi, and autonomous trading. But an agent can be tricked -- prompt injection, compromised tool calls, or hallucinated addresses can cause it to send funds to a scam wallet. There is no guardrail between "agent decides to send" and "funds are gone."

The Solution

Coldstar MCP intercepts every outbound transaction and checks the recipient's on-chain reputation via FairScore. Low-reputation wallets are blocked. Medium-reputation wallets trigger warnings. Only verified, high-reputation addresses pass through cleanly.

The validate_transaction tool is the kill switch. Any AI agent using Coldstar will automatically refuse to send funds to wallets with Bronze-tier reputation -- even if the agent itself has been compromised.

8 Tools

| Tool | Description | |------|-------------| | check_reputation | Check FairScore reputation of any Solana wallet (score 0-100, tier, badges) | | get_token_price | Real-time token prices via Pyth Network oracle | | get_swap_quote | Jupiter DEX swap quotes with best routes across all Solana DEXes | | check_wallet_balance | SOL and SPL token balances for any wallet | | validate_transaction | Pre-flight safety check -- reputation gate before any transfer | | list_supported_tokens | All supported tokens with mint addresses | | get_portfolio | Full portfolio with USD values (balances + Pyth prices) | | estimate_swap_cost | Total swap cost analysis including price impact and fees |

Install

npm install -g coldstar-mcp

Or run directly:

npx coldstar-mcp

Configure

Claude Desktop / Claude Code

Add to your MCP settings:

{
  "mcpServers": {
    "coldstar": {
      "command": "npx",
      "args": ["-y", "coldstar-mcp"],
      "env": {
        "SOLANA_RPC_URL": "https://api.mainnet-beta.solana.com",
        "FAIRSCORE_API_KEY": ""
      }
    }
  }
}

Cursor / Windsurf / Other MCP Clients

Same configuration format -- just add the coldstar entry to your MCP config.

Environment Variables

| Variable | Default | Description | |----------|---------|-------------| | SOLANA_RPC_URL | https://api.mainnet-beta.solana.com | Solana RPC endpoint | | FAIRSCORE_API_URL | https://api2.fairscale.xyz | FairScale API base URL | | FAIRSCORE_API_KEY | (empty) | Optional FairScale API key |

Security Model

Reputation Gating

Every outbound transfer is gated by FairScore reputation tiers:

| Tier | Score | Action | Transfer Limit | |------|-------|--------|----------------| | Bronze | 0-19 | BLOCK | Blocked | | Silver | 20-39 | WARN | 10 SOL max | | Gold | 40-59 | Allow | 100 SOL max | | Platinum | 60-79 | Allow | 500 SOL max | | Diamond | 80-100 | Allow | Unlimited |

How It Protects Agents

  1. Agent receives instruction to send 50 SOL to an address
  2. Agent calls validate_transaction with the recipient address
  3. Coldstar checks FairScore -- recipient has a score of 12 (Bronze)
  4. Transaction is BLOCKED -- agent receives clear "not allowed" response
  5. Agent refuses the transaction and reports the issue

The agent never needs to understand scam detection. Coldstar handles it at the infrastructure layer.

What Coldstar Does NOT Do

  • It does not hold private keys (that is the air-gapped USB wallet)
  • It does not sign transactions (signing is offline)
  • It does not broadcast transactions (that is the user's choice)
  • It only provides read operations and safety checks

This is a read-only security layer. The worst case if Coldstar is compromised is that it returns incorrect reputation data -- it can never move funds.

Example Usage

Validate Before Sending

Agent: I need to send 5 SOL to 7xKXtg2CW87d97TXJSDpbD5jBkheTqA83TZRuJosgAsU

> validate_transaction(recipient="7xKXtg...", amount=5, token="SOL")

Result: {
  "allowed": false,
  "tier": "Bronze",
  "fairscore": 8.5,
  "warnings": ["BLOCKED: Recipient has Bronze reputation (score: 8.5). Transaction denied."],
  "recommendation": "Transaction should be rejected"
}

Agent: I cannot complete this transfer. The recipient wallet has a Bronze reputation
score of 8.5/100 which indicates high risk. The transaction has been blocked by
Coldstar's reputation gating system.

Check Portfolio

> get_portfolio(wallet_address="YourWa11etAddressHere...")

Result: {
  "total_value_usd": 1523.41,
  "holdings": [
    { "symbol": "SOL", "amount": 10.5, "price_usd": 130.25, "value_usd": 1367.63 },
    { "symbol": "USDC", "amount": 155.78, "price_usd": 1.0, "value_usd": 155.78 }
  ]
}

Architecture

AI Agent (Claude, GPT, etc.)
    |
    v
Coldstar MCP Server (this package)
    |
    +---> FairScale API (reputation scoring)
    +---> Pyth Network (price oracles)
    +---> Jupiter Aggregator (DEX quotes)
    +---> Solana RPC (balances, token accounts)
    |
    v
Coldstar Air-Gapped Wallet (offline signing)

Target Integration Partners

  • Phantom -- Wallet-level reputation gating
  • Backpack -- Agent-aware wallet security
  • Coinbase -- Institutional agent custody
  • Anthropic -- Agent safety infrastructure
  • OpenAI -- Agent payment guardrails
  • Stripe -- Crypto payment validation

License

MIT