MCP.so
Sign In

Aws Sample Gen Ai MCP Server

@jikang-jeong

Basic information

Category

Cloud & Infrastructure

Transports

stdio

Author

jikang-jeong

About Aws Sample Gen Ai MCP Server

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

Aws Sample Gen Ai MCP Server config

Add this server to your MCP-compatible client using the configuration below.

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

Aws Sample Gen Ai MCP Server tools

Tool list not available yet

This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

Overview

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

Frequently asked questions

1

What are the runtime requirements?

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

2

How do I start PostgreSQL?

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

3

How do I initialize the database?

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

4

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`.

Comments

More Cloud & Infrastructure MCP servers