Token导航 LogoToken导航TokenDH.com
Peppa MCP Server On Lambda logo
AI代理未说明官方级别未说明来源级核验

Peppa MCP Server On Lambda

MCP Server

一个在AWS Lambda和Amazon API Gateway上原生运行的Peppa MCP服务器,无需额外的桥接组件或自定义传输,支持流式HTTP传输。

工具数

0

提示词数

0

GitHub Stars

13

资源数

0
JavaScriptAI代理工作流自动化

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

作者 / 组织

aal80

提供方

aal80

最后核验

2026/5/17 20:21

快速接入

先看主来源和安装命令,再打开仓库或文档;下面只保留这个条目的关键接入事实。

详细介绍

Lambda上的Peppa MCP服务器

  1. 看看 构建无服务器MCP服务器和小猪佩奇有什么关系 完整故事的博客。
  2. 此回购没有得到维护。看 此回购 有关在AWS上运行无服务器MCP服务器的更多示例。

\--

Peppa MCP服务器在AWS Lambda和Amazon API网关上本地运行,无需任何额外的桥接组件或自定义传输。由于 流式HTTP v2025-03-26中引入的传输。

架构非常简单: ![](architecture.png)

前提条件

  • AWS-CLI
  • 地形

说明

安装依赖项:

cd src
npm install
cd ..

引导服务器并使用MCP服务器端点设置env var:

cd terraform
terraform init
terraform plan
terraform apply
export PEPPA_MCP_SERVER_ENDPOINT=$(terraform output --raw endpoint_url) 
cd ..
注意:API网关端点可能需要几秒钟才能运行。

运行客户端:

node src/client.js

观察响应:

> node client.js
listResources response:  {
  resources: [
    {
      uri: 'peppa://timeslots',
      name: 'timeslots',
      description: 'Use this resource to get all open timeslots for ordering tickets     to the Peppa Pig Theme Park.',
      mimeType: 'text/plain'
    }
  ]
}
readResource response:  {
  contents: [
    {
      uri: 'peppa://timeslots',
      mimeType: 'text/plain',
      text: 'Available timeslots are: April 19th 2025, April 20th 2025, April 21st 2025'
    }
  ]
}
listTools response:  {
  tools: [
    {
      name: 'order-tickets',
      description: 'Use this tool to order tickets to the Peppa Pig Park.     The tool expects two parameters - timeslot and quantity.     The timeslot should be a stringified date.     The quantity should be a number.         Example:     order-tickets(timeslot: "April 19, 2025", quantity: 3)         The tool will return a text message with the order number.     ',
      inputSchema: [Object]
    }
  ]
}
callTool response:  {
  content: [
    {
      type: 'text',
      text: "You've ordered 3 tickets for April 19th, 2025.         Your order number is OINK-1234."
    }
  ]
}

了解mcp

介绍

协议规范

目录标签

目录标签

JavaScriptAI代理工作流自动化无服务器计算本地部署MCP协议AWSLambdaAPIGateway流式传输

接入字段

传输方式(transport,传输协议)

未说明

鉴权方式(authType,认证方式)

none

工具数量(toolCount,工具数)

0

资源数量(resourceCount,资源数)

0

提示词数量(promptCount,提示词数)

0

权限和风险

未说明none部署方式未说明

接入前请确认传输方式、认证方式和部署位置,并根据实际工具能力限制访问范围。

安装前确认

不要直接授予不必要的文件、网络或账号权限;先核对安装命令和配置内容。

仍需确认:installCommand

来源信息

继续浏览同类 MCP