Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.getsmartalex.com/llms.txt

Use this file to discover all available pages before exploring further.

MCP Server Overview

SmartAlex provides a fully-featured Model Context Protocol (MCP) server that lets AI assistants manage your entire voice agent platform through natural conversation.

What is MCP?

The Model Context Protocol is an open standard that connects AI assistants to external tools, data sources, and services. Instead of switching between dashboards, you can ask your AI assistant to manage contacts, launch campaigns, analyze calls, and track deals , all through conversation. MCP is supported by Claude, Claude Code, Cursor, VS Code (GitHub Copilot), ChatGPT, Gemini CLI, and a growing ecosystem of AI clients.

What SmartAlex’s MCP Server Does

The SmartAlex MCP server exposes 28 tools, 7 resources, and 5 prompts , giving AI assistants full operational access to your SmartAlex workspace. With it, you can:
  • Manage contacts , list, create, update, and organize your contact database
  • Create and configure voice agents , build agents from a website URL or with full customization, update settings with automatic voice platform sync
  • Run campaigns , create campaigns, add contacts, start calling, and track progress
  • Analyze calls , browse call history and read full transcripts with sentiment data
  • Track deals , manage your sales pipeline from lead to closed
  • Set up webhooks , create event-driven integrations with external systems
  • Monitor the platform , check health, usage stats, and system status

Tools (28)

SmartAlex exposes 28 tools organized across 8 domains. All tool names are prefixed with smartalex_ to avoid conflicts with other MCP servers.

Contacts (4 tools)

ToolDescription
smartalex_list_contactsList contacts with pagination (page, per_page)
smartalex_get_contactGet a single contact by UUID
smartalex_create_contactCreate a new contact (first_name required)
smartalex_update_contactPartial update , only provided fields change

Agents (6 tools)

ToolDescription
smartalex_list_agentsList all AI voice agents with name, language, and status
smartalex_get_agentGet full agent configuration by UUID
smartalex_create_agentQuick Setup , create an agent from a website URL (auto-scrapes, generates prompt)
smartalex_create_agent_advancedAdvanced Setup , create a fully customized agent with name, objective, direction, and more
smartalex_update_agentUpdate agent settings (16 fields) with automatic voice platform sync and prompt regeneration
smartalex_delete_agentPermanently delete a voice agent

Phone Numbers (3 tools)

ToolDescription
smartalex_list_phone_numbersList all active phone numbers with country and agent assignment
smartalex_search_available_numbersSearch available numbers by country (US, CA, GB, AU, NZ, FI, DK, NL, ZA)
smartalex_buy_phone_numberPurchase a phone number (~$1.66/mo, first free on trial)

Campaigns (5 tools)

ToolDescription
smartalex_list_campaignsList all voice campaigns with status and agent assignment
smartalex_get_campaignGet campaign details including contact counts and call stats
smartalex_create_campaignCreate a campaign , assign agent, set objective, configure hours
smartalex_add_contacts_to_campaignAdd contacts to a campaign (max 100 per call, deduped)
smartalex_start_campaignStart a campaign to begin making calls

Calls (2 tools)

ToolDescription
smartalex_list_callsList call records with pagination (direction, call_status, duration_seconds, sentiment, cost)
smartalex_get_callGet full call detail including conversation transcript

Deals (4 tools)

ToolDescription
smartalex_list_dealsList deals in pipeline, optionally filter by stage
smartalex_create_dealCreate a new deal with name, stage, value, and contact
smartalex_update_dealUpdate deal stage, value, or other fields
smartalex_delete_dealPermanently delete a deal

Webhooks (3 tools)

ToolDescription
smartalex_list_webhooksList all active webhook subscriptions
smartalex_create_webhookSubscribe to events , returns a one-time signing_secret
smartalex_delete_webhookUnregister a webhook

Platform (1 tool)

ToolDescription
smartalex_get_platform_statusPlatform health + usage stats (contacts, campaigns, calls, deals)

Resources (7)

Resources provide read-only data that AI assistants can access for context.
ResourceURIDescription
Platform Statussmartalex://platform/statusHealth, uptime, and usage stats
Agentssmartalex://agentsAll configured voice agents
Campaignssmartalex://campaigns/activeAll campaigns with status, mode, and agent assignment
Recent Callssmartalex://calls/recentLast 25 calls with summary
Deals Pipelinesmartalex://deals/pipelineCurrent pipeline and deal values
Contact Statssmartalex://contacts/statsContact database overview (first 25)
Workflowssmartalex://workflows7 recommended multi-step workflow templates

Prompts (5)

Prompts are pre-built conversation templates that guide AI assistants through complex multi-step tasks.
PromptDescription
campaign-strategyDesign a campaign strategy based on your contacts, agents, and goals
lead-qualificationAnalyze and score leads using call transcripts and engagement data
agent-designEvaluate and improve voice agents , suggest optimizations, new agents, or retirements
call-analysisDeep analysis of call outcomes , sentiment, objections, and conversions
pipeline-reviewReview your pipeline , bottlenecks, at-risk deals, and forecast

Supported AI Clients

SmartAlex MCP server works with any MCP-compatible client:
ClientTransportStatus
Claude CodeHTTP (cloud) or stdio (local)Fully supported
Claude Desktopstdio (local)Fully supported
Cursorstdio (local)Fully supported
VS Code (GitHub Copilot)stdio (local)Fully supported
Windsurfstdio (local)Fully supported
Gemini CLIstdio (local)Fully supported
ChatGPTHTTP (cloud)Supported via cloud endpoint
Custom clientsHTTP or stdioAny MCP-compatible client works

Authentication

SmartAlex MCP server supports two authentication methods:

API Keys

API keys use a prefixed format for easy identification:
  • Production: sa_live_ prefix (e.g., sa_live_abc123...)
  • Test/Staging: sa_test_ prefix (e.g., sa_test_xyz789...)
Generate API keys from the Developer Portal in your SmartAlex dashboard.

OAuth 2.0

For AI clients that support OAuth (like Claude Code’s HTTP transport), SmartAlex provides native OAuth 2.0 authentication. The server advertises its authorization server via the RFC 9728 Protected Resource Metadata endpoint.

Rate Limits

TransportLimitKeyed by
Cloud (authenticated)100 requests/minWorkspace
Cloud (public/onboarding)30 requests/minIP address
Rate limit headers are included on all responses: X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset. When rate limited, the server returns HTTP 429 with a Retry-After header.

Architecture

The SmartAlex MCP server can run in two modes:

Local (stdio)

AI Client ←stdio→ @smartalex/mcp-server ←HTTPS→ SmartAlex API Gateway
Install locally via npm/npx. The server communicates with your AI client over stdio and authenticates to SmartAlex’s API gateway with your API key.

Cloud (HTTP Streamable)

AI Client ←HTTPS→ SmartAlex Cloud MCP ←internal→ SmartAlex API Gateway
Connect directly to SmartAlex’s hosted MCP endpoint. No local installation required. Supports both API key and OAuth authentication. Cloud endpoint: https://api.getsmartalex.com/functions/v1/mcp-server

Next Steps