Feedback

🧠 serverless-mcp-server

@eleva Claim

Basic information

Runtime
node
License
MIT
Transports
stdio
Author
eleva
Submitted by
Community
Quality
40
Stars
17

About 🧠 serverless-mcp-server

A super simple Model Context Protocol (MCP) server deployed on AWS Lambda and exposed via Amazon API Gateway, deployed with Serverless Framework.

🧠 serverless-mcp-server is a MCP server in the Cloud & Infrastructure category listed in the AddMCP.net directory, published by eleva. Supported transport: stdio. Runtime: node. License: MIT. The repository has 17 GitHub stars. Source code is hosted on github.com.

Setup

{
    "mcpServers": {
        "serverless-mcp-server": {
            "command": "npx",
            "args": [
                "@modelcontextprotocol/inspector",
                "node",
                "src/index.mjs"
            ]
        }
    }
}

🧠 serverless-mcp-server config

Add this server to your MCP-compatible client using the configuration below.

{
    "mcpServers": {
        "serverless-mcp-server": {
            "command": "npx",
            "args": [
                "@modelcontextprotocol/inspector",
                "node",
                "src/index.mjs"
            ]
        }
    }
}

🧠 serverless-mcp-server tools

Tool list not available yet

This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

Overview

What is 🧠 serverless-mcp-server?

It is a minimal Model Context Protocol (MCP) server deployed on AWS Lambda and exposed via Amazon API Gateway using the Serverless Framework. Designed for developers who want to host MCP tools serverlessly on AWS.

How to use 🧠 serverless-mcp-server?

Install dependencies with npm install, optionally install the open-source Serverless CLI globally (npm install -g osls), then run locally using serverless-offline (npm sls offline) or deploy to AWS with sls deploy. The endpoint is POST /mcp. Test with the MCP inspector or curl; an example add tool is included.

Key features of 🧠 serverless-mcp-server

  • Minimal MCP server setup using @modelcontextprotocol/sdk
  • Deployed as a single AWS Lambda function
  • HTTP POST endpoint exposed via API Gateway at /mcp
  • Supports local development via serverless-offline
  • Includes a simple example tool (add) with JSON‑RPC interaction

Use cases of 🧠 serverless-mcp-server

  • Hosting MCP tools on AWS without managing server infrastructure
  • Rapid prototyping and testing MCP servers locally before deploying
  • Integrating MCP capabilities into a serverless AWS stack
  • Building lightweight, scalable tool‑based AI agents

Frequently asked questions

1 What are the runtime requirements?

Node.js v22+ and the Serverless Framework v3+ (or the open‑source osls CLI) are required.

2 Can I use API Gateway V2 (HTTP API) instead of V1?

Yes. Change the events section in serverless.yml from http to httpApi and update local endpoint accordingly.

3 How do I test the server locally?

Run npm sls offline to start the server on http://localhost:3000/dev/mcp (V1) or http://localhost:3000/mcp (V2). Use the MCP inspector or curl to interact.

4 What tools are included by default?

Only a single example tool add that takes two numbers (a and b) and returns their sum. You can extend the server with your own tools.

5 Does deployment require an AWS account?

Yes. After running sls deploy, the server goes live on AWS. The URL is printed in the deployment output.

Comments

No comments yet

Be the first to share feedback about this listing. Sign in to leave a comment.

Sign In

Feedback 💬