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

cataam-mcp-server

v0.1.7

Published

MCP connector for Cataam — the GRC/compliance-automation platform (SOC2, GDPR, ISO27001). Exposes the /api/audit compliance surface and the OKF Context Engine as MCP tools.

Readme

cataam-mcp-server

The MCP connector for Cataam. TypeScript, built on @modelcontextprotocol/sdk. Exposes Cataam's /api/audit/** compliance surface and the /api/okf/** OKF Context Engine (open compliance-graph export) as MCP tools.

Layout

src/
  config.ts   — env-var config + auth-mode selection (apiKey | jwt)
  client.ts   — typed HTTP client for /api/audit + /api/okf (X-API-Key and JWT+refresh)
  tools.ts    — the MCP tools (one-tool-per-action; write tools require confirm:true)
  index.ts    — entry point: stdio (default) or streamable-HTTP transport
test/
  smoke.mjs   — end-to-end test (spawns server over stdio, calls a read tool live)

Develop

npm install
npm run build          # tsc → dist/
npm run dev            # run from source via tsx (stdio)
npm run smoke          # end-to-end smoke test (needs auth env vars + a built dist/)

Configuration (env vars)

| Var | Purpose | |---|---| | CATAAM_BASE_URL | API base URL. Default https://service.cataam.com. | | CATAAM_API_KEY | X-API-Key auth (preferred). | | CATAAM_USERNAME / CATAAM_PASSWORD | JWT login auth (works today). | | MCP_TRANSPORT | stdio (default) or http. | | PORT | HTTP port (default 3000) when MCP_TRANSPORT=http. |

If CATAAM_API_KEY is set it wins; otherwise username+password are used. Startup fails fast with a clear message if neither is configured.

Transports

  • stdio — what the Claude plugin and claude mcp add use. Auth comes from env.
  • streamable-HTTP — for remote/hosted SaaS deployment. Stateless: a fresh server is built per request, and an incoming X-API-Key request header overrides the env key, so one hosted process can serve many Cataam orgs. GET/DELETE /mcp return 405.

Auth scoping note

Cataam's X-API-Key filter covers /api/audit/**, /api/okf/** (and a reserved /api/iasm/**). All tools work under both auth modes; the OKF tools require a backend that scopes the API-key filter to /api/okf/** (cataam-mcp-server ≥ 0.1.5 / platform with that change) — under JWT they work regardless.

Tools

See ../README.md.

Compliance (/api/audit). Read: list_compliance_tests, get_compliance_overview, list_failing_alerts, list_evidence_status. Write (confirm:true): rerun_compliance_test, update_test_due_date, link_test_to_jira, publish_policies, publish_documents, remediate_document_control, generate_network_diagram_from_iasm, create_evidence_request, attach_evidence.

OKF Context Engine (/api/okf). Read: get_okf_status, list_okf_exports, get_okf_artifact (log.md / MANIFEST.json). Write (confirm:true): generate_okf_export, configure_okf, pin_okf_export, resync_okf_git.

Trust Center tools (v0.1.6) — JWT auth required

list_vendors, list_subprocessors, add_subprocessor, upload_trust_document populate an org's public Trust Center. They call /api/vendors and /api/trust-center/**, which are outside the X-API-Key scope (/api/audit, /api/okf) — so they require JWT auth: set CATAAM_USERNAME / CATAAM_PASSWORD for an org admin with Manage Trust Center. Writes require confirm=true. upload_trust_document reads a local file path and posts it multipart.