An MCP (Model Context Protocol) server deployed on Amazon Bedrock AgentCore.
This project implements an MCP server using FastMCP. MCP servers expose tools that can be consumed by MCP clients (other agents or applications).
# Install dependencies
uv sync
# Run the MCP server locally
uv run python main.pyThe server starts on port 8000 with Streamable HTTP transport.
Define tools using the @mcp.tool() decorator in main.py:
@mcp.tool()
def my_tool(param: str) -> str:
"""Description of what the tool does."""
return f"Result: {param}"agentcore deploy