mcp-tmobile
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mcp-tmobile check my upgrade eligibility"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
@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 current plan, balance, and usage summary |
| Get detailed data/call/text usage breakdown |
| Initiate a one-time payment |
| View past bills and payment history |
| Check device upgrade eligibility for account lines |
Related MCP server: Playwright Plus Python MCP
Setup
Install
npm install @striderlabs/mcp-tmobileEnvironment Variables
# Required: T-Mobile credentials
export TMOBILE_USERNAME="your-email@example.com"
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": "your-email@example.com",
"TMOBILE_PASSWORD": "your-password",
"BROWSERBASE_CDP_URL": "wss://connect.browserbase.com?apiKey=your-key"
}
}
}
}Usage with MCP CLI
# Run directly
TMOBILE_USERNAME=user@example.com TMOBILE_PASSWORD=pass npx @striderlabs/mcp-tmobile
# With Browserbase
BROWSERBASE_CDP_URL=wss://... npx @striderlabs/mcp-tmobileTool 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_billtool 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 startAvailable Tools
5 toolscheck_upgrade_eligibilityB
Check T-Mobile device upgrade eligibility for lines on the account.
Inputs: line, password, username.
get_account_overviewB
Get T-Mobile account overview including current plan, balance, and usage summary. Requires login credentials.
Inputs: password, username.
get_bill_historyB
View past T-Mobile bills and payment history.
Inputs: months, password, username.
get_usage_detailsC
Get detailed T-Mobile data, call, and text usage breakdown for the current billing period.
Inputs: line, password, username.
pay_billA
Initiate a one-time bill payment for T-Mobile account. Returns payment details for review before confirmation.
Inputs: amount, password, username, payment_method.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 5 tools
Each tool maps to a distinct account action, but get_account_overview and get_usage_details overlap somewhat because the overview includes a usage summary; the 'summary vs. detailed breakdown' distinction keeps them separable.
All tools use consistent snake_case verb_noun naming: get_* for read operations and pay_bill/check_upgrade_eligibility for actions. This creates a predictable pattern with no style mixing.
Five tools is a well-scoped set for a personal T-Mobile account management server, covering billing, usage, and upgrade information without bloat or an overly thin surface.
Core account management flows—overview, usage, bill payment, and upgrade eligibility—are present. Minor gaps include no explicit payment confirmation step or autopay/plan management, but these are workable for the apparent scope.
Maintenance
Related MCP Connectors
Playwright browser automation — navigate, click, fill forms, extract, screenshot — 17 agent tools.
Stealth web automation for AI agents. Login, signup, navigate, screenshot.
Stealth web automation for AI agents. Login, signup, navigate, screenshot.
Provides cloud browser automation capabilities using Stagehand and Browserbase, enabling LLMs to i…
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceProvides browser automation capabilities using Playwright, enabling users to navigate websites, extract content, take screenshots, and interact with web pages through natural language prompts.9 npmMIT
- AlicenseBqualityNot gradedmaintenanceEnables browser automation and web scraping through Playwright, supporting navigation, screenshots, element interaction, form filling, JavaScript execution, and content extraction.8Apache 2.0
- AlicenseAqualityDmaintenanceAutomates Spectrum/Charter ISP account management tasks such as viewing account overview, paying bills, checking outages, and scheduling technician visits via browser automation.67 npmMIT
- AlicenseAqualityDmaintenanceMCP server for AT&T telecom account management, automating att.com with Playwright to enable account overview, usage details, bill payment, bill history, and upgrade eligibility checks.56 npmMIT