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

@getpalmos/mcp

v0.2.0

Published

Model Context Protocol server for PalmOS — governed Byreal swaps, CLMM liquidity, and agent-wallet actions for Claude Code, Codex, and other MCP clients.

Readme

@getpalmos/mcp

Model Context Protocol (MCP) server for PalmOS. It gives Claude Code, Codex, and any other MCP-capable agent PalmOS's governed agent-wallet tools — Byreal swaps, concentrated (CLMM) liquidity, pool and position discovery, wallet context, and policy checks — while PalmOS enforces policy, custody, settlement, and an on-chain audit trail server-side. The agent never holds a key.

The bridge is generic: it exposes whatever governed tools your PalmOS backend offers (read live from /api/sdk/v1/tools), so new skills appear automatically without upgrading this package.

Tools

Exact tools depend on your backend (the server lists them on connect). A typical Byreal-enabled PalmOS backend exposes:

| Tool | Purpose | | --- | --- | | get_wallet_context | The agent's balances, portfolio, and the policy controls it must act within. | | list_byreal_pools | Discover Byreal CLMM pools — ids, token mints, live price, and which are policy-allowed. | | get_byreal_quote | A live Byreal swap quote (read-only). | | request_asset_swap | A governed Byreal swap (policy-checked, vault-signed, settled). | | list_byreal_positions | The agent's CLMM liquidity positions. | | request_liquidity_action | Governed CLMM liquidity: open / increase / decrease / close. Pass rangePercent for an automatic ± range. | | check_policy | Preview whether an action is allowed / approval-gated / denied (no spend). | | get_agent_status | The agent's PalmOS identity, trust tier, and settlement mode. |

Every governed action is gated by PalmOS policy: within the auto-approve threshold it settles, a larger-but-allowed action becomes approval-pending for an operator, and an off-policy action is blocked. The agent reads the governed outcome and reasons about it.

Prerequisites

  1. A running PalmOS backend (defaults to the hosted API https://api.getpalmos.xyz).
  2. An agent created in the PalmOS dashboard with an issued SDK credential (palmos_... token).

Configure

The server reads two environment variables:

  • PALMOS_AGENT_TOKEN (required) — the issued palmos_... SDK credential.
  • PALMOS_API_URL (optional) — defaults to the hosted API; set it only for a self-hosted backend.

Claude Code

claude mcp add palmos --env PALMOS_AGENT_TOKEN=palmos_YOUR_TOKEN -- npx -y @getpalmos/mcp

or add it to .mcp.json / your Claude Code MCP config directly:

{
  "mcpServers": {
    "palmos": {
      "command": "npx",
      "args": ["-y", "@getpalmos/mcp"],
      "env": {
        "PALMOS_AGENT_TOKEN": "palmos_YOUR_TOKEN"
      }
    }
  }
}

Codex

In ~/.codex/config.toml:

[mcp_servers.palmos]
command = "npx"
args = ["-y", "@getpalmos/mcp"]
env = { PALMOS_AGENT_TOKEN = "palmos_YOUR_TOKEN" }

Local (before publishing / for development)

Point the runner at the built file in this repo instead of npx:

{
  "mcpServers": {
    "palmos": {
      "command": "node",
      "args": ["/absolute/path/to/palmos/packages/mcp/dist/index.js"],
      "env": { "PALMOS_AGENT_TOKEN": "palmos_YOUR_TOKEN" }
    }
  }
}

Build it first with npm run build (from packages/mcp) or npm run package:mcp:build from the repo root.

Use

Once configured, ask the agent naturally, e.g.:

"Show me the SOL/USDC Byreal pools I'm allowed to use, then open a 0.05 USDC liquidity position with a ±12% range."

The agent calls list_byreal_poolsrequest_liquidity_action. PalmOS checks the policy, the OWS vault signs, the position settles on Byreal, and the decision is logged on-chain — every outcome (executed, approval-pending, blocked) shows up in the dashboard with an audit trail.

Token storage

Treat PALMOS_AGENT_TOKEN like a payment credential: keep it in your MCP client's secret/env config, not in source control, use a separate credential per runtime, and rotate or revoke it from the PalmOS dashboard if it may have been exposed.