
aws-échantillon général
Exemple de code utilisant Gen-AI (Soudrons) avec MCP-Server
1
Github Watches
0
Github Forks
0
Github Stars
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
- Set up a virtual environment (recommended):
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
- Install dependencies:
pip install -r init/requirements.txt
- 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
相关推荐
I find academic articles and books for research and literature reviews.
Emulating Dr. Jordan B. Peterson's style in providing life advice and insights.
Confidential guide on numerology and astrology, based of GG33 Public information
Your go-to expert in the Rust ecosystem, specializing in precise code interpretation, up-to-date crate version checking, and in-depth source code analysis. I offer accurate, context-aware insights for all your Rust programming questions.
Advanced software engineer GPT that excels through nailing the basics.
Take an adjectivised noun, and create images making it progressively more adjective!
Découvrez la collection la plus complète et la plus à jour de serveurs MCP sur le marché. Ce référentiel sert de centre centralisé, offrant un vaste catalogue de serveurs MCP open-source et propriétaires, avec des fonctionnalités, des liens de documentation et des contributeurs.
Manipulation basée sur Micropython I2C de l'exposition GPIO de la série MCP, dérivée d'Adafruit_MCP230XX
L'application tout-en-un desktop et Docker AI avec chiffon intégré, agents AI, constructeur d'agent sans code, compatibilité MCP, etc.
Miroir dehttps: //github.com/bitrefill/bitrefill-mcp-server
Un puissant plugin Neovim pour gérer les serveurs MCP (Protocole de contexte modèle)
Reviews

user_U23oMNvf
As a loyal user of the aws-sample-gen-ai-mcp-server, I am truly impressed by its robust performance and seamless integration capabilities. Provided by jikang-jeong, this server is a crucial asset for any project requiring advanced AI functions. The clarity in the documentation and ease of setup make it a must-have tool for developers. Highly recommend checking it out at https://github.com/jikang-jeong/aws-sample-gen-ai-mcp-server.