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

@toriihq/torii-mcp

v0.0.8

Published

Model Context Protocol server for Torii API

Readme

Torii MCP Server

This is a Model Context Protocol (MCP) server for https://toriihq.com. It provides a set of tools that can be used by AI assistants to interact with the Torii platform.

Example for questions

Here are some example questions you can ask an AI assistant that's connected to this MCP server:

  • Show me all the apps in my Torii instance
  • List users who have admin access
  • What contracts are expiring in the next 30 days?
  • Show me contracts with renewal dates in Q4
  • List all apps that were added last month

The AI assistant will use the appropriate MCP tools to fetch this information from your Torii instance and provide detailed responses.

Setting up in AI Assistants

Cursor

  1. Open Cursor Settings
  2. Go to the MCP tab
  3. Click "Add new global MCP Server"
  4. Select type "command"
  5. Update the file with:
{
  "mcpServers": {
    "Torii MCP": {
      "command": "env",
      "args": [
          "TORII_API_KEY=YOUR_API_KEY",
          "npx",
          "@toriihq/torii-mcp"
      ]
    }
  }
}
  1. Click "Save"
  2. You should now see the Torii API tools available in Cursor

Claude Desktop

  1. Open Claude Desktop Settings
  2. Navigate to the "Developer" section
  3. Click "Edit Config"
  4. Update the claude_desktop_config.json with:
    {
      "mcpServers": {
        "torii": {
          "command": "npx",
          "args": [
            "@toriihq/torii-mcp"
          ],
          "env": {
            "TORII_API_KEY": "YOUR_API_KEY"
          }
        }
      }
    }
  5. Restart Calude Desktop
  6. The Torii API tools should now be available in your Claude Desktop conversations

Developing

Prerequisites

  • Node.js (v16 or higher)
  • A Torii API key
  • yarn package manager

Installation

  1. Clone this repository
  2. Install dependencies:
yarn install
  1. Build the project:
yarn build

Configuration

Set your Torii API key as an environment variable:

export TORII_API_KEY=your_api_key_here

Usage

Start the MCP server:

yarn start

Or run it in development mode:

yarn dev

The server will start and listen for MCP requests on stdin and respond on stdout.

Development

The server is built using the MCP SDK and follows the Torii API structure as defined in the Swagger documentation.

Troubleshooting

If you encounter any issues:

  1. Ensure your API key is correctly set
  2. Verify the absolute path to the dist/index.js file is correct
  3. Check that the Node.js version requirement is met
  4. Make sure the build process completed successfully

License

NONE