About aws-lambda-server
aws-lambda-server is an MCP server published by git+poad in the Cloud category: a Hono wrapper for building an MCP (Model Context Protocol) Server that runs on AWS Lambda functions.
Install
npx aws-lambda-mcp-serverclaude mcp add aws-lambda-mcp-server -- npx -y aws-lambda-mcp-servernpx -y aws-lambda-mcp-serverThis server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.
Ask AI
Ask AI about aws-lambda-server
Powered by Claude · Grounded in docs
Security checks
- ✓README presentThe repository ships documentation.
- !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.
4 checks have not been run yet.
README
aws-lambda-mcp-server
このリポジトリは、AWS Lambda上で動作するMCPサーバーの実装・関連ツール・サンプルを管理しています。
ディレクトリ構成
- package/: ライブラリ本体のソースコード・npmパッケージ用設定
- example/: 利用例・サンプルコード
- .github/: CI/CDやセキュリティ関連の設定
- その他: 各種ドキュメント・管理ファイル
使い方
pnpm add aws-lambda-mcp-server
# または
npm install aws-lambda-mcp-server
基本的な利用例
TypeScriptでの利用例です。
import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
import { createHonoApp } from 'aws-lambda-mcp-server';
import { handle } from 'hono/aws-lambda';
import { z } from 'zod';
// MCPサーバーのファクトリ関数を用意
const createMcpServer = () => {
const server = new McpServer({
name: 'my-mcp-server',
version: '1.0.0',
});
// MCPサーバーのインスタンスにToolsやResourcesなどを設定する
server.tool(
'say_hello',
{ who: z.string() },
async ({ who }) => ({
content: [{
type: 'text',
text: `${who} さん、こんにちは!`
}]
})
);
return server;
};
// Hono アプリケーションを作成
const app = createHonoApp(createMcpServer);
// AWS Lambdaのエントリポイントとして利用
export const handler = handle(app);
README copy captured when this server was indexed; it may lag the repository. The original is authoritative.