agent-mcp-tools-1
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
agent-mcp-tools-1
A production-leaning MCP server starter for AWS Lambda. It follows the shape of
aal80/peppa-mcp-server-on-lambda
but uses maintained, widely adopted building blocks:
Official Model Context Protocol TypeScript SDK (
@modelcontextprotocol/sdk)Streamable HTTP transport, the current MCP remote-server transport
Express 5 for local HTTP routing
Zod for tool input validation
AWS Lambda Web Adapter for running the same HTTP app locally, in Docker, or on Lambda
Terraform for AWS Lambda + API Gateway HTTP API infrastructure
Vitest, TypeScript, ESLint, and Prettier for day-to-day engineering hygiene
The sample MCP surface mirrors the Peppa-style flow:
Resource:
tickets://timeslotsTool:
order_tickets
Local Development
npm install
npm run devIn another terminal:
npm run clientOr inspect it with the MCP Inspector:
npm run inspectRelated MCP server: Serverless MCP Server
Stdio Mode
Some local MCP clients prefer stdio:
npm run stdioVerify
npm run typecheck
npm test
npm run lint
npm run buildDocker
docker build -t agent-mcp-tools-1:local .
docker run --rm -p 8080:8080 \
-e HOST=0.0.0.0 \
-e MCP_ALLOWED_ORIGINS=http://127.0.0.1:6274,http://localhost:6274 \
agent-mcp-tools-1:localAWS Deploy
Build and push the container image to ECR, then pass the ECR image URI to Terraform:
cd terraform
terraform init
terraform apply -var "image_uri=<account>.dkr.ecr.<region>.amazonaws.com/agent-mcp-tools-1:latest"Terraform outputs endpoint_url, which is the MCP Streamable HTTP endpoint.
Security Notes
MCP's Streamable HTTP specification calls out origin validation, localhost-only binding for local servers, and authentication for remote deployments. This starter implements origin validation and localhost binding by default. Add your preferred auth layer before exposing a real production tool publicly.
Replacing The Sample Tool
Keep the transport and deployment code as-is, then replace:
src/domain/tickets.tsthe resource/tool registrations in
src/mcp/server.tsthe smoke client arguments in
src/client.ts
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Connectors
MCP server for the FFmpeg Micro video transcoding API — create, monitor, download transcodes.
MCP server for Meitre restaurant reservations.
Related MCP Servers
- AlicenseAqualityDmaintenanceA simple MCP server that provides a basic greeting tool and serves as a starter template for AWS Lambda deployment. Demonstrates how to build and deploy MCP servers with both local development and cloud deployment capabilities.125 npmMIT
- AlicenseNot gradedqualityDmaintenanceA minimal, production-ready MCP server running on AWS Lambda with Streamable HTTP transport, enabling deployment of custom tools behind API Gateway.1MIT
- FlicenseNot gradedqualityDmaintenanceA minimal MCP server deployed on AWS Lambda and API Gateway using AWS CDK, enabling tool execution via JSON-RPC (e.g., an add tool).3-
- FlicenseNot gradedqualityDmaintenanceA stateless Python MCP server packaged as a custom AWS Lambda container image, exposing basic tools like hello, add, and current_time through an API Gateway HTTP API.-