remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
Integrations
Provides search functionality for .NET-specific AWS Lambda Powertools documentation to discover relevant implementation guides, features, and usage examples.
Provides search functionality for AWS Lambda Powertools documentation across multiple runtimes (Python, TypeScript, Java, .NET), enabling queries for version-specific documentation to help with implementing AWS Lambda functions.
Enables searching through Python-specific AWS Lambda Powertools documentation to find relevant implementation guides, features, and usage examples.
Powertools MCP 搜索服务器
模型上下文协议 (MCP) 服务器,提供跨多个运行时的 AWS Lambda Powertools 文档搜索功能。
Claude 桌面快速入门
按照安装说明操作,请遵循Claude Desktop 用户的模型上下文协议快速入门。您需要在 MCP 配置文件中添加如下部分:
概述
该项目实现了一个 MCP 服务器,使大型语言模型 (LLM) 能够搜索 AWS Lambda Powertools 文档。它使用 lunr.js 实现高效的本地搜索功能,并提供可汇总并呈现给用户的结果。
特征
- 符合 MCP 标准的服务器,用于与 LLM 集成
- 使用 lunr.js 索引进行本地搜索
- 支持多种运行时:
- Python
- TypeScript
- Java
- 。网
- 特定版本的文档搜索(默认为最新版本)
安装
用法
该服务器可以作为通过 stdio 进行通信的 MCP 服务器运行:
搜索工具
服务器提供了一个search_docs
工具,其参数如下:
search
:搜索查询字符串runtime
:要搜索的 Powertools 运行时(python、typescript、java、dotnet)version
:可选版本字符串(默认为“最新”)
发展
项目结构
src/
:源代码index.ts
:主服务器实现searchIndex.ts
:搜索索引管理
indexes/
:为每个运行时预先构建的 lunr.js 搜索索引dist/
:编译输出
建筑
测试
Claude Desktop MCP 配置
在开发过程中,您可以使用以下配置通过 Claude Desktop 运行 MCP 服务器。
以下配置展示了如何在使用 Windows Subsystem for Linux (WSL) 进行开发时在 Windows Claude 桌面上运行。在 Mac 或 Linux 环境中,您可以以类似的方式运行。
输出是一个捆绑文件,由于所有依赖项都已捆绑,因此它使安装在 Windows 中的 Node 能够运行 MCP 服务器。
工作原理
- 服务器为每个支持的运行时加载预先构建的 lunr.js 索引
- 当收到搜索请求时,它会:
- 根据运行时和版本加载适当的索引(当前固定为最新版本)
- 使用 lunr.js 执行搜索
- 以 JSON 格式返回搜索结果
- 然后,法学硕士可以使用这些结果来查找相关的文档页面
执照
麻省理工学院
You must be authenticated.
使 LLM 能够使用模型上下文协议服务器跨多个运行时(Python、TypeScript、Java、.NET)搜索 AWS Lambda Powertools 文档。