jikang-jeong
MCP Serverjikang-jeongpublic

aws sample gen ai mcp server

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

Repository Info

0
Stars
0
Forks
0
Watchers
0
Issues
Python
Language
-
License

About This Server

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

Model Context Protocol (MCP) - This server can be integrated with AI applications to provide additional context and capabilities, enabling enhanced AI interactions and functionality.

Documentation

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

Quick Start

1

Clone the repository

git clone https://github.com/jikang-jeong/aws-sample-gen-ai-mcp-server
2

Install dependencies

cd aws-sample-gen-ai-mcp-server
npm install
3

Follow the documentation

Check the repository's README.md file for specific installation and usage instructions.

Repository Details

Ownerjikang-jeong
Repoaws-sample-gen-ai-mcp-server
LanguagePython
License-
Last fetched8/10/2025

Recommended MCP Servers

💬

Discord MCP

Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.

integrationsdiscordchat
🔗

Knit MCP

Connect AI agents to 200+ SaaS applications and automate workflows.

integrationsautomationsaas
🕷️

Apify MCP Server

Deploy and interact with Apify actors for web scraping and data extraction.

apifycrawlerdata
🌐

BrowserStack MCP

BrowserStack MCP Server for automated testing across multiple browsers.

testingqabrowsers

Zapier MCP

A Zapier server that provides automation capabilities for various apps.

zapierautomation