Amazon Connect MCP Server
An MCP server that enables AI assistants to interact with Amazon Connect contact centers, providing 88 tools, 91 configuration templates, and multi-region support.
README
Amazon Connect MCP Server
An MCP (Model Context Protocol) server that enables AI assistants to interact with Amazon Connect contact centers. Built with FastMCP and boto3.
Features
- 88 Tools covering all major Amazon Connect services
- 91 Configuration Templates - Industry-specific templates for cases, views, routing, and more
- Multi-Region Support - List instances across all AWS regions
- Setup Wizard - Guided setup for new Connect instances
- Infrastructure as Code - Generate CloudFormation templates
MCP Capabilities
This server implements the full Model Context Protocol specification:
- Tools - 88 tools for interacting with Amazon Connect services (cases, contacts, analytics, AI, etc.)
- Prompts - Pre-configured prompts for common workflows like instance setup, case creation, and contact center configuration
- Resources - Access to 91+ configuration templates as contextual resources that can be attached to conversations
- Skills - Specialized capabilities including the Setup Wizard for guided instance configuration and IaC generation
Tool Categories
| Category | Tools | Description |
|---|---|---|
| Core | 9 | Instance management, metrics, contacts, cases |
| Cases | 17 | Case templates, fields, layouts, domains |
| Contacts | 8 | Voice, chat, tasks, transfers, recording |
| Config | 17 | Flows, queues, routing profiles, users |
| Analytics | 5 | Metrics, evaluations, performance |
| Profiles | 9 | Customer profile management |
| Campaigns | 10 | Outbound campaign management |
| AI | 8 | Amazon Q in Connect integration |
| Templates | 3 | Template management |
| Wizard | 2 | Setup wizard and IaC generation |
Template Categories
| Category | Count | Description |
|---|---|---|
| Cases | 20 | Industry-specific case templates and layouts |
| Views | 15 | Agent workspace screen pops and disposition forms |
| Data Tables | 8 | Routing rules, SLAs, outage status, schedules |
| Routing | 15 | Hours of operation, queues, agent profiles |
| Evaluation Forms | 6 | Quality management scoring templates |
| Contact Flows | 15 | Industry-specific IVR and routing flows |
| Step-by-Step Guides | 6 | Agent workflow templates |
| Customer Profiles | 5 | Unified customer view layouts |
| IaC | 1 | CloudFormation templates |
Prerequisites
AWS CLI & Credentials
-
Install the AWS CLI
-
Configure your credentials:
# If you don't have a profile yet, create one
aws configure --profile my-connect-profile
# You'll be prompted for:
# - AWS Access Key ID
# - AWS Secret Access Key
# - Default region (e.g., us-east-1)
# - Output format (json)
- Verify your setup:
# List available profiles
aws configure list-profiles
# Test connectivity
aws sts get-caller-identity --profile my-connect-profile
Your profile needs IAM permissions for Amazon Connect. See Amazon Connect required permissions.
Quick Start
Installation
# Clone the repository
git clone https://github.com/mundurragacl/amazon-connect-mcp.git
cd amazon-connect-mcp
# Create virtual environment
python3 -m venv .venv
source .venv/bin/activate
# Install
pip install -e .
Running the Server
# Local (stdio) - for Claude Desktop, Cursor, etc.
fastmcp run src/amazon_connect_mcp/server.py
# Or as a module
python -m amazon_connect_mcp.server
Cursor
Or manually add to .cursor/mcp.json:
{
"mcpServers": {
"amazon-connect": {
"command": "python",
"args": ["-m", "amazon_connect_mcp.server"],
"env": {
"AWS_PROFILE": "your-profile"
}
}
}
}
Kiro CLI
Add to .kiro/settings/mcp.json (workspace) or ~/.kiro/settings/mcp.json (global):
{
"mcpServers": {
"amazon-connect": {
"command": "python",
"args": ["-m", "amazon_connect_mcp.server"],
"env": {
"AWS_PROFILE": "your-profile"
}
}
}
}
For macOS with virtual environment, use the full path approach:
{
"mcpServers": {
"amazon-connect": {
"command": "sh",
"args": ["-c", "cd /path/to/amazon-connect-mcp && source .venv/bin/activate && python -m amazon_connect_mcp.server"],
"env": {
"AWS_PROFILE": "your-profile"
}
}
}
}
Claude Desktop
Add to ~/Library/Application Support/Claude/claude_desktop_config.json:
Recommended (macOS/Linux):
{
"mcpServers": {
"amazon-connect": {
"command": "/path/to/amazon-connect-mcp/.venv/bin/amazon-connect-mcp",
"env": {
"AWS_PROFILE": "your-profile"
}
}
}
}
Alternative (if above doesn't work):
{
"mcpServers": {
"amazon-connect": {
"command": "python",
"args": ["-m", "amazon_connect_mcp.server"],
"cwd": "/path/to/amazon-connect-mcp",
"env": {
"AWS_PROFILE": "your-profile"
}
}
}
}
Usage Examples
List All Connect Instances
# Lists instances across all AWS regions
list_instances()
# Filter by region
list_instances(region="us-west-2")
Get Real-Time Metrics
get_current_metrics(instance_id="your-instance-id")
Create a Case
create_case(
domain_id="your-domain-id",
template_id="your-template-id",
fields={"title": "Customer Issue", "priority": "High"}
)
Use Configuration Templates
# List available templates
template_list()
# Get a specific template
template_get(category="cases", name="general_support")
# Customize a template
template_customize(
category="cases",
name="billing_inquiry",
overrides={"name": "Custom Billing Template"}
)
Setup Wizard
# Start guided setup
wizard_start_setup(
use_case="ai_enhanced", # basic, cases_enabled, ai_enhanced, full_enterprise
instance_name="my-contact-center",
region="us-east-1"
)
# Generate CloudFormation template
wizard_get_iac_template(
use_case="basic",
instance_name="my-cc",
region="us-east-1"
)
MCP Capabilities Reference
This server provides the full Model Context Protocol specification with tools, prompts, resources, and skills.
Tools (88 Available)
Core operations for Amazon Connect management:
list_instances- List all Connect instances across AWS regionsdescribe_instance- Get detailed information about a specific instanceget_current_metrics- Retrieve real-time contact center metricscreate_case- Create a new customer support casesearch_cases- Search cases with filters and sortingcases_create_template- Create custom case templatescontacts_start_outbound_voice- Initiate outbound voice callsconfig_create_queue- Create new contact queuesprofiles_search- Search customer profilesai_query_assistant- Query Amazon Q in Connect for answers
Prompts (Workflow Guidance)
Pre-configured prompts for common workflows embedded in templates:
- Instance Setup - Step-by-step guidance for new Connect instance configuration
- Case Creation Workflow - Complete workflow from domain setup to case creation
- Customer Profile Integration - Associate Customer Profiles with Connect instance
- Queue Configuration - Create queues with hours of operation and routing
- Agent Workspace Setup - Configure agent views and screen pops
- Outbound Campaign Launch - Set up and start outbound calling campaigns
- Contact Flow Design - Build IVR flows with proper error handling
- Analytics Setup - Configure metrics collection and reporting
- AI Integration - Enable Amazon Q in Connect with knowledge bases
- Multi-Region Deployment - Deploy across multiple AWS regions
Resources (91+ Templates)
Configuration templates accessible as contextual resources:
- Cases Templates - 20 industry-specific case templates (healthcare, finance, retail, etc.)
- Agent Views - 15 screen pop and disposition form templates
- Data Tables - 8 routing and configuration tables (holidays, SLAs, outages)
- Hours of Operation - 6 schedule templates (24x7, business hours, healthcare)
- Queue Configurations - Industry-specific queue setups
- Routing Profiles - Agent skill-based routing templates
- Contact Flows - 15 IVR flow templates by industry
- Evaluation Forms - 6 quality management templates
- Customer Profile Layouts - Unified customer view configurations
- CloudFormation Templates - Infrastructure as Code for instance deployment
Skills (Specialized Capabilities)
Advanced capabilities for complex operations:
- Setup Wizard - Guided instance setup with use case selection (basic, cases, AI, enterprise)
- IaC Generator - Generate CloudFormation templates from configuration choices
- Template Customizer - Customize templates with overrides and industry-specific fields
- Layout Visualizer - Drag-and-drop interface for designing case layouts
- Multi-Region Discovery - Automatically discover instances across all AWS regions
- Domain Association - Properly sequence Customer Profiles and Cases integration
- Workflow Validator - Validate configuration dependencies before deployment
- Template Loader - Dynamic template loading with LLM guidance
- Session Management - Region-aware session handling for API calls
- Error Recovery - Automatic retry and fallback for common API errors
Available Templates
Cases Templates (Industry-Specific)
| Industry | Template | Key Fields |
|---|---|---|
| General | general_support |
Standard support case |
| General | billing_inquiry |
Billing-specific with conditional fields |
| General | technical_support |
Technical support with severity levels |
| Healthcare | healthcare_support |
Patient ID, insurance, appointments |
| Financial Services | financial_services |
Account, transactions, disputes |
| Insurance | insurance_claims |
Policy, claims, adjusters |
| E-Commerce/Retail | ecommerce_support |
Orders, returns, shipping |
| Telecommunications | telecom_support |
Service, devices, outages |
| Travel/Hospitality | travel_hospitality |
Reservations, loyalty, refunds |
| Technology/SaaS | technology_support |
Products, bugs, integrations |
| Utilities | utilities_support |
Service address, meters, outages |
Cases Layouts
general_support_layout- Standard Z-formation layouthealthcare_layout- Patient-focused layoutfinancial_services_layout- Account and transaction layoutretail_ecommerce_layout- Order and shipping layoutinsurance_claims_layout- Policy and claims layouttelecom_layout- Service and device layouttravel_hospitality_layout- Reservation and booking layouttechnology_layout- Product and issue layoututilities_layout- Service address and meter layout
Agent Views (Industry-Specific)
| Type | Template | Description |
|---|---|---|
| Screen Pop | screen_pop |
Generic customer info display |
| Screen Pop | healthcare_screen_pop |
Patient info with HIPAA compliance |
| Screen Pop | financial_screen_pop |
Account overview with fraud alerts |
| Screen Pop | ecommerce_screen_pop |
Order and shipping details |
| Screen Pop | telecom_screen_pop |
Service and device info |
| Screen Pop | insurance_screen_pop |
Policy and claims overview |
| Screen Pop | travel_screen_pop |
Reservation details |
| Screen Pop | technology_screen_pop |
Product and subscription info |
| Screen Pop | utilities_screen_pop |
Service account with outage alerts |
| Disposition | call_disposition |
Generic after-call work form |
| Disposition | healthcare_disposition |
Healthcare-specific disposition |
| Disposition | ecommerce_disposition |
E-commerce disposition with refunds |
| Disposition | financial_disposition |
Financial services disposition |
| Form | case_creation_form |
Case creation form |
| Selection | topic_selection |
Contact reason selection cards |
Data Tables
| Template | Description |
|---|---|
holiday_schedule |
Holiday closures with custom messages |
emergency_routing |
Emergency routing overrides |
sla_configuration |
SLA rules by customer tier |
skill_routing_rules |
Skill-based routing configuration |
geographic_routing |
Location-based routing rules |
outage_status |
Real-time outage and incident tracking |
healthcare_provider_directory |
Healthcare department routing |
product_support_matrix |
Product-specific support routing |
Routing Templates
Hours of Operation:
business_hours- M-F 8am-5pm24x7- 24/7 operationhealthcare_hours- Healthcare with on-call supportfinancial_services_hours- Extended hours with 24/7 fraud lineecommerce_hours- Extended hours with peak season configutilities_24x7- 24/7 with emergency prioritization
Queue Configurations:
general_support- Standard queue confighealthcare_queues- Healthcare department queuesfinancial_queues- Banking queues with fraud priorityecommerce_queues- Retail queues with VIP supporttelecom_queues- Telecom service queues
Agent Routing Profiles:
support_agent- General support agent profilehealthcare_profiles- Healthcare agent profilesfinancial_profiles- Financial services profilesecommerce_profiles- E-commerce agent profiles
Infrastructure as Code
basic_instance.yaml- CloudFormation template for basic setup
Architecture
┌─────────────────────────────────────────────────────────┐
│ amazon-connect-mcp (86 Tools) │
│ │
│ TIER 1 - Core (Always Available): │
│ ├── list_instances (multi-region) │
│ ├── describe_instance, list_queues │
│ ├── get_current_metrics, search_contacts │
│ └── create_case, get_case, search_cases │
│ │
│ TIER 2 - Domain Tools: │
│ ├── cases_* (16 tools) │
│ ├── contacts_* (8 tools) │
│ ├── config_* (17 tools) │
│ ├── analytics_* (5 tools) │
│ ├── profiles_* (8 tools) │
│ ├── campaigns_* (10 tools) │
│ └── ai_* (8 tools) │
│ │
│ WIZARD & TEMPLATES: │
│ ├── template_list, template_get, template_customize │
│ └── wizard_start_setup, wizard_get_iac_template │
└─────────────────────────────────────────────────────────┘
Documentation
- Amazon Connect API Features
- MCP Architecture Best Practices
- Templates & Views Research
- TODO: Templates Implementation
Development
# Install dev dependencies
pip install -e ".[dev]"
# Run tests
pytest
# Type checking
mypy src/
Requirements
- Python 3.12+
- AWS credentials with Amazon Connect permissions
- FastMCP 2.x
- boto3
License
MIT License - see LICENSE for details.
Contributing
Contributions welcome! Please read the contributing guidelines before submitting PRs.
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。