Skip to main content
Glama

Perplexity MCP Server

by PoliTwit1984

Perplexity MCP 서버

Perplexity AI의 API를 사용하여 지능형 코드 분석 및 디버깅 기능을 제공하는 모델 컨텍스트 프로토콜(MCP) 서버입니다. Claude 데스크톱 클라이언트와 원활하게 작동합니다.

특징

  • 지능형 오류 분석 : 근본 원인 분석을 통한 코딩 오류의 세부 분석
  • 패턴 감지 : 일반적인 오류 패턴을 자동으로 인식하고 타겟 솔루션을 제공합니다.
  • 종합 솔루션 : 다양한 구현 대안을 통한 단계별 수정
  • 모범 사례 : 코딩 표준 및 오류 방지 팁 포함
  • Python 지원 : Python 유형 오류 및 일반적인 코딩 문제에 대한 특수 처리

사용 예

다음과 같은 질문을 해보세요.

  • "내 Python 코드에서 이 TypeError를 수정해 주세요"
  • "이 오류 메시지의 원인은 무엇입니까?"
  • "이 코드를 어떻게 고치나요?"

타겟 분석을 위해 코드 조각을 포함하세요.

지엑스피1

서버는 다음을 제공합니다.

  1. 오류의 근본 원인 분석
  2. 코드 예제를 통한 단계별 솔루션
  3. 유사한 문제를 방지하기 위한 모범 사례
  4. 대체 구현 접근 방식

설치

필수 조건

  • Node.js 18 이상
  • Perplexity AI API 키

옵션 1: npm에서 설치(권장)

# Using npm npm install -g perplexity-mcp # Or using the repository directly npm install -g git+https://github.com/yourusername/perplexity-mcp.git

옵션 2: 소스에서 설치

  1. 저장소를 복제합니다.
git clone https://github.com/yourusername/perplexity-server.git cd perplexity-server
  1. 종속성 설치:
npm install
  1. 글로벌하게 빌드하고 설치:
npm run build npm install -g .

Claude Desktop 구성

Claude 데스크톱 구성 파일에 다음을 추가합니다.

MacOS : ~/Library/Application Support/Claude/claude_desktop_config.json Windows : %APPDATA%/Claude/claude_desktop_config.json

{ "mcpServers": { "perplexity": { "command": "perplexity-mcp", "args": [], "env": { "PERPLEXITY_API_KEY": "your-api-key-here" } } } }

또는 소스에서 설치한 경우:

{ "mcpServers": { "perplexity": { "command": "node", "args": ["/absolute/path/to/perplexity-server/build/index.js"], "env": { "PERPLEXITY_API_KEY": "your-api-key-here" } } } }

보안

  • API 키는 Claude의 데스크톱 구성 파일에 안전하게 저장됩니다.
  • 키는 환경 변수로 서버에 전달됩니다.
  • 민감한 데이터는 저장소에 저장되지 않습니다.
  • 서버는 API 키가 Claude의 환경에서 제공될 것으로 예상합니다.

개발

프로젝트 구조

perplexity-server/ ├── src/ │ └── index.ts # Main server implementation ├── package.json # Project configuration └── tsconfig.json # TypeScript configuration

사용 가능한 스크립트

  • npm run build : 프로젝트 빌드
  • npm run watch : 변경 사항을 감시하고 자동으로 다시 빌드합니다.
  • npm run prepare : 패키지 게시를 준비합니다.
  • npm run inspector : 디버깅을 위해 MCP 검사기를 실행합니다.

기여하다

  1. 저장소를 포크하세요
  2. 기능 브랜치를 생성합니다( git checkout -b feature/amazing-feature )
  3. 변경 사항을 커밋하세요( git commit -m 'Add some amazing feature' )
  4. 브랜치에 푸시( git push origin feature/amazing-feature )
  5. 풀 리퀘스트 열기

특허

이 프로젝트는 MIT 라이선스에 따라 라이선스가 부여되었습니다. 자세한 내용은 라이선스 파일을 참조하세요.

감사의 말

Install Server
A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

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.

Tools

Perplexity AI의 API를 통해 지능형 코드 분석 및 디버깅을 지원하고, Claude 데스크톱 클라이언트에 대한 통합 지원과 함께 자세한 오류 분석, 패턴 감지 및 포괄적인 솔루션을 제공합니다.

  1. 특징
    1. 사용 예
      1. 설치
        1. 필수 조건
        2. 옵션 1: npm에서 설치(권장)
        3. 옵션 2: 소스에서 설치
        4. Claude Desktop 구성
      2. 보안
        1. 개발
          1. 프로젝트 구조
          2. 사용 가능한 스크립트
          3. 기여하다
        2. 특허
          1. 감사의 말

            Related MCP Servers

            • A
              security
              A
              license
              A
              quality
              A server facilitating web search functionality by utilizing Perplexity AI's API, designed to integrate with the Claude desktop client for enhanced search queries.
              Last updated -
              1
              94
              Python
              MIT License
              • Apple
            • -
              security
              F
              license
              -
              quality
              Provides AI-powered assistance for coding problems using Google's Gemini AI, combined with Perplexity insights and Stack Overflow references, facilitating contextual analysis and automatic response archiving for improved troubleshooting.
              Last updated -
              10
              TypeScript
            • -
              security
              A
              license
              -
              quality
              A Cursor-compatible toolkit that provides intelligent coding assistance through custom AI tools for code architecture planning, screenshot analysis, code review, and file reading capabilities.
              Last updated -
              839
              2
              TypeScript
              MIT License
            • -
              security
              A
              license
              -
              quality
              A powerful research assistant that integrates with Cline and Claude Desktop to leverage Perplexity AI for intelligent search, documentation retrieval, API discovery, and code modernization assistance while coding.
              Last updated -
              2
              JavaScript
              MIT License

            View all related MCP servers

            MCP directory API

            We provide all the information about MCP servers via our MCP API.

            curl -X GET 'https://glama.ai/api/mcp/v1/servers/PoliTwit1984/mcp-perplexity-server'

            If you have feedback or need assistance with the MCP directory API, please join our Discord server