teamspend
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| CODEX_HOME | No | Overrides the Codex CLI home directory (default ~/.codex). | |
| XDG_CONFIG_HOME | No | Overrides the base config directory for Claude Code (and other tools). | |
| CLAUDE_CONFIG_DIR | No | Overrides the Claude Code configuration directory (default ~/.claude). | |
| OPENCODE_DATA_DIR | No | Overrides the OpenCode local data directory (default ~/.local/share/opencode/storage/). | |
| TEAMSPEND_COPILOT_ORG | No | Your GitHub org login. | |
| TEAMSPEND_CURSOR_TOKEN | No | Cursor Admin API key. | |
| TEAMSPEND_COPILOT_TOKEN | No | GitHub token with read:org scope or fine-grained 'View Organization Copilot Metrics' permission. | |
| TEAMSPEND_CLAUDE_CODE_TOKEN | No | Anthropic Admin/Analytics API key. | |
| TEAMSPEND_COPILOT_SEAT_PRICE_USD | No | Optional flat seat price per user for Copilot; if set, added once per active user for the whole comparison window. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| runA | Compare AI-coding-tool spend between a "before" and "after" date window across two tools, using each vendor's own admin/analytics API (or local session logs for the credential-free Prerequisites: the two admin API tokens for whichever tools are being compared must already be set as environment variables in the server's process (e.g. TEAMSPEND_CURSOR_TOKEN, TEAMSPEND_CLAUDE_CODE_TOKEN, TEAMSPEND_COPILOT_TOKEN + TEAMSPEND_COPILOT_ORG); claude-code-personal needs no token since it reads local session logs instead. Missing credentials do not raise an exception -- the tool still returns successfully, with a Behavioral notes: this makes outbound network calls to the relevant vendor APIs (skipped for claude-code-personal) and is read-only against the user's own systems, but it also writes a Parameter: Returns a dict parsed from the CLI's own |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/RudrenduPaul/teamspend'
If you have feedback or need assistance with the MCP directory API, please join our Discord server