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?

コメント

「クラウドとインフラ」の他のコンテンツ