MCP.so
登录

AWS Bedrock MCP Client and Server

@sverze

关于 AWS Bedrock MCP Client and Server

AWS API/lambda hosting MCP client server that queries bedrock LLM using MCP hosted tools

基本信息

分类

云与基础设施

运行时

java

传输方式

stdio

发布者

sverze

配置

暂无标准配置

该服务器的 README 中没有可解析的 MCP 配置块,请前往代码仓库查看安装说明。

代码仓库

工具

未检测到工具

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is AWS Bedrock MCP Client and Server?

A Spring Boot application that serves as a client for the Model Context Protocol (MCP), enabling interaction with Amazon Bedrock AI models with tool-using capabilities. It provides a REST API for calculations, weather information, and web page retrieval, and runs as a serverless AWS Lambda function behind API Gateway.

How to use AWS Bedrock MCP Client and Server?

Clone the repository, configure AWS credentials with privileges for Lambda, API Gateway, Bedrock, and the Anthropic Sonnet 4.0 model. Build with mvn clean package install -DWEATHER_API_KEY=<your_key> and deploy using AWS CDK (cdk bootstrap, cdk deploy --context WEATHER_API_KEY=<your_key>). After deployment, use the provided API Gateway URL to call endpoints like /hello, /tools, /calculate, /weather, /webpage, and /query via curl.

Key features of AWS Bedrock MCP Client and Server

  • REST API for interacting with Amazon Bedrock models
  • MCP tools for calculations, weather, and web page retrieval
  • Handles complex AI queries that may use multiple tools
  • Serverless and scalable via AWS Lambda and API Gateway
  • Deployed and managed with AWS CDK
  • Uses Java 21, Spring Boot, and Maven multi-module structure

Use cases of AWS Bedrock MCP Client and Server

  • Ask a question like “What is the weather in London and calculate 45 divided by 9?”
  • Summarise a web page by providing its URL
  • Perform individual tool operations: add numbers, get weather, convert a web page to markdown
  • Test the API with a simple hello-world endpoint

FAQ from AWS Bedrock MCP Client and Server

What are the prerequisites to run the application?

Java 21 or later, Maven 3.8+, AWS CLI with appropriate credentials, and a Weather API key from weatherapi.com. AWS CDK must also be installed globally.

What tools are available through the API?

Calculations (add, subtract, etc.), weather information for a given location, and conversion of a web page to markdown.

How is the application deployed?

Deployment is managed with AWS CDK. Run cdk bootstrap followed by cdk deploy --context WEATHER_API_KEY=<your_key> from the aws-bedrock-mcp-client-server-cdk directory.

How can I view logs and monitor the application?

Check the AWS CloudWatch console under the log group /aws/lambda/McpClientServerFunction.

How do I clean up all deployed resources?

Run cdk destroy from the aws-bedrock-mcp-client-server-cdk directory.

评论

云与基础设施 分类下的更多 MCP 服务器