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

@sondv5/teamwork-mcp

v0.1.2

Published

MCP server for Teamwork.com using a personal API key stored in the OS keychain

Readme

@sondv5/teamwork-mcp

npm GitHub

MCP server for Teamwork.com using a personal API key. The key is stored in the OS keychain (or an encrypted file), so MCP client config files never contain secrets.

Features

  • MCP server over stdio
  • First use opens a local setup page to enter site + API key, verifies it, then saves it
  • Supports Windows Credential Manager / macOS Keychain / libsecret, with an AES-256-GCM encrypted file fallback
  • Compact tool responses with trimmed fields to save agent tokens

Install / Run

Run directly with npx (no need to clone the repo):

npx -y @sondv5/teamwork-mcp@latest

The first time you call any tool without a key, the server will:

  1. Open your browser to a local setup page (http://127.0.0.1:<port>/setup/<nonce>)
  2. You enter your Teamwork site + API key → the server verifies it with Teamwork and saves it
  3. Retry the tool you just called — everything works, no restart needed

Get your key in Teamwork: Profile → Edit My Details → API & Mobile tab → Show your Token.

For local development:

npm install
npm run build
node dist/bin.js

A CLI is also available for terminal users:

npx -y @sondv5/teamwork-mcp@latest auth     # enter site + key, verify and save
npx -y @sondv5/teamwork-mcp@latest status   # show the credential in use
npx -y @sondv5/teamwork-mcp@latest logout   # remove the credential

MCP Client Config

{
  "mcpServers": {
    "teamwork": {
      "command": "npx",
      "args": ["-y", "@sondv5/teamwork-mcp@latest"]
    }
  }
}

Local Project Setup

Ready-made templates are included in this repository:

.cursor/mcp.json
.mcp.json
.codex/config.toml
opencode.json

Cursor

Create .cursor/mcp.json in your project root:

{
  "mcpServers": {
    "teamwork": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "@sondv5/teamwork-mcp@latest"]
    }
  }
}

Claude Code

Add it with the CLI from the project root:

claude mcp add --transport stdio --scope project \
  teamwork -- npx -y @sondv5/teamwork-mcp@latest

Or commit a project-level .mcp.json:

{
  "mcpServers": {
    "teamwork": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "@sondv5/teamwork-mcp@latest"]
    }
  }
}

Codex

User-level config in ~/.codex/config.toml:

[mcp_servers.teamwork]
command = "npx"
args = ["-y", "@sondv5/teamwork-mcp@latest"]

Recent Codex builds may also load project-local config from .codex/config.toml for trusted projects. If it is not picked up, fall back to ~/.codex/config.toml.

OpenCode

Create opencode.json in your project root:

{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "teamwork": {
      "type": "local",
      "command": ["npx", "-y", "@sondv5/teamwork-mcp@latest"],
      "enabled": true
    }
  }
}

Claude Desktop

Edit the config file (%APPDATA%\Claude\claude_desktop_config.json on Windows, ~/Library/Application Support/Claude/claude_desktop_config.json on macOS):

{
  "mcpServers": {
    "teamwork": {
      "command": "npx",
      "args": ["-y", "@sondv5/teamwork-mcp@latest"]
    }
  }
}

Windsurf

Edit ~/.codeium/windsurf/mcp_config.json using the same format as Claude Desktop above.

VS Code (Agent mode)

Create .vscode/mcp.json in your project:

{
  "servers": {
    "teamwork": {
      "command": "npx",
      "args": ["-y", "@sondv5/teamwork-mcp@latest"]
    }
  }
}

Recommended Repo Files

.cursor/mcp.json
.mcp.json
.codex/config.toml
opencode.json

Commit .cursor/mcp.json, .mcp.json and opencode.json when the MCP server is part of the team workflow. For Codex, prefer ~/.codex/config.toml unless your team has verified that project-local .codex/config.toml works with the Codex version they use.

Tools (7 grouped tools, action-dispatched)

| Tool | Type | Actions (via action param) | | --- | --- | --- | | tasks | mixed | list (search tasks), get, create, update (edit/complete/assign/tags), list_comments, comment | | projects | read | list, tasklists, updates (health), milestones (date range), activity (feed) | | people | read | whoami, list (find users), my_work (today/overdue/thisweek) | | time | write | log (minutes on task/project) | | search | read | global keyword search (tasks/messages/files/comments/milestones/...) | | system | local | status (key/site/storage), logout (remove key) | | request | mixed | raw V3 escape hatch: GET/POST/PUT/DELETE any /projects/api/v3/... path (tags, teams, files, notebooks, calendars, timelogs...) |

In opencode, the full name is <server name>_<tool>, e.g. teamwork_tasks. Keep the write tools in ask mode in opencode.json:

{
  "permission": {
    "teamwork_*": "allow",
    "teamwork_tasks": "ask",
    "teamwork_time": "ask",
    "teamwork_request": "ask",
    "teamwork_system": "ask"
  }
}

Environment Variables (optional, for CI)

TEAMWORK_SITE and TEAMWORK_API_KEY override the keychain. Note: env vars are plaintext.

Security

  • The API key inherits the user's permissions → prefer a dedicated standard user (only access to required projects) instead of an admin/owner key.
  • Never pass the key via args in mcp.json (visible in process lists).
  • The server only logs to stderr; stdout is reserved for JSON-RPC.

Dev

npm install
npm run build        # tsc -> dist/
npm run dev          # watch mode
node dist/bin.js --help

License

MIT