Skip to main content
Glama

Perplexity MCP Server

Perplexity MCP 서버

이는 Perplexity AI를 사용하여 웹을 검색할 수 있는 간단한 MCP 서버입니다.

설치

필수 조건

Windows용 단계

  1. 저장소를 복제합니다.

지엑스피1

  1. 종속성 설치:
npm install
  1. 환경 파일을 생성합니다.
    • 루트 디렉토리에 .env 라는 이름의 새 파일을 만듭니다.
    • Perplexity AI API 키 GXP3를 추가하세요.

Windows에서의 사용법

개발 모드

npm run dev

생산 모드

  1. 프로젝트를 빌드하세요:
npm run build
  1. 서버를 시작합니다:
npm start

Windows 배치 파일 사용(권장)

Windows에서 환경 변수 문제를 방지하려면 포함된 배치 파일을 사용하세요.

  1. 먼저 프로젝트를 빌드하세요.
npm run build
  1. 배치 파일을 실행합니다.
.\run-perplexity-server.bat

또는 Windows 탐색기에서 run-perplexity-server.bat 파일을 두 번 클릭합니다.

자세한 지침은 Windows 설치 가이드를 참조하세요.

Windows 문제 해결

일반적인 문제

  1. 권한 오류
    • 관리자 권한으로 명령 프롬프트 또는 PowerShell 실행
    • 프로젝트 디렉토리의 파일 권한을 확인하세요
  2. 환경 변수
    • .env 파일이 루트 디렉토리에 있는지 확인하세요.
    • .env 파일에서 = 기호 주위에 공백이 없어야 합니다.
    • 환경 변수를 변경한 후 터미널을 다시 시작하세요.
    • 제공된 배치 파일을 사용하여 환경 변수 문제를 방지하세요.
  3. Node.js 문제
    • Node.js 설치 확인: node --version
    • npm이 설치되어 있는지 확인하세요: npm --version

오류 메시지

Error: ENOENT: no such file or directory .가 표시되면 다음을 확인하세요.

  • 모든 경로는 올바른 Windows 스타일 구분 기호를 사용합니다.
  • 당신은 올바른 디렉토리에 있습니다
  • 필요한 파일이 존재합니다

프로젝트 구조

perplexity-mcp-server/ ├── src/ │ └── index.ts # Main server implementation ├── dist/ # Compiled output ├── .env # Environment variables ├── package.json # Project configuration ├── run-perplexity-server.bat # Windows batch file └── tsconfig.json # TypeScript configuration

API 사용

서버는 웹 검색을 위한 단일 도구인 perplexity_search 제공합니다.

{ "name": "perplexity_search", "arguments": { "query": "your search query here" } }

특허

MIT

You must be authenticated.

A
security – no known vulnerabilities
F
license - not found
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.

이 서버를 사용하면 사용자는 Perplexity AI를 사용하여 웹 검색을 수행할 수 있으며, 간단한 API 인터페이스를 통해 검색 결과를 검색할 수 있는 도구를 제공합니다.

  1. 설치
    1. 필수 조건
    2. Windows용 단계
  2. Windows에서의 사용법
    1. 개발 모드
    2. 생산 모드
    3. Windows 배치 파일 사용(권장)
  3. Windows 문제 해결
    1. 일반적인 문제
    2. 오류 메시지
  4. 프로젝트 구조
    1. API 사용
      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
        • A
          security
          A
          license
          A
          quality
          This server enables AI systems to integrate with Tavily's search and data extraction tools, providing real-time web information access and domain-specific searches.
          Last updated -
          2
          8,040
          437
          JavaScript
          MIT License
          • Apple
          • Linux
        • A
          security
          A
          license
          A
          quality
          Facilitates web search capabilities using Perplexity's API, allowing users to retrieve search results through Claude's interface.
          Last updated -
          1
          2
          JavaScript
          MIT License
        • A
          security
          A
          license
          A
          quality
          An MCP server integrating Perplexity AI's API to offer advanced search capabilities with support for multiple models and result configuration.
          Last updated -
          1
          1
          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/spragginsdesigns/perplexity-mcp-server'

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