脉冲笔记

@orliesaurus/pulsemcp-server
Hosted
0 Stars 748 次浏览 orliesaurus 更新于 2026-08-23

PulseMCP服务器是一个基于TypeScript的MCP服务器,它实现了一个简单的笔记系统,允许用户通过模型上下文协议(Model Context Protocol),以基于URI的资源管理和大型语言模型(LLM)摘要提示的方式创建、访问和总结文本笔记。

MCP 服务配置

复制以下 JSON 到 OPClaw 或其他 MCP 客户端的配置文件中即可使用

{
  "mcpServers": {
    "pulsemcp": {
      "args": [
        "-y",
        "pulsemcp-server"
      ],
      "command": "npx"
    }
  }
}

可用工具 (2 个)

该服务在 MCP 协议中暴露的工具,AI 可按需调用

list_servers 4 个参数

List MCP servers with optional filtering

该工具无需必填参数,直接调用即可

list_integrations

List all available integrations

该工具无需必填参数,直接调用即可

服务介绍

PulseMCP 服务器

一个提供工具的 Model Context Protocol (MCP) 服务器,通过 PulseMCP API 发现和探索 MCP 服务器及其集成。

特性

  • 列出带有过滤和分页功能的可用 MCP 服务器
  • 按名称或功能搜索特定的 MCP 服务器
  • 按集成类型过滤服务器
  • 列出所有可用的集成
  • 完全支持 TypeScript

安装

在 MCP 客户端中安装

将以下内容添加到您的 MCP 客户端配置中,并根据客户端偏好进行调整。例如:

{
  "mcpServers": {
    "pulsemcp": {
      "command": "npx",
      "args": ["-y", "pulsemcp-server"]
    }
  }
}
  1. 克隆仓库:
git clone <repository-url>
cd pulsemcp-server
  1. 安装依赖项:
npm install
  1. 构建项目:
npm run build

使用

运行服务器

构建后可以直接运行服务器:

./build/index.js

或者通过 npm 运行:

npm start

开发

在开发过程中监视更改:

npm run watch

检查服务器的 MCP 实现:

npm run inspector

可用工具

list_servers

列出可选过滤和分页的 MCP 服务器。

参数:

  • query(可选):用于过滤服务器的搜索词
  • integrations(可选):用于过滤的集成 slug 数组
  • count_per_page(可选):每页的结果数量(最大值:5000)
  • offset(可选):用于分页跳过的结果数量

示例:

{
  "query": "toolhouse",
  "integrations": ["github"],
  "count_per_page": 10,
  "offset": 0
}

list_integrations

列出所有可用的集成。此工具不接受任何参数。

响应格式

这两个工具都返回具有以下结构的 JSON 响应:

list_servers 响应

{
  "servers": [
    {
      "name": "Server Name",
      "url": "https://example.com",
      "external_url": "https://external-link.com",
      "short_description": "Server description",
      "source_code_url": "https://github.com/example/repo",
      "github_stars": 123,
      "package_registry": "npm",
      "package_name": "package-name",
      "package_download_count": 1000,
      "integrations": [
        {
          "name": "Integration Name",
          "slug": "integration-slug",
          "url": "https://integration-url.com"
        }
      ]
    }
  ],
  "total_count": 1,
  "next": null
}

list_integrations 响应

{
  "integrations": [
    {
      "name": "Integration Name",
      "slug": "integration-slug",
      "url": "https://integration-url.com"
    }
  ]
}

错误处理

服务器包括针对以下情况的强大错误处理:

  • 无效参数
  • API 连接问题
  • 速率限制
  • 认证错误

错误以标准化格式返回,附带适当的错误代码和消息。

开发

项目结构

pulsemcp-server/
├── src/
│   └── index.ts    # Main server implementation
├── build/          # Compiled JavaScript
├── package.json    # Project configuration
└── tsconfig.json   # TypeScript configuration

依赖项

  • @modelcontextprotocol/sdk: ^0.6.0
  • axios: ^1.7.9
  • TypeScript: ^5.3.3

许可证

请参阅 LICENSE.MD

贡献

发起 PR - 保持友好,您将得到回报!

相关 MCP 服务