Skip to content

Instantly share code, notes, and snippets.

@KyMidd
Created August 24, 2025 13:23
Show Gist options
  • Select an option

  • Save KyMidd/5ca226e1b5db636d5fa995d7d7c18fdc to your computer and use it in GitHub Desktop.

Select an option

Save KyMidd/5ca226e1b5db636d5fa995d7d7c18fdc to your computer and use it in GitHub Desktop.
# Create MCP clients
github_mcp_client = github_streamable_mcp_client()
# Open tools and start chatting
with github_mcp_client:
# Configure bedrock model
bedrock_model = configure_bedrock_model()
# Inventory tools each MCP provides
github_tools = github_mcp_client.list_tools_sync()
agent_tools = [calculator, current_time, retrieve, use_aws] + github_tools
# Create agent with tools
agent = create_agent(agent_tools)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment