MCP选项卡新闻集成
](https://smithery.ai/server/@renant/mcp-tabnews)
TabNews的模型上下文协议(MCP)集成。
此MCP服务器也可在 史密瑟里 直接整合。
可用工具
checkStatusTool:检查TabNews API的状态。getContentsTool:从TabNews获取内容。getContentsByUserTool:按用户从TabNews获取内容。getContentTool:按用户和slug从TabNews获取带有正文的内容。getContentChildrenTool:按内容从TabNews获取评论。getAnalyticsUserCreatedTool:从TabNews获取用户创建内容的分析。getAnalyticsRootContentPublishedTool:获取从TabNews发布的根内容的分析。getAnalyticsChildContentPublishedTool:获取从TabNews发布的儿童内容的分析。getRssFeedTool:从TabNews获取RSS提要。
与AI工具集成
检查MCP服务器功能
您可以使用Smithery检查此MCP服务器的功能:
npx -y @smithery/cli@latest inspect @renant/mcp-tabnews这将向您展示所有可用的工具、它们的参数以及如何使用它们。
设置
手动安装
- 确保你使用的是Node.js v23+
node -v
#v23.11.0- 克隆此存储库:
git clone https://github.com/renant/mcp-tabnews.git
cd mcp-tabnews- 恢复依赖关系:
npm ci与AI工具集成
光标设置
- 打开光标设置
- 导航到MCP部分
- 点击“添加新的MCP服务器”
- 配置服务器:
Name = mcp-tabnews
Type = command
Command = node ABSOLUTE_PATH_TO_PROJECT/src/index.ts或者,如果你更喜欢从Smithery执行它
Name = mcp-tabnews
Type = command
Command = npm exec -- @smithery/cli@latest run @renant/mcp-tabnews或直接从位于以下位置的Cursor全局MCP文件进行配置 ~/.cursor/mcp.json 并添加以下内容:
{
"mcpServers": {
"mcp-tabnews": {
"command": "node",
"args": ["ABSOLUTE_PATH_TO_PROJECT/src/index.ts"]
}
}
}或者,如果你更喜欢从Smithery执行它
{
"mcpServers": {
"mcp-tabnews": {
"command": "npm",
"args": [
"exec",
"--",
"@smithery/cli@latest",
"run",
"@renant/mcp-tabnews"
]
}
}
}- 在左下角的下拉菜单中选择“Agent”,确保Cursor聊天处于Agent模式
- 进入聊天室,询问有关TabNews的任何问题
Claude桌面设置
通过Smithery安装
通过以下方式自动安装Claude Desktop的TabNews 史密瑟里:
npx -y @smithery/cli install @renant/mcp-tabnews --client claude发展
特性
- 使用模型上下文协议(MCP)构建
- 使用TypeScript和Zod模式验证进行类型安全
- Node.js中的原生TypeScript支持,无需转译
- 标准I/O传输,便于集成
- 结构化错误处理
贡献
欢迎投稿!请随时提交拉取请求。
作者
许可证
此项目根据MIT许可证获得许可-请参阅 许可证 文件以获取详细信息。

