Back to MCP directory
publicPublicdnsLocal runtime

mcp-linear

一个基于TypeScript的MCP服务器,实现了简单的笔记系统,提供笔记资源管理、创建工具和摘要生成功能

article

README

🚀 Curri-mcp-server MCP 服务器

Curri-mcp-server 是一个用于与 Curri 的 API 进行交互的 MCP 服务器。它基于 TypeScript 构建,实现了一个简单的笔记系统,展示了核心的 MCP 概念。

🚀 快速开始

Curri-mcp-server 是一个基于 TypeScript 的 MCP 服务器,实现了简单笔记系统,可通过 note:// URI 访问和管理文本笔记,还能创建新笔记、生成笔记摘要。

✨ 主要特性

资源

  • 可列出并访问使用 note:// URI 的笔记。
  • 每个笔记包含标题、内容和元数据。
  • 使用纯文本 MIME 类型提供简单的内容访问。

工具

  • create_note - 创建新的文本笔记:
    • 接受标题和内容作为必填参数。
    • 将笔记存储在服务器状态中。

提示

  • summarize_notes - 生成所有存储笔记的摘要:
    • 包括所有笔记内容作为嵌入式资源。
    • 返回结构化的提示以供 LLM 进行总结。

📦 安装指南

开发环境安装

  • 安装依赖:
npm install
  • 构建服务器:
npm run build
  • 带有自动重建功能的开发:
npm run watch

与 Claude Desktop 一起使用

要与 Claude Desktop 一起使用,请添加服务器配置:

  • 在 MacOS 上:~/Library/Application Support/Claude/claude_desktop_config.json
  • 在 Windows 上:%APPDATA%/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "curri-mcp-server": {
      "command": "/path/to/curri-mcp-server/build/index.js"
    }
  }
}

调试

由于 MCP 服务器通过标准输入输出进行通信,调试可能会比较困难。我们推荐使用 MCP Inspector,它可以通过包命令获得:

npm run inspector

Inspector 将提供一个可以在浏览器中访问调试工具的 URL。

help

Runtime guide

cloud

Hosted runtime

Hosted servers run from a provider-managed environment. You usually connect the MCP client to the hosted endpoint or follow the provider's authorization flow, without keeping a local process alive

  1. Open provider connection page
  2. Authorize or copy endpoint
  3. Connect from your MCP client
terminal

Local runtime / other methods

Local servers run on your own machine or infrastructure. You normally copy the server_config into your MCP client, install the required package, and provide env variables from env_schema when needed

  1. Copy server_config
  2. Install required package
  3. Fill env variables and restart client