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

@selfagency/teamdynamix-mcp

v0.2.1

Published

A production-ready TypeScript MCP server for TeamDynamix

Readme

🎟️ TeamDynamix MCP Server (unofficial)

NPM Version CI codecov

A TypeScript Model Context Protocol (MCP) server that exposes TeamDynamix ITSM capabilities as agent-callable tools. Designed for AI agents and MCP clients that need structured, safety-gated access to TeamDynamix operations.

Features

  • Powered by the official TeamDynamix TypeScript SDK: type-safe, auto-generated API methods with built-in retry, exponential backoff, runtime validation, and token lifecycle management
  • 11 domain gateway tools that route validated actions across discovery, tickets, relationships, KB, assets, CMDB, people, services, projects, time, and reference data
  • Safe by default: write tools disabled until explicitly opted in; destructive operations require confirm: true
  • Two auth modes: standard (username/password) and admin (BEID/WebServicesKey)
  • Covers 207 API endpoints across all TeamDynamix domains, verified against the SDK route manifest
  • Rate-limit aware: SDK built-in retry with exponential backoff on 429 and 5xx responses
  • Zod-validated inputs: schema enforcement before any API call
  • Agent skill and prompt included: ready-to-use skill definition for GitHub Copilot and compatible agents

MCP Registry

This server is published to the MCP Registry as io.github.selfagency/teamdynamix-mcp.

  • Registry name: io.github.selfagency/teamdynamix-mcp
  • Install via registry: mcp-install io.github.selfagency/teamdynamix-mcp (when available)
  • Manual install: Use npm package @selfagency/teamdynamix-mcp as shown below

Quick start (developer setup)

This quick start is for contributors running the server from source in this repository. If you are a regular MCP client user, skip to MCP client configuration and use the npx command examples.

# 1. Clone the repository
git clone https://github.com/selfagency/teamdynamix-mcp.git
cd teamdynamix-mcp

# 2. Install dependencies
pnpm install

# 3. Configure environment
cp .env.example .env
# Edit .env with your TeamDynamix credentials and base URL

# 4. Start the development server
pnpm dev

Minimum required environment variables

TEAMDYNAMIX_BASE_URL=https://your-tenant.teamdynamix.com/TDWebApi
TEAMDYNAMIX_AUTH_MODE=standard          # or: admin
[email protected]    # standard mode
TEAMDYNAMIX_PASSWORD=your-password      # standard mode

For admin mode, use TEAMDYNAMIX_BEID and TEAMDYNAMIX_WEB_SERVICES_KEY instead.

MCP client configuration

Security notice: Values shown above are placeholders. Never commit real credentials to source control. Inject secrets at runtime via a .env file (excluded by .gitignore), CI/CD secrets, or a secret manager.

VS Code (.vscode/mcp.json)

{
  "servers": {
    "teamdynamix": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "@selfagency/teamdynamix-mcp"],
      "env": {
        "TEAMDYNAMIX_BASE_URL": "https://your-tenant.teamdynamix.com/TDWebApi",
        "TEAMDYNAMIX_AUTH_MODE": "standard",
        "TEAMDYNAMIX_USERNAME": "[email protected]",
        "TEAMDYNAMIX_PASSWORD": "your-password"
      }
    }
  }
}

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "teamdynamix": {
      "command": "npx",
      "args": ["-y", "@selfagency/teamdynamix-mcp"],
      "env": {
        "TEAMDYNAMIX_BASE_URL": "https://your-tenant.teamdynamix.com/TDWebApi",
        "TEAMDYNAMIX_AUTH_MODE": "standard",
        "TEAMDYNAMIX_USERNAME": "[email protected]",
        "TEAMDYNAMIX_PASSWORD": "your-password"
      }
    }
  }
}

Production (built bundle)

pnpm build   # outputs to dist/
{
  "command": "npx",
  "args": ["-y", "@selfagency/teamdynamix-mcp"]
}

Verify connectivity

After connecting your MCP client, call teamdynamix_discovery with:

  • action: "server_status"
  • payload: {}
  • response_format: "json"

A successful response shows status.configured: true.

Domain gateway tools

Each gateway tool accepts:

  • action: domain-specific operation name
  • payload: object for that action’s parameters
  • response_format: "markdown" or "json"

| Domain | Gateway tool | | -------------------- | ---------------------------------- | | Discovery | teamdynamix_discovery | | Tickets | teamdynamix_tickets | | Ticket relationships | teamdynamix_ticket_relationships | | Knowledge Base | teamdynamix_knowledge_base | | Assets | teamdynamix_assets | | CMDB | teamdynamix_cmdb | | People | teamdynamix_people | | Services | teamdynamix_services | | Projects | teamdynamix_projects | | Time | teamdynamix_time | | Reference data | teamdynamix_reference_data |

† Requires confirm: true in addition to write tools being enabled.

All write/mutating actions require TEAMDYNAMIX_ENABLE_WRITE_TOOLS=true.

Safety defaults

| Flag | Default | Effect when true | | -------------------------------- | ------- | ------------------------------------------------ | | TEAMDYNAMIX_ENABLE_WRITE_TOOLS | false | Enables all create/update/comment/mutation tools | | TEAMDYNAMIX_ENABLE_ADMIN_TOOLS | false | Enables admin-scope operations |

Destructive unlink operations additionally require confirm: true in the tool call regardless of write flag state.

Agent skill

This repository ships a GitHub Copilot-compatible skill definition:

Install the skill via your Copilot skill configuration (see skills/teamdynamix/SKILL.md for full details).

Documentation

| Section | Purpose | | ----------------------------------------------- | ------------------------------------------------------------ | | Tutorials | Step-by-step setup and first workflows | | How-to guides | Task-oriented recipes for real operations | | Reference | Exhaustive tool catalog, configuration, safety model, errors | | Explanation | Architecture, auth model, safety rationale, rate limiting | | Development | Architecture, contributing, testing |

Development

pnpm typecheck   # TypeScript strict checks
pnpm lint        # oxlint
pnpm test        # vitest (194 tests, 87% coverage)
pnpm build       # tsup → dist/

License

MIT © The Self Agency LLC