Serverless Aws
БесплатноНе проверенA serverless Model Context Protocol (MCP) implementation on AWS, featuring a tool-calling server and a AI-powered agent client.
Описание
A serverless Model Context Protocol (MCP) implementation on AWS, featuring a tool-calling server and a AI-powered agent client.
README
This is a POC of a service using AI Agents where there is a Model Context Protocol (MCP) server and one MCP Client that will interact with the MCP server and external services.
Technologies used
- Node.js
- TypeScript
- AWS SAM
- AWS Lambda
- AWS API Gateway
- Google Gemini
- Claude Desktop
How to run it locally
Since the MCP Client doesn't have a real use beyond interacting with the MCP server, we can use Claude Desktop as a client.
Add your
GeminiApiKeyto thesamconfig.tomlfile in the root of the project.Deploy the MCP server in AWS (Go to the Getting Started section of this Readme)
Install Claude Desktop
In your
claude_desktop_config.jsonfile, add the following configuration:{ "mcpServers": { "mcp-server": { "command": "npx", "args": [ "-y", "mcp-remote", "https://12345.execute-api.us-east-2.amazonaws.com/Prod/mcp", // your mcp server api url "--transport", "http-only", "--header", "x-api-key:abcd1234" // your api key ] } } }

Architecture
The project follows hexagonal architecture (ports and adapters) with the following structure:
src/
├── domain/ # Core business logic
│ ├── entities/ # Domain entities (WebhookEvent)
│ ├── ports/ # Interface definitions (WebhookRepository, Logger)
│ └── use-cases/ # Business use cases (ProcessWebhookUseCase)
├── infrastructure/ # Infrastructure implementations
│ └── adapters/ # Adapters for external services (CloudWatchLogger, InMemoryWebhookRepository)
└── handlers/ # Lambda function handlers
└── webhook.ts # SQS handler
Prerequisites
- Node.js 22.x
- AWS SAM CLI
- AWS CLI configured with appropriate credentials
- Docker (for local testing)
Getting Started
Install dependencies:
npm installBuild the project using SAM:
npm run sam:buildRun tests to ensure everything is working:
npm testFor full integration testing, deploy to AWS:
npm run sam:deploy
Development
Local Development
What You Can Test Locally
Lambda Function Testing:
npm run sam:build sam local invoke WebhookProcessorFunction -e test-event.jsonUnit Tests:
npm test npm run test:coverageType Checking:
npm run type-checkLinting:
npm run lint npm run lint:fix
What Requires AWS Deployment
- Full Integration Testing: API Gateway → SQS → Lambda flow
- Webhook Endpoint Testing: The
/webhookendpoint functionality - SQS Integration: Queue processing and DLQ behavior
To test the complete flow, deploy to AWS:
npm run sam:deploy
Then test with a real webhook request to your deployed API Gateway endpoint.
Testing
- Run unit tests:
npm test
Установка Serverless Aws
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/josekron/serverless-aws-mcpFAQ
Serverless Aws MCP бесплатный?
Да, Serverless Aws MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Serverless Aws?
Нет, Serverless Aws работает без API-ключей и переменных окружения.
Serverless Aws — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить Serverless Aws в Claude Desktop, Claude Code или Cursor?
Открой Serverless Aws на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
Fetch
Web content fetching and conversion for efficient LLM usage.
AWS KB Retrieval
Retrieval from AWS Knowledge Base using Bedrock Agent Runtime.
автор: modelcontextprotocolSpring AI MCP Server
Provides auto-configuration for setting up an MCP server in Spring Boot applications.
llm-analysis-assistant
A very streamlined mcp client that supports calling and monitoring stdio/sse/streamableHttp, and can also view request responses through the /logs page. It also
автор: xuzexin-hzCompare Serverless Aws with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории ai
