mcpField
A
Aws Sample Gen Ai Mcp Server

Aws Sample Gen Ai Mcp Server

Local
github.com/jikang-jeongCloud & Infra0Updated 81w ago

About Aws Sample Gen Ai Mcp Server

Aws Sample Gen Ai Mcp Server is a sample project using Bedrock with MCP, forked from an AWS sample repository. The README adds examples for PostgreSQL database connections and Wikipedia web search; it points to a moved repository for the project.

Key features

  1. 01Bedrock with MCP sample code
  2. 02PostgreSQL database connection sample
  3. 03Wikipedia web search sample
  4. 04Python-based setup and run instructions

Use cases

  1. 01Exploring a PostgreSQL connection sample
  2. 02Trying the Wikipedia search sample
  3. 03Running a Bedrock and MCP sample project

MCP support

The project is described as sample code using MCP with Bedrock. The README does not specify the MCP tools or resources it exposes.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

No install method listed yet

We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.

Repository

Tools

No tool list yet

Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.

Details

From the project README

move to https://github.com/jikang-jeong/mcp_bedrock_sample


This sample code project is a fork from [https://github.com/aws-samples/Sample-Model-Context-Protocol-Demos]'s repository.

  • add postgres db-conn sample
  • add web search (wikipedia) sample
✅ Prerequisites
  • Python 3.13+
  • PostgreSQL (via Docker)
Start PostgreSQL with Docker Compose
  docker-compose -f docker-compose/docker-compose.yml up -d
Initialize the Database
  • SQL initialization script: /init/init.sql
    (Includes both DDL and DML)

⚡ Quick Start
  1. Set up a virtual environment (recommended):
  python -m venv venv
  source venv/bin/activate  # On Windows: venv\Scripts\activate
  1. Install dependencies:
  pip install -r init/requirements.txt
  1. Run
  python3 main.py

🐘 PostgreSQL Driver Issue (psycopg)

만약, 아래 오류가 출력된다면

ImportError: no pq wrapper available.
Attempts made:
- couldn't import psycopg 'c' implementation: No module named 'psycopg_c'
- couldn't import psycopg 'binary' implementation: No module named 'psycopg_binary'
- couldn't import psycopg 'python' implementation: libpq library not found

아래 PostgreSQL client libraries 설치하십시오. 또는 postgres 모듈을 변경 사용해도 됩니다.

macOS:
  brew install libpq
  brew link --force libpq
Ubuntu:
  sudo apt-get install libpq-dev

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.