Powertools MCP Search Server

by serverless-dna
Verified

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 검색 서버

여러 런타임에 걸쳐 AWS Lambda Powertools 문서에 대한 검색 기능을 제공하는 MCP(모델 컨텍스트 프로토콜) 서버입니다.

클로드 데스크톱 빠른 시작

설치 지침을 따르세요. Claude Desktop 사용자를 위한 Model Context Protocol 빠른 시작을 참조하세요. MCP 구성 파일에 다음과 같이 섹션을 추가해야 합니다.

지엑스피1

개요

이 프로젝트는 대규모 언어 모델(LLM)이 AWS Lambda Powertools 문서를 검색할 수 있도록 하는 MCP 서버를 구현합니다. 효율적인 로컬 검색 기능을 위해 lunr.js를 사용하고, 요약하여 사용자에게 제공할 수 있는 결과를 제공합니다.

특징

  • LLM과 통합을 위한 MCP 호환 서버
  • lunr.js 인덱스를 사용한 로컬 검색
  • 여러 런타임 지원:
    • 파이썬
    • 타입스크립트
    • 자바
    • .그물
  • 버전별 문서 검색(기본값은 최신)

설치

# Install dependencies pnpm install # Build the project pnpm build

용법

서버는 stdio를 통해 통신하는 MCP 서버로 실행될 수 있습니다.

npx -y @serverless-dna/powertools-mcp

검색 도구

서버는 다음 매개변수를 사용하여 search_docs 도구를 제공합니다.

  • search : 검색 쿼리 문자열
  • runtime : 검색을 위한 Powertools 런타임(Python, Typescript, Java, DotNet)
  • version : 선택 버전 문자열(기본값은 '최신')

개발

프로젝트 구조

  • src/ : 소스 코드
    • index.ts : 메인 서버 구현
    • searchIndex.ts : 검색 인덱스 관리
  • indexes/ : 각 런타임에 대한 미리 빌드된 lunr.js 검색 인덱스
  • dist/ : 컴파일된 출력

건물

pnpm build

테스트

pnpm test

Claude Desktop MCP 구성

개발 중에는 다음 구성을 사용하여 Claude Desktop과 함께 MCP 서버를 실행할 수 있습니다.

아래 구성은 Windows Subsystem for Linux(WSL)를 사용하여 개발하는 동안 Windows Claude Desktop에서 실행하는 방법을 보여줍니다. Mac이나 Linux 환경에서도 비슷한 방식으로 실행할 수 있습니다.

출력은 모든 종속성이 묶여 있으므로 Windows에 설치된 Node가 MCP 서버를 실행할 수 있도록 하는 묶음 파일입니다.

{ "mcpServers": { "powertools": { "command": "node", "args": [ "\\\\wsl$\\Ubuntu\\home\\walmsles\\dev\\serverless-dna\\powertools-mcp\\dist\\bundle.js" ] } } }

작동 원리

  1. 서버는 지원되는 각 런타임에 대해 미리 빌드된 lunr.js 인덱스를 로드합니다.
  2. 검색 요청이 수신되면:
    • 런타임 및 버전에 따라 적절한 인덱스를 로드합니다(현재 최신으로 고정됨)
    • lunr.js를 사용하여 검색을 수행합니다.
    • 검색 결과를 JSON으로 반환합니다.
  3. LLM은 이러한 결과를 사용하여 관련 문서 페이지를 찾을 수 있습니다.

특허

MIT

You must be authenticated.

A
security – no known vulnerabilities
F
license - not found
A
quality - confirmed to work

모델 컨텍스트 프로토콜 서버를 사용하여 LLM이 여러 런타임(Python, TypeScript, Java, .NET)에서 AWS Lambda Powertools 문서를 검색할 수 있도록 합니다.

  1. Claude Desktop Quickstart
    1. Overview
      1. Features
        1. Installation
          1. Usage
            1. Search Tool
          2. Development
            1. Project Structure
            2. Building
            3. Testing
            4. Claude Desktop MCP Configuration
          3. How It Works
            1. License
              ID: 2lx665z7md