Skip to main content
Glama

MCP Tool Server

AWS Bedrock 上的 MCP

一个简单清晰的示例,用于实现和理解 Anthropic MCP(在 AWS Bedrock 上)。

对于多台 MCP 服务器的管理,可以参考这个小项目 Q-2001 ~

概述

该项目演示了如何在 AWS Bedrock 中实现并使用 Anthropic 的模型上下文协议 (MCP)。它提供了一个客户端实现,可以通过 AWS Bedrock 的运行时服务与支持 MCP 的工具进行交互。

更新 2025-05-10:可流式传输的 HTTP

  • 添加对Streamable HTTP 的支持
  • 重写 URL 获取 MCP 服务器fetch_url_mcp_server.py ,演示不同的传输类型

使用说明

使用默认 stdio 设置(无传输参数)运行服务器:

uv run fetch_url_mcp_server.py # client uv run client_stdio.py

在默认端口(8000)上使用 streamable-http 传输运行:

python fetch_url_mcp_server.py --transport streamable-http # client uv run client_streamablehttp.py

在自定义端口上使用 streamable-http 传输运行:

python fetch_url_mcp_server.py --transport streamable-http --port 8080

先决条件

  • Python 3.10 或更高版本
  • 具有 Bedrock 访问权限的 AWS 账户
  • 配置 AWS 凭证
  • UV包管理器

特征

  • 使用 Converse API 与 AWS Bedrock 运行时无缝集成
  • 实现 Bedrock 兼容性的工具格式转换
  • 异步通信处理
  • 用于调试的结构化日志记录

贡献

请随意提交问题并请求改进实施。

执照

MIT 许可证

参考

You must be authenticated.

A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

Tools

通过实施 Anthropic 的模型上下文协议实现无缝工具集成和通信,促进与支持 AWS Bedrock 的工具的交互。

  1. 概述
    1. 更新 2025-05-10:可流式传输的 HTTP
      1. 使用说明
    2. 先决条件
      1. 特征
        1. 贡献
          1. 执照
            1. 参考

              Related MCP Servers

              • A
                security
                F
                license
                A
                quality
                An MCP server that provides tools for interacting with AWS S3 buckets, enabling direct access to S3 operations through the Model Context Protocol.
                Last updated -
                1
                Python
                • Apple
              • -
                security
                F
                license
                -
                quality
                A Model Context Protocol server that integrates with AWS CodePipeline, allowing users to manage pipelines through Windsurf and Cascade using natural language commands.
                Last updated -
                4
                TypeScript
              • -
                security
                F
                license
                -
                quality
                A Model Context Protocol server implementation that connects to AWS Cognito for authentication and user management, providing tools for user flows including sign-up, sign-in, and password management.
                Last updated -
                JavaScript
                • Apple
                • Linux
              • -
                security
                F
                license
                -
                quality
                A Model Context Protocol server allowing Claude AI to interact with AWS resources through natural language, enabling users to query and manage AWS services without using the traditional AWS Console or CLI.
                Last updated -
                TypeScript
                • Apple

              View all related MCP servers

              MCP directory API

              We provide all the information about MCP servers via our MCP API.

              curl -X GET 'https://glama.ai/api/mcp/v1/servers/davidshtian/MCP-on-AWS-Bedrock'

              If you have feedback or need assistance with the MCP directory API, please join our Discord server