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

@aptora/mcp

v1.0.0

Published

MCP server for the Aptora API: create assessments, invite candidates, pull grading results

Readme

@aptora/mcp

MCP server for Aptora. Lets Claude Code, Claude Desktop, Cursor, or any MCP client create and edit assessments, upload starter workspaces, invite candidates, and pull grading results — straight from your editor or agent.

Setup

1. Create an API key in the Aptora dashboard under Integrations → API Keys. The key acts with the full manager permissions of the user who created it — treat it like a password.

2. Register the server with your MCP client:

Claude Code:

claude mcp add aptora -e APTORA_API_KEY=apt_... -- npx -y @aptora/mcp

Claude Desktop / Cursor / other JSON-configured clients:

{
    "mcpServers": {
        "aptora": {
            "command": "npx",
            "args": ["-y", "@aptora/mcp"],
            "env": {
                "APTORA_API_KEY": "apt_..."
            }
        }
    }
}

3. Try it — ask your agent to "list my Aptora assessments" or "create an Aptora assessment for a senior backend role and invite [email protected]".

Environment variables

| Variable | Default | Purpose | |---|---|---| | APTORA_API_KEY | required | API key from the dashboard | | APTORA_BASE_URL | https://api.tryaptora.com | Backend origin (set http://localhost:4001 for local dev) | | APTORA_APP_URL | https://app.tryaptora.com | Used to build candidate interview links |

Tools

  • get_authoring_guide — how to write an assessment: fields, the required ProseMirror problem format, environment constraints, setup hooks and black-box services, personas, grading
  • get_dry_run_guide — how to QA an assessment by taking it as a test candidate in a browser
  • whoami — verify the key and see whose account it acts as
  • list_assessments / get_assessment
  • create_assessment / update_assessment — pass workspace_directory to upload a local directory (VCS/deps/build-output/.env excluded) as the candidate's starter workspace; problem must be a ProseMirror JSON document
  • create_interview — create an interview and return its link without emailing anyone (also used for dry runs)
  • invite_candidate — create an interview and send the real invitation email
  • list_interviews — statuses plus grading summaries
  • get_grading_results — the full grading report for an interview
  • get_workspace_snapshot — the candidate's final workspace files

The server also ships instructions that MCP clients load into the model's context (author with the guide, dry-run before inviting, never email without being asked) and a dry_run prompt — in Claude Code, /mcp__aptora__dry_run <assessment_id>. Both guides are served by the backend (GET /api/v1/guides/:name), so they always match the deployed platform.

Development (this repo)

The server is a thin stdio client for the backend's /api/v1 surface (Basic auth with an Aptora API key; never superuser powers). Build from the repo root (npm run build), then point your MCP client at the local bundle instead of npx:

claude mcp add aptora -e APTORA_API_KEY=apt_... -- node /path/to/aptora/packages/mcp/dist/index.js

dist/index.js is esbuild-bundled: the workspace-only deps (@aptora/types, @aptora/ignore) are inlined at build time and live in devDependencies, so the published tarball installs standalone.

Releasing

package.json is the only place the version lives: the server reports it over MCP, and the build writes the MCP Registry manifest (dist/server.json) from it. To release, bump version, then from this directory:

npm publish                                # prepublishOnly rebuilds dist/
mcp-publisher login dns --domain tryaptora.com --private-key "$MCP_REGISTRY_PRIVATE_KEY"
mcp-publisher publish dist/server.json     # after npm: the registry checks the npm mcpName