Package Managers
- uv (Recommended)
- pip
- poetry
- pipenv
Requirements
asyncmcp requires Python 3.10 or higher.
Core Dependencies
asyncmcp automatically installs these core dependencies:- mcp - Model Context Protocol implementation
- anyio - Async runtime support
- httpx - HTTP client for webhook transport
- boto3 - AWS SDK for SQS/SNS transports (optional)
- starlette - ASGI framework for webhook server
Optional Dependencies
Depending on your transport choice, you may need additional packages:AWS Transports (SQS, SNS+SQS)
AWS Transports (SQS, SNS+SQS)
Webhook Transport
Webhook Transport
Development Tools
Development Tools
Verify Installation
After installation, verify asyncmcp is properly installed:Development Setup
For contributing to asyncmcp or running examples:1
Clone the Repository
2
Install Dependencies
3
Install Pre-commit Hooks
Pre-commit hooks automatically format code and check for linting issues before commits.
4
Set Up LocalStack
LocalStack should be running on
http://localhost:4566Environment Configuration
AWS Configuration
For AWS-based transports (SQS, SNS+SQS), configure your AWS credentials:- LocalStack (Development)
- AWS (Production)
.env
Python Path Configuration
If running examples directly:Docker Setup
For containerized deployments:Troubleshooting
ImportError: No module named 'asyncmcp'
ImportError: No module named 'asyncmcp'
Ensure asyncmcp is installed in your current environment:If not listed, reinstall:
boto3 not found
boto3 not found
AWS transports require boto3:
LocalStack connection refused
LocalStack connection refused
Ensure LocalStack is running:
Python version error
Python version error
asyncmcp requires Python 3.10+. Check your version:Use pyenv or similar to install a compatible version.
Next Steps
Quickstart
Run your first asyncmcp server and client
Core Concepts
Understand async transports and how they work
Local Development
Set up LocalStack for development
Examples
Browse example implementations