perplexity-server MCP Server
用于Cline的困惑度MCP Server。
简介
Perplexity-Server 是一个基于 Model Context Protocol (MCP) 的 TypeScript 服务器,实现了简单的笔记系统,展示核心 MCP 概念。
主要功能
- 资源: 通过
note://
URI 访问笔记 - 工具: 使用
create_note
创建新笔记 - 提示: 利用
summarize_notes
生成笔记摘要
安装与设置
-
安装依赖:
npm install
-
构建服务器:
npm run build
-
开发模式:
npm run watch
-
配置 Claude Desktop:
MacOS:
~/Library/Application Support/Claude/claude_desktop_config.json
Windows:%APPDATA%/Claude/claude_desktop_config.json
{ "mcpServers": { "perplexity-server": { "command": "/path/to/perplexity-server/build/index.js" } } }
调试
使用 MCP Inspector 进行调试:
npm run inspector
通过浏览器访问提供的 URL 使用调试工具。