Amazon VPC Lattice MCP Server

by rlymbur

Integrations

  • Provides access to the AWS Gateway API Controller for VPC Lattice repository on GitHub, allowing users to retrieve source information and prompts related to this project.

  • Enables access to Kubernetes Gateway API documentation and resources, providing source information and sample prompts for working with VPC Lattice in Kubernetes environments.

Amazon VPC Lattice MCP サーバー

ソース情報にアクセスして管理するためのツールを提供するモデル コンテキスト プロトコル (MCP) サーバー。

特徴

サーバーは 5 つの主なツールを提供します。

  1. list_sources : 利用可能なすべてのソースとそのURLを一覧表示します
  2. get_source_prompts : 特定のソースのサンプルプロンプトを取得します
  3. list_prompts : 利用可能なすべてのプロンプトテンプレートを一覧表示します
  4. get_prompts : 特定のプロンプトテンプレートの詳細を取得します
  5. vpc_lattice_cli : VPC Lattice リソースを管理するための AWS CLI VPC Lattice コマンドを実行します。

インストール

  1. リポジトリをクローンします。
git clone https://github.com/yourusername/amazon-vpc-lattice-mcp-server.git cd amazon-vpc-lattice-mcp-server
  1. 依存関係をインストールします:
npm install
  1. サーバーを構築します。
npm run build

構成

サーバーを MCP 設定ファイル ( ~/Library/Application Support/Code/User/globalStorage/asbx.amzn-cline/settings/cline_mcp_settings.jsonにあります) に追加します。

{ "mcpServers": { "amazon-vpc-lattice-mcp": { "command": "node", "args": ["/path/to/amazon-vpc-lattice-mcp-server/build/index.js"], "disabled": false, "autoApprove": [], "env": {} } } }

使用法

設定が完了すると、会話で MCP ツールを使用できるようになります。

ソースの一覧

use_mcp_tool({ server_name: "amazon-vpc-lattice-mcp", tool_name: "list_sources", arguments: {} })

ソースプロンプトを取得

use_mcp_tool({ server_name: "amazon-vpc-lattice-mcp", tool_name: "get_source_prompts", arguments: { source_name: "AWS Documentation" } })

リストプロンプト

use_mcp_tool({ server_name: "amazon-vpc-lattice-mcp", tool_name: "list_prompts", arguments: {} })

プロンプトの詳細を取得する

use_mcp_tool({ server_name: "amazon-vpc-lattice-mcp", tool_name: "get_prompts", arguments: { prompt_name: "EKS Controller Setup" } })

VPC ラティス CLI

vpc_lattice_cliツールは、AWS CLI を介して AWS VPC Lattice 操作へのプログラムインターフェイスを提供します。

特徴
  • すべての主要なVPC Lattice CLI操作をサポート
  • コマンド引数をJavaScriptオブジェクトとして受け入れます
  • キャメルケースパラメータをCLIスタイルのケバブケースに自動的に変換します
  • ブールフラグ、配列、複雑な値を処理します
  • AWSプロファイルとリージョン構成をサポート
  • 解析されたJSONレスポンスを返す
利用可能なコマンド
  • サービス ネットワーク: create-service-network、delete-service-network、get-service-network、list-service-networks、update-service-network
  • サービス: create-service、delete-service、get-service、list-services、update-service
  • リスナー: create-listener、delete-listener、get-listener、listeners、update-listener
  • ルール: create-rule、delete-rule、get-rule、list-rules、update-rule
  • ターゲット グループ: create-target-group、delete-target-group、get-target-group、list-target-groups、update-target-group
  • ターゲット管理: register-targets、deregister-targets、list-targets
  • リソース タグ: list-tags-for-resource、tag-resource、untag-resource

サービス ネットワークを一覧表示します。

use_mcp_tool({ server_name: "amazon-vpc-lattice-mcp", tool_name: "vpc_lattice_cli", arguments: { command: "list-service-networks", region: "us-west-2" } })

サービス ネットワークを作成します。

use_mcp_tool({ server_name: "amazon-vpc-lattice-mcp", tool_name: "vpc_lattice_cli", arguments: { command: "create-service-network", args: { name: "my-network", authType: "NONE" } } })

タグ付きのサービスを作成します。

use_mcp_tool({ server_name: "amazon-vpc-lattice-mcp", tool_name: "vpc_lattice_cli", arguments: { command: "create-service", args: { name: "my-service", serviceNetworkIdentifier: "sn-12345", tags: [ { key: "Environment", value: "Production" } ] } } })

ターゲット グループを作成します。

use_mcp_tool({ server_name: "amazon-vpc-lattice-mcp", tool_name: "vpc_lattice_cli", arguments: { command: "create-target-group", args: { name: "my-target-group", type: "INSTANCE", config: { port: 80, protocol: "HTTP", healthCheck: { enabled: true, protocol: "HTTP", path: "/health" } } } } })

ターゲットを登録します:

use_mcp_tool({ server_name: "amazon-vpc-lattice-mcp", tool_name: "vpc_lattice_cli", arguments: { command: "register-targets", args: { targetGroupIdentifier: "tg-12345", targets: [ { id: "i-1234567890abcdef0", port: 80 } ] } } })

利用可能な情報源

サーバーには次のソースが含まれています:

  1. AWS ドキュメント (docs.aws.amazon.com)
  2. VPC Lattice 用 AWS ゲートウェイ API コントローラーの GitHub リポジトリ (aws/aws-application-networking-k8s)
  3. Kubernetes ゲートウェイ API (gateway-api.sigs.k8s.io)

発達

プロジェクト構造

  • src/index.ts : メインサーバーの実装
  • package.json : プロジェクトの構成と依存関係
  • tsconfig.json : TypeScript の設定
  • .gitignore : Git の無視ルール

利用可能なプロンプト

サーバーには次のプロンプト テンプレートが含まれています。

  1. EKSコントローラーのセットアップ
    • Kubernetes 用 AWS アプリケーションネットワークコントローラーの設定ガイド
    • パラメータ: cluster_name、region、k8s_version
  2. EKS コントローラーテスト
    • AWS アプリケーションネットワークコントローラーのユニットテストと統合テストを実行する
    • パラメータ: test_type、test_suite、test_filter、verbosity
    • e2e-cleanによる単体テストと統合テストの両方をサポート
  3. EKSコントローラーの問題解決
    • 適切なテストとPR作成でGitHubの問題に対する解決策を作成する
    • パラメータ: issue_number、branch_name
    • 提出前のチェックとPR草稿の作成が含まれます
  4. コードレビュー
    • コードの変更をレビューし、フィードバックを提供する
    • パラメータ: コード
  5. バグ分析
    • エラーメッセージを分析し、修正を提案する
    • パラメータ: エラー、コンテキスト
  6. アーキテクチャレビュー
    • システムアーキテクチャをレビューし、推奨事項を提供する
    • パラメータ: デザイン
  7. ドキュメントジェネレーター
    • コードまたはAPIのドキュメントを生成する
    • パラメータ: コード
  8. セキュリティレビュー
    • セキュリティ上の懸念事項についてコードまたはアーキテクチャをレビューする
    • パラメータ: ターゲット

新しいソースの追加

新しいソースを追加するには、 src/index.tssources配列を変更します。

const sources = [ { name: 'Your Source', url: 'https://your-source-url.com', prompts: [ 'Sample prompt 1 {placeholder}', 'Sample prompt 2 {placeholder}' ] } // ... existing sources ];

新しいプロンプトの追加

新しいプロンプト テンプレートを追加するには、 src/index.tsprompts配列を変更します。

const prompts = [ { name: 'Your Prompt Template', description: 'Description of what the prompt does', template: 'Your prompt template with {parameter} placeholders', parameters: ['parameter'] } // ... existing prompts ];

スクリプト

  • npm run build : サーバーをビルドする
  • npm run watch : 開発用のウォッチモード

ライセンス

[ここにライセンス情報を追加してください]

You must be authenticated.

A
security – no known vulnerabilities
F
license - not found
A
quality - confirmed to work

hybrid server

The server is able to function both locally and remotely, depending on the configuration or use case.

AWS VPC Lattice 情報にアクセスして管理するためのツールを提供するモデルコンテキストプロトコル サーバー。これにより、ユーザーは AWS ネットワーク ドキュメントに関連するソースを一覧表示したり、サンプルプロンプトを取得したりできます。

  1. 特徴
    1. インストール
      1. 構成
        1. 使用法
          1. ソースの一覧
          2. ソースプロンプトを取得
          3. リストプロンプト
          4. プロンプトの詳細を取得する
          5. VPC ラティス CLI
        2. 利用可能な情報源
          1. 発達
            1. プロジェクト構造
          2. 利用可能なプロンプト
            1. 新しいソースの追加
            2. 新しいプロンプトの追加
            3. スクリプト
          3. ライセンス

            Related MCP Servers

            • A
              security
              A
              license
              A
              quality
              A Model Context Protocol server implementation that enables Claude to perform AWS operations on S3 and DynamoDB services through natural language commands.
              Last updated -
              23
              92
              Python
              MIT License
              • Apple
            • -
              security
              F
              license
              -
              quality
              A Model Context Protocol server that integrates with AWS CodePipeline, allowing users to manage pipelines through Windsurf and Cascade using natural language commands.
              Last updated -
              4
              TypeScript
            • -
              security
              F
              license
              -
              quality
              A Model Context Protocol server implementation that connects to AWS Cognito for authentication and user management, providing tools for user flows including sign-up, sign-in, and password management.
              Last updated -
              JavaScript
              • Apple
              • Linux
            • -
              security
              F
              license
              -
              quality
              A Model Context Protocol server allowing Claude AI to interact with AWS resources through natural language, enabling users to query and manage AWS services without using the traditional AWS Console or CLI.
              Last updated -
              TypeScript
              • Apple

            View all related MCP servers

            ID: wfxfkoygj3