Prem MCP 服务器实现
用于 Prem SDK 的 MCP 服务器实现,支持聊天、文档管理等功能。
快速入门
安装
通过 npm 安装: npm install prem-mcp-server
或使用 Smithery 自动安装: npx -y @smithery/cli install @ucalyptus/prem-mcp-server --client claude
配置
- 创建
.env
文件并添加以下内容: PREM_API_KEY=your_api_key_here PREM_PROJECT_ID=your_project_id_here - 根据客户端(如 Cursor 或 Claude Desktop)配置相关 JSON 文件。
启动
运行以下命令启动服务器: npx prem-mcp-server
示例用法
- 基础对话:输入
Let's have a conversation about artificial intelligence.
- 文档问答:
基于存储库 XYZ 中的文档,[主题] 的关键点是什么?
- 使用模板:
使用模板 ABC 生成 [特定类型的内容]。