PulseMCP 服务器
模型上下文协议 (MCP) 服务器,通过 PulseMCP API 提供发现和探索 MCP 服务器和集成的工具。
特征
使用筛选和分页功能列出可用的 MCP 服务器
按名称或功能搜索特定的 MCP 服务器
按集成类型过滤服务器
列出所有可用的集成
全面支持 TypeScript
Related MCP server: github-manager MCP Server
安装
在 MCP 客户端中安装
将其添加到您的 MCP 客户端配置中,并根据客户的偏好进行调整。例如:
{
"mcpServers": {
"pulsemcp": {
"command": "npx",
"args": ["-y", "pulsemcp-server"]
}
}
}克隆存储库:
git clone <repository-url>
cd pulsemcp-server安装依赖项:
npm install构建项目:
npm run build用法
运行服务器
构建后即可直接运行服务器:
./build/index.js或者通过 npm:
npm start发展
观察开发过程中的变化:
npm run watch要检查服务器的 MCP 实现:
npm run inspector可用工具
列表服务器
列出具有可选过滤和分页功能的 MCP 服务器。
参数:
query(可选):用于过滤服务器的搜索词integrations(可选):用于过滤的集成数组count_per_page(可选):每页结果数(最大值:5000)offset(可选):分页时要跳过的结果数
例子:
{
"query": "toolhouse",
"integrations": ["github"],
"count_per_page": 10,
"offset": 0
}列表集成
列出所有可用的集成。此工具不接受任何参数。
响应格式
两种工具都返回具有以下结构的 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 - 表现友善,您将获得奖励!