Serverless MCP Framework
by daaru00
This is an MCP (Model Context Protocol) server implementation using AWS Serverless services. It provides a framework for managing and extending MCP servers with resources, prompts, and tools.
Last updated: N/A
What is Serverless MCP Framework?
The Serverless MCP Framework is an implementation of an MCP server using AWS serverless technologies like Lambda, API Gateway, EventBridge, and Step Functions. It allows you to create and manage MCP servers without the need for traditional server infrastructure.
How to use Serverless MCP Framework?
To use the framework, you need to deploy it using the SAM CLI. You'll need to configure parameters like EventBusName, Project, Environment, and ServerName. After deployment, you can extend the MCP server by adding resources, prompts, and tools using SSM parameters and Lambda functions following specific naming conventions and JSON formats.
Key features of Serverless MCP Framework
Serverless deployment using AWS SAM
Integration with EventBridge and Step Functions
Extensible with resources, prompts, and tools
Configuration through SSM parameters
Local development environment with NodeJS
Tool Inspector for testing and debugging
Use cases of Serverless MCP Framework
Building conversational AI applications
Integrating with large language models (LLMs)
Creating custom tools and workflows
Managing resources and prompts for AI agents
Automating tasks using serverless functions
FAQ from Serverless MCP Framework
What is MCP?
What is MCP?
MCP stands for Model Context Protocol. It's a protocol for interacting with AI models and tools.
What AWS services are used?
What AWS services are used?
The framework uses Lambda, API Gateway, EventBridge, Step Functions, and SSM Parameter Store.
How do I deploy the framework?
How do I deploy the framework?
Use the SAM CLI with sam build
and sam deploy --guided
.
How do I add resources, prompts, and tools?
How do I add resources, prompts, and tools?
You can add them by creating SSM parameters with specific prefixes and JSON formats, along with corresponding Lambda functions for tools.
What is the Converse API?
What is the Converse API?
The Converse API is a pattern that the Lambda function input and output must respect. More info can be found in the AWS Bedrock documentation.