Python MCP client provided by the AWS Transform team
Project description
Agent Builder MCP Client
An async Python client for talking to MCP servers, used by the Agent Builder SDK to invoke tools exposed over MCP.
Use it from any Python code that needs to call MCP tools — for example, an agent runtime that talks to one or more MCP servers.
Installation
pip install agent-builder-mcp-client-aws-transform
Quick start
import asyncio
from agent_builder_mcp_client import AsyncMCPClient
async def main():
client = AsyncMCPClient()
# Connect over stdio (local server process)
await client.connect_via_stdio(command="agent-builder-mcp")
# Or connect over SSE (remote server)
# await client.connect_via_sse(server_url="https://example.com/mcp")
# Inspect the tools the server exposes
for tool in client.tools:
print(tool.name, tool.description)
asyncio.run(main())
Transports
- stdio — launch and talk to a local MCP server subprocess.
- SSE — connect to a remote MCP server over HTTP with server-sent events, including optional custom headers for auth.
Requirements
- Python 3.11+
License
Apache-2.0. See LICENSE and THIRD-PARTY-NOTICES.txt.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file agent_builder_mcp_client_aws_transform-1.0.0.tar.gz.
File metadata
- Download URL: agent_builder_mcp_client_aws_transform-1.0.0.tar.gz
- Upload date:
- Size: 18.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
028d920cd25dcd54b4c182b006133bd0b4306924fb435beff94905dcfedefccf
|
|
| MD5 |
613b620eded09aa426a6f2e3db7a22d7
|
|
| BLAKE2b-256 |
4cb052126a76ec06fb5f48d05b8af25d96f0733113264d90e7641aec26a0134b
|
File details
Details for the file agent_builder_mcp_client_aws_transform-1.0.0-py3-none-any.whl.
File metadata
- Download URL: agent_builder_mcp_client_aws_transform-1.0.0-py3-none-any.whl
- Upload date:
- Size: 20.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8464b21509a1cbed138b2af360537f1a4874c2018f4dfd16b804b40017095545
|
|
| MD5 |
82ec650861e4dc91e7e1e609f0dfdfea
|
|
| BLAKE2b-256 |
0de47abb21374ebcb0e12b39a6786076a20409fb76e139a6685c5769e1eff737
|