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

@kopra-dev/mcp

v0.2.0

Published

MCP server for Kopra - manage custom fields, tenant fields, and field values via AI agents

Readme

@kopra-dev/mcp

MCP server that lets AI agents manage Kopra custom fields, tenant fields, and field values.

What it does

Model Context Protocol (MCP) allows AI assistants like Claude Desktop, Cursor, and other MCP-compatible clients to interact with external tools. This server exposes 16 tools that map to the Kopra REST API, so an AI agent can create field groups, define fields, read and write field values, and configure webhooks - all through natural language.

Setup

Claude Code

claude mcp add kopra -- npx -y @kopra-dev/mcp

No configuration needed. The API key and base URL are passed as parameters on each tool call.

To pre-configure credentials (skips per-call auth prompts):

claude mcp add -e KOPRA_API_KEY=your-api-key kopra -- npx -y @kopra-dev/mcp

Cursor

Add to .cursor/mcp.json:

{
  "mcpServers": {
    "kopra": {
      "command": "npx",
      "args": ["-y", "@kopra-dev/mcp"],
      "env": {
        "KOPRA_API_KEY": "your-api-key"
      }
    }
  }
}

Claude Desktop

Add to your config (~/Library/Application Support/Claude/claude_desktop_config.json on Mac):

{
  "mcpServers": {
    "kopra": {
      "command": "npx",
      "args": ["-y", "@kopra-dev/mcp"],
      "env": {
        "KOPRA_API_KEY": "your-api-key"
      }
    }
  }
}

Available Tools

Field Groups

| Tool | Description | |------|-------------| | list_field_groups | List all field groups | | get_field_group | Get a field group by ID with its global fields | | create_field_group | Create a new field group with a name and key | | update_field_group | Update a field group's name, description, or key | | delete_field_group | Soft-delete a field group |

Global Fields

| Tool | Description | |------|-------------| | list_global_fields | List all global fields | | create_global_field | Create a global field and assign it to field groups | | delete_global_field | Soft-delete a global field |

Tenant Fields

| Tool | Description | |------|-------------| | list_tenant_fields | List global and tenant-specific fields for a tenant | | create_tenant_field | Create a custom field for a specific tenant | | delete_tenant_field | Delete a tenant-specific field and its values |

Field Values

| Tool | Description | |------|-------------| | get_field_values | Get all field values for a specific entity | | save_field_values | Save field values as key-value pairs for an entity | | search_field_values | Search across field values with filters |

Webhooks

| Tool | Description | |------|-------------| | list_webhooks | List all webhook endpoints | | create_webhook | Create a webhook endpoint for field change notifications |

Authentication

Every tool accepts optional apiKey and baseUrl parameters. If KOPRA_API_KEY is set as an environment variable, it is used automatically and you don't need to pass it per-call.

| Variable | Required | Default | Description | |----------|----------|---------|-------------| | KOPRA_API_KEY | No | - | Your Kopra API key (or pass apiKey per tool call) | | KOPRA_BASE_URL | No | https://api.kopra.dev | Kopra API base URL |

Development

npm install
npm run dev          # Run with tsx (uses stdio transport)
npm run build        # Compile TypeScript to dist/
npm run typecheck    # Type-check without emitting