@terros-inc/mcp
Production-ready MCP server scaffold for the Terros platform. This initial version implements User API tools.
Implemented tools
terros_get_current_user- Get the authenticated user profile (GET /users/me)terros_list_users- List users with optionalrole,limit, andoffsetterros_get_user- Get a user by ID
Requirements
- Node.js 20+
- npm
- Terros API key
Setup
pnpm install
cp .env.example .env
pnpm build
pnpm start
Environment variables
| Variable | Required | Default | Description |
|---|---|---|---|
TERROS_API_KEY | Yes | - | API key sent as Authorization: Bearer <key> |
TERROS_API_BASE_URL | No | https://api.terros.com/v1 | Base URL for Terros API |
MCP client configuration
Claude Desktop
Add this to Claude Desktop MCP config:
{
"mcpServers": {
"terros": {
"command": "node",
"args": ["/absolute/path/to/terros-mcp/dist/index.js"],
"env": {
"TERROS_API_KEY": "<your_key>",
"TERROS_API_BASE_URL": "https://api.terros.com/v1"
}
}
}
}
Cursor
Configure MCP server entry:
{
"name": "terros",
"command": "node",
"args": ["/absolute/path/to/terros-mcp/dist/index.js"],
"env": {
"TERROS_API_KEY": "<your_key>",
"TERROS_API_BASE_URL": "https://api.terros.com/v1"
}
}
OpenClaw
Example server launch:
TERROS_API_KEY=<your_key> TERROS_API_BASE_URL=https://api.terros.com/v1 node dist/index.js
Development
pnpm dev
Build
pnpm build