AWS Lambda MCP Server

AWS Lambda MCP Server

aws-mcp-lambda-server•bypoad

A Model Context Protocol server implementation that runs on AWS Lambda and can connect with MCP clients such as Claude Desktop.

License: Not specified•Runtime: Awaiting documentation review•Category: cloud devops

WHAT IT DOES

  • •Provides a weather forecast tool that retrieves weather information for a specified city.
  • •Exposes an HTTP API built on Hono.js.
  • •Supports authentication via AWS Cognito OAuth 2.0.
  • •Runs in a serverless environment on AWS Lambda, with infrastructure defined via AWS CDK.

BEST FOR

  • •Connecting Claude Desktop to an MCP server hosted on AWS Lambda.
  • •Adding new custom MCP tools implemented in TypeScript.
  • •Deploying an authenticated MCP server using AWS Cognito OAuth 2.0.

ABOUT AWS-MCP-LAMBDA-SERVER

AWS Lambda MCP Server is cataloged as an MCP server attributed to poad. A Model Context Protocol server implementation that runs on AWS Lambda and can connect with MCP clients such as Claude Desktop. It is categorized under cloud devops. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.

Capability inspector

Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.

Tools (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Resources (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Prompts (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for AWS Lambda MCP Server are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

Which MCP client integration is described?

The README describes integration with Claude Desktop, including configuration file locations and an example configuration.

How can new MCP tools be added?

New tools can be added by creating a tool file under the MCP server tools directory and registering it in the MCP server configuration.

What authentication flow does the server support?

Clients redirect to the Cognito authentication endpoint, users log in, and the resulting auth code is exchanged for an access token used to access the MCP server API.

Upstream README

View this exact version on GitHub

README.md · b6817084c963 · Fetched 2026-11-13 13:16:43 UTC

Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.

Showing the last retrieved documentation snapshot; check the source for current changes.

AWS MCP Lambda Server

AWS Lambda上で動作するModel Context Protocol (MCP) サーバーの実装です。このプロジェクトは、MCPサーバーをAWSのサーバーレス環境で実行し、Claude DesktopなどのMCPクライアントと連携できるようにします。

プロジェクト構成

aws-mcp-lambda-server/
├── platform/                    # AWS CDKインフラストラクチャとLambda関数
│   ├── bin/                     # CDKアプリケーションエントリーポイント
│   ├── lib/                     # CDKスタック定義
│   ├── lambda/                  # Lambda関数のソースコード
│   │   ├── mcp-server/         # MCPサーバー実装
│   │   │   ├── tools/          # MCPツール(WeatherTool等)
│   │   │   ├── index.ts        # Lambda関数エントリーポイント
│   │   │   ├── mcp-server.ts   # MCPサーバー設定
│   │   │   └── server.ts       # 開発用サーバー
│   │   ├── authorize.ts        # OAuth認証処理
│   │   ├── token.ts           # トークン管理
│   │   ├── revoke.ts          # トークン無効化
│   │   ├── clients.ts         # クライアント管理
│   │   └── utils.ts           # ユーティリティ関数
│   └── package.json
├── example/                     # サンプルクライアントアプリケーション
│   └── client/                 # Next.jsベースのWebクライアント
│       ├── src/                # クライアントソースコード
│       └── package.json
├── .github/workflows/          # GitHub Actions CI/CD設定
│   ├── ci.yml                 # ビルド・テスト
│   ├── deploy.yml             # AWS デプロイ
│   ├── codeql-analysis.yml    # セキュリティ分析
│   └── auto-merge.yml         # 自動マージ
└── package.json               # ルートパッケージ設定

主な機能

MCPサーバー機能

  • 天気予報ツール: 指定した都市の天気情報を取得
  • HTTP API: Hono.jsベースのRESTful API
  • 認証: AWS Cognito OAuth 2.0認証
  • サーバーレス: AWS Lambda上で動作

インフラストラクチャ

  • AWS CDK: Infrastructure as Code
  • AWS Lambda: サーバーレス実行環境
  • AWS Cognito: ユーザー認証・認可
  • AWS DynamoDB: データストレージ
  • AWS API Gateway: HTTPエンドポイント

開発・運用

  • TypeScript: 型安全な開発
  • ESLint: コード品質管理
  • Vitest: テストフレームワーク
  • GitHub Actions: CI/CD パイプライン

前提条件

  • Node.js 22.x
  • pnpm 10.14.0+
  • AWS CLI設定済み
  • AWS CDK CLI

セットアップ

1. リポジトリのクローン

git clone https://github.com/poad/aws-mcp-lambda-server.git
cd aws-mcp-lambda-server

2. 依存関係のインストール

pnpm install

3. プロジェクトのビルド

pnpm run build

デプロイ

AWS環境へのデプロイ

cd platform
npx cdk deploy --all

設定オプション

CDKコンテキストで以下の設定が可能です:

# プロジェクト名の設定
npx cdk deploy -c project-name=my-mcp-server

# 認証の有効化
npx cdk deploy -c use-auth=true

# ドメインの設定
npx cdk deploy -c domain=my-domain

開発

ローカル開発サーバーの起動

cd platform
pnpm run dev

テストの実行

pnpm run test

リンティング

pnpm run lint
pnpm run lint-fix  # 自動修正

MCPツールの追加

新しいMCPツールを追加するには:

  1. platform/lambda/mcp-server/tools/ に新しいツールファイルを作成
  2. platform/lambda/mcp-server/mcp-server.ts でツールを登録

例:

// tools/MyTool.ts
interface MyToolInput {
  message: string;
}

async function handler(args: MyToolInput): Promise<{
  content: { type: 'text', text: string }[]
}> {
  return {
    content: [
      {
        type: 'text',
        text: `処理結果: ${args.message}`,
      },
    ],
  };
}

export default handler;
// mcp-server.ts
import myTool from './tools/MyTool.js';

server.tool(
  'my_tool',
  'カスタムツールの説明',
  { message: z.string().describe('メッセージ') },
  myTool,
);

Claude Desktopとの連携

設定ファイルの場所

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%/Claude/claude_desktop_config.json

設定例

{
  "mcpServers": {
    "aws-mcp-lambda-server": {
      "command": "node",
      "args": ["/path/to/aws-mcp-lambda-server/platform/lambda/mcp-server/dist/index.js"]
    }
  }
}

サンプルクライアント

example/client/ にNext.jsベースのWebクライアントが含まれています。

クライアントの起動

cd example/client
pnpm install
pnpm run dev

認証設定

AWS Cognitoを使用したOAuth 2.0認証をサポートしています。

認証フロー

  1. クライアントがCognitoの認証エンドポイントにリダイレクト
  2. ユーザーがログイン
  3. 認証コードを取得してアクセストークンと交換
  4. MCPサーバーAPIへのアクセス時にトークンを使用

CI/CD

GitHub Actionsを使用した自動化:

  • CI: プルリクエスト時の自動ビルド・テスト
  • CD: mainブランチへのマージ時の自動デプロイ
  • セキュリティ: CodeQL分析
  • 依存関係: Dependabot自動更新

ライセンス

MIT License

作者

Kenji Saito

コントリビューション

  1. このリポジトリをフォーク
  2. フィーチャーブランチを作成 (git checkout -b feature/amazing-feature)
  3. 変更をコミット (git commit -m 'Add some amazing feature')
  4. ブランチにプッシュ (git push origin feature/amazing-feature)
  5. プルリクエストを作成

参考資料

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for AWS Lambda MCP Server from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/aws-mcp-lambda-server)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

Downloads and pulls

Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.

No reviewed package or image identity; download statistics are not listed yet.

Related cloud devops MCP Servers

Alternative and complementary servers in the same category

View all in cloud devops →
Huawei MCP Server
mcp-server-huaweiclouddeveloper•huaweiclouddeveloper

A Model Context Protocol server built on Huawei Cloud services that enables AI assistants to operate Huawei Cloud resources within conversational workflows, supporting ECS, OBS, GaussDB, and other cloud products.

Repository stats unavailable
Cloud & DevOps
Coolify MCP Server
coolify-mcp-server•wrediam

An MCP server that exposes the Coolify v4.3.1 REST API so AI clients can manage applications, databases, services, servers, deployments, and more.

Repository stats unavailable
Cloud & DevOps

A deprecated Model Context Protocol server for interacting with Kong Konnect APIs, enabling AI assistants to query and analyze Kong Gateway configurations, traffic, and analytics.

Repository stats unavailable
Cloud & DevOps