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

@striderlabs/mcp-tmobile

v1.0.0

Published

MCP server for T-Mobile telecom account management

Downloads

52

Readme

@striderlabs/mcp-tmobile

MCP (Model Context Protocol) server for T-Mobile telecom account management. Automates T-Mobile account interactions using Playwright browser automation via Browserbase.

Tools

| Tool | Description | |------|-------------| | get_account_overview | Get current plan, balance, and usage summary | | get_usage_details | Get detailed data/call/text usage breakdown | | pay_bill | Initiate a one-time payment | | get_bill_history | View past bills and payment history | | check_upgrade_eligibility | Check device upgrade eligibility for account lines |

Setup

Install

npm install @striderlabs/mcp-tmobile

Environment Variables

# Required: T-Mobile credentials
export TMOBILE_USERNAME="[email protected]"
export TMOBILE_PASSWORD="your-password"

# Optional: Browserbase CDP URL for cloud browser automation
export BROWSERBASE_CDP_URL="wss://connect.browserbase.com?apiKey=your-key"

If BROWSERBASE_CDP_URL is set, the server connects to a Browserbase cloud browser. Otherwise, a local Chromium instance is launched.

Credentials can also be passed directly as tool arguments instead of environment variables.

Usage with Claude Desktop

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "tmobile": {
      "command": "node",
      "args": ["/path/to/node_modules/@striderlabs/mcp-tmobile/dist/index.js"],
      "env": {
        "TMOBILE_USERNAME": "[email protected]",
        "TMOBILE_PASSWORD": "your-password",
        "BROWSERBASE_CDP_URL": "wss://connect.browserbase.com?apiKey=your-key"
      }
    }
  }
}

Usage with MCP CLI

# Run directly
[email protected] TMOBILE_PASSWORD=pass npx @striderlabs/mcp-tmobile

# With Browserbase
BROWSERBASE_CDP_URL=wss://... npx @striderlabs/mcp-tmobile

Tool Examples

Get Account Overview

{
  "tool": "get_account_overview",
  "arguments": {}
}

Get Usage Details

{
  "tool": "get_usage_details",
  "arguments": {
    "line": "+15551234567"
  }
}

Pay Bill

{
  "tool": "pay_bill",
  "arguments": {
    "amount": 85.00
  }
}

Get Bill History

{
  "tool": "get_bill_history",
  "arguments": {
    "months": 3
  }
}

Check Upgrade Eligibility

{
  "tool": "check_upgrade_eligibility",
  "arguments": {}
}

Browser Automation

This server uses Playwright to automate the T-Mobile account portal (account.t-mobile.com). The browser session is reused across tool calls within the same server process — login happens once and the session persists.

Browserbase Integration

Connect via Browserbase for cloud-based browser automation:

export BROWSERBASE_CDP_URL="wss://connect.browserbase.com?apiKey=YOUR_API_KEY&enableProxy=true"

The server connects using Playwright's chromium.connectOverCDP().

Security Notes

  • Credentials are never logged or stored beyond the current session
  • Use environment variables rather than passing credentials in tool arguments when possible
  • The pay_bill tool navigates to the payment page and returns details for review — it does not auto-confirm payments

Development

git clone <repo>
cd mcp-tmobile
npm install
npm run build
npm start