Skip to main content
asyncmcp can be installed using various Python package managers. Choose the one that best fits your workflow.

Package Managers

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:

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:4566

Environment Configuration

AWS Configuration

For AWS-based transports (SQS, SNS+SQS), configure your AWS credentials:
.env

Python Path Configuration

If running examples directly:

Docker Setup

For containerized deployments:

Troubleshooting

Ensure asyncmcp is installed in your current environment:
If not listed, reinstall:
AWS transports require boto3:
Ensure LocalStack is running:
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