Yosider_cosense Mcp Server

Yosider_cosense Mcp Server

🚀 Cosense-MCP-Server 服务器

Cosense-MCP-Server 服务器为 cosense 提供支持,它是从 https://github.com/funwarioisii/cosense-mcp-server 叉出的项目。该服务器主要用于获取页面,为相关应用提供必要的页面数据。

🚀 快速开始

开发步骤

  1. 安装依赖:运行以下命令安装所需的依赖项。
npm install
  1. 构建服务器:使用以下命令构建服务器。
npm run build
  1. 带有自动重建功能的开发:若需要在开发过程中实现自动重建功能,可运行此命令。
npm run watch

安装步骤

  1. 克隆项目仓库到本地。
git clone https://github.com/funwarioisii/cosense-mcp-server.git
  1. 进入项目目录。
cd cosense-mcp-server
  1. 安装依赖。
npm run install
  1. 构建服务器。
npm run build

与 Claude Desktop 一起使用

若要将该服务器与 Claude Desktop 一起使用,需要添加服务器配置:

  • MacOS:在 ~/Library/Application\ Support/Claude/claude_desktop_config.json 文件中添加配置。
  • Windows:在 %APPDATA%/Claude/claude_desktop_config.json 文件中添加配置。

配置内容如下:

{
"mcpServers": {
"cosense-mcp-server": {
"command": "node",
"args": ["/path/to/cosense-mcp-server/build/index.js"],
"env": {
"COSENSE_PROJECT_NAME": "your_project_name",
"COSENSE_SID": "your_sid"
}
}
}
}

注意COSENSE_SID 是可选的。如果您希望将此服务器用于私人项目,请设置 COSENSE_SID

调试

由于 MCP 服务器通过 stdio 进行通信,调试可能具有挑战性。我们推荐使用 MCP Inspector,它作为包脚本可用,运行以下命令即可启动:

npm run inspector

Inspector 将提供访问调试工具的 URL,在您的浏览器中打开该 URL 即可进行调试。

✨ 主要特性

  • 获取页面:该服务器的核心功能,能够为相关应用提供所需的页面数据。
  • 0 关注
  • 0 收藏,26 浏览
  • system 提出于 2025-10-06 05:54

相似服务问题

相关AI产品