MCP.so
登录

Aws Sample Gen Ai Mcp Server

@jikang-jeong

关于 Aws Sample Gen Ai Mcp Server

sample code using gen-ai(bedrock) with mcp-server

基本信息

分类

云与基础设施

运行时

python

传输方式

stdio

发布者

jikang-jeong

配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "aws-sample-gen-ai-mcp-server": {
      "command": "python",
      "args": [
        "-m",
        "venv",
        "venv"
      ]
    }
  }
}

工具

未检测到工具

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

概览

What is Aws Sample Gen Ai Mcp Server?

It is a sample Model Context Protocol (MCP) server that integrates with PostgreSQL for database connectivity and enables web searches via Wikipedia. It is intended for developers building Gen AI applications using MCP, based on a fork of the AWS Sample MCP Demos repository.

How to use Aws Sample Gen Ai Mcp Server?

Set up a Python virtual environment with Python 3.13+, install dependencies from init/requirements.txt, and run python3 main.py. PostgreSQL must be started via Docker using the provided docker-compose/docker-compose.yml file, and the database must be initialized with the SQL script at /init/init.sql.

Key features of Aws Sample Gen Ai Mcp Server

  • PostgreSQL database connection demonstration
  • Wikipedia web search integration
  • Based on AWS Sample MCP Demos fork
  • Uses MCP protocol for AI model context

Use cases of Aws Sample Gen Ai Mcp Server

  • Building AI agents that need to query a PostgreSQL database
  • Adding real-time Wikipedia search capabilities to Gen AI applications
  • Demonstrating MCP server implementation patterns
  • Prototyping AI-powered tools with external data sources

FAQ from Aws Sample Gen Ai Mcp Server

What are the runtime requirements?

Python 3.13+ and PostgreSQL (via Docker) are required.

How do I start PostgreSQL?

Run docker-compose -f docker-compose/docker-compose.yml up -d.

How do I initialize the database?

Run the SQL script located at /init/init.sql (includes both DDL and DML).

What if I get a PostgreSQL driver import error?

Install PostgreSQL client libraries: on macOS run brew install libpq && brew link --force libpq; on Ubuntu run sudo apt-get install libpq-dev.

What transports or authentication does it use?

评论

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