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

@alexbuzo/atp-mcp

v0.1.4

Published

MCP server for ATP-compatible test management APIs

Readme

ATP MCP Server

MCP server for ATP-compatible test management APIs. It exposes project, test plan, test case, execution, dataset, ITF, export, and migration helper tools over stdio for clients such as Cursor and Claude Desktop.

This package does not include API access, credentials, environment data, exported test data, or vendor-specific configuration. You must provide your own ATP API gateway and identity provider endpoints through environment variables.

Installation

npm install -g @alexbuzo/atp-mcp

Or run it without a global install:

npx -y @alexbuzo/atp-mcp

MCP Configuration

Example mcp.json entry:

{
  "mcpServers": {
    "atp-mcp": {
      "command": "npx",
      "args": ["-y", "@alexbuzo/atp-mcp"],
      "env": {
        "ATP_BASE_URL": "https://your-atp-api.example.com",
        "ATP_KEYCLOAK_URL": "https://your-keycloak.example.com/auth",
        "ATP_REALM": "your-realm",
        "ATP_CLIENT_ID": "your-client-id",
        "ATP_USERNAME": "your-username",
        "ATP_PASSWORD": "your-password",
        "ATP_PROJECT_ID": "00000000-0000-0000-0000-000000000000"
      }
    }
  }
}

Environment Variables

| Variable | Required | Description | |---|---:|---| | ATP_BASE_URL | Yes | ATP API gateway base URL. | | ATP_KEYCLOAK_URL | Yes | Keycloak base, /auth, realm, or token endpoint URL. | | ATP_REALM | Yes | Keycloak realm. | | ATP_CLIENT_ID | Yes | OAuth client ID. | | ATP_USERNAME | Preferred | Username for password-grant authentication. | | ATP_PASSWORD | Preferred | Password for password-grant authentication. | | ATP_ACCESS_TOKEN | Optional | Static bearer token fallback when username/password are not supplied. | | ATP_PROJECT_ID | Optional | Default project UUID. | | ATP_TIMEOUT | Optional | Request timeout in milliseconds. Default: 30000. | | ATP_RETRIES | Optional | Retry attempts for transient failures. Default: 1. | | ATP_TLS_INSECURE | Optional | Set to true, 1, or yes only for self-signed development certificates. |

Tool Groups

  • Projects, test plans, test cases, scopes, environments, users, and datasets.
  • Execution requests, test runs, logs, screenshots, and HTML report generation.
  • ITF callchains, systems, operations, situations, servers, environments, and templates.
  • Full test export for migration or archival workflows.
  • Bruno collection export for ITF callchains.
  • Migration bootstrap helpers for generating test automation scaffolding.
  • ATP2 Playwright migration helpers:
    • atp_init_playwright_migration_profile scans a target Playwright project and creates scripts/atp2-migration-profile.js, Cursor rules, a Cursor command, and project migration docs.
    • atp_migrate_to_playwright_project exports an ATP scope/test bundle and applies the target project's migration profile.

ATP2 Playwright Migration

For a new Playwright project, initialize the project profile first:

{
  "tool": "atp_init_playwright_migration_profile",
  "arguments": {
    "projectRoot": "/absolute/path/to/playwright-project",
    "sourceUrl": "https://atp-catalogue.example/project/.../plan/.../scopes/...",
    "overwrite": false
  }
}

Then migrate a scope or test:

{
  "tool": "atp_migrate_to_playwright_project",
  "arguments": {
    "sourceUrl": "https://atp-catalogue.example/project/.../plan/.../scopes/...",
    "executionUrl": "https://atp-catalogue.example/project/.../ram/execution-request/...",
    "projectRoot": "/absolute/path/to/playwright-project",
    "profile": "auto",
    "overwrite": true
  }
}

The generated generic profile expands nested ATP compounds and creates runnable Playwright specs. Unsupported SQL, ITF/MIA commands, and unknown action templates remain visible in the generated migration report and strict runtime errors until the target project adds native mappings.

Local Development

npm install
npm test
npm run build

Run the MCP server from source:

npm run dev

Build output is written to build/. The npm package publishes only compiled runtime files, type declarations, this README, and the license file.

Publishing

Review the package contents before publishing:

npm pack --dry-run

Scoped public packages are published with public access:

npm publish --access public

Security Notes

  • Do not commit real tokens, exported customer data, private endpoint URLs, or personal data.
  • Prefer username/password auth with automatic refresh over static tokens.
  • Use ATP_TLS_INSECURE only for local or isolated development environments.

License

MIT