mcp-server-jina MCP 服务器

by BaoxingZhang

243 downloads
Not rated
GitHub

Description

# mcp-server-jina MCP 服务器 一个模型上下文协议服务器 这是一个基于TypeScript的MCP服务器,实现了一个简单的笔记系统。它通过提供以下功能演示了MCP核心概念: - 表示带有URI和元数据的文本笔记的资源 - 创建新笔记的工具 - 生成笔记摘要的提示 ## 功能 ### 资源 - 通过`note://`URI列出和访问笔记 - 每个笔记都有标题、内容和元数据 - 纯文本MIME类型用于简单内容访问 ### 工具 - `create_note` - 创建新的文本笔记 - 将标题和内容作为必需参数 - 在服务器状态中存储笔记…

About

# mcp-server-jina MCP 服务器 一个模型上下文协议服务器 这是一个基于TypeScript的MCP服务器,实现了一个简单的笔记系统。它通过提供以下功能演示了MCP核心概念: - 表示带有URI和元数据的文本笔记的资源 - 创建新笔记的工具 - 生成笔记摘要的提示 ## 功能 ### 资源 - 通过`note://`URI列出和访问笔记 - 每个笔记都有标题、内容和元数据 - 纯文本MIME类型用于简单内容访问 ### 工具 - `create_note` - 创建新的文本笔记 - 将标题和内容作为必需参数 - 在服务器状态中存储笔记 ### 提示 - `summarize_notes` -…

Details

Author
BaoxingZhang
Downloads
243
Categories
Other

- Resources exposed via note:// URIs with title, content, and metadata.
- create_note tool for adding new text notes.
- summarize_notes prompt that embeds all notes for LLM summarization.
- Pure text MIME type for simple content access.
- Built with TypeScript and the MCP SDK.

Install dependencies with npm install, build with npm run build, and add the server’s build path to your Claude Desktop configuration file (e.g., claude_desktop_config.json on macOS or Windows). Launch Claude Desktop to automatically connect.

mcp-server-jina MCP 服务器

一个模型上下文协议服务器

这是一个基于TypeScript的MCP服务器,实现了一个简单的笔记系统。它通过提供以下功能演示了MCP核心概念:

- 表示带有URI和元数据的文本笔记的资源
- 创建新笔记的工具
- 生成笔记摘要的提示

功能

资源

- 通过note://URI列出和访问笔记 - 每个笔记都有标题、内容和元数据 - 纯文本MIME类型用于简单内容访问

工具

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

提示

- summarize_notes - 生成所有存储笔记的摘要 - 包含所有笔记内容作为嵌入资源 - 返回用于LLM摘要的结构化提示

开发

安装依赖:

npm install

构建服务器:

npm run build

用于自动重建的开发模式:

npm run watch

安装

要与Claude桌面版一起使用,添加服务器配置:

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

{
  "mcpServers": {
    "mcp-server-jina": {
      "command": "/path/to/mcp-server-jina/build/index.js"
    }
  }
}

调试

由于MCP服务器通过stdio通信,调试可能具有挑战性。我们推荐使用MCP检查器,它可作为包脚本使用:

npm run inspector

检查器将提供一个URL以在浏览器中访问调试工具。

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.