FogBugz MCP服务器

一个通过语言学习模型(LLMs)与FogBugz交互的模型上下文协议(MCP)服务器,支持创建、更新、分配和搜索问题等功能。

  • by akari2600
  • JavaScript
  • 本地部署
  • 更新于
在 GitHub 查看 akari2600/fogbugz-mcp

使用说明

FogBugz MCP服务器

一种模型上下文协议(MCP)服务器,用于通过克劳德等语言学习模型(LLM)与FogBugz进行交互。

概述

此服务器允许LLM在FogBugz上执行各种操作,包括:

  • 使用可选附件创建新问题/案例
  • 更新现有案例(更改项目、区域、里程碑、优先级)
  • 将案例分配给特定用户
  • 列出用户的未结案例
  • 获取特定案例的直接链接
  • 按各种标准搜索案例

服务器实现 模型上下文协议(MCP) 规范,允许任何兼容MCP的LLM客户端使用。

项目背景

该项目是在以下人员的帮助下启动的 OpenAI的o3 mini-high模型,生成了一个全面的开发计划(请参阅存储库中的development-plan.md)。该计划概述了用TypeScript构建FogBugz MCP服务器的架构、工具和实现细节。

详细的规范为开发团队提供了蓝图,展示了人工智能如何有效地协助项目设计和规划的早期阶段。该项目既是人工智能辅助开发的一个例子,也是通过MCP协议增强人工智能能力的一个工具。

安装

# Install from npm
npm install -g fogbugz-mcp

# Or use directly with npx
npx fogbugz-mcp <fogbugz-url> <api-key>

用法

基本用法

# Run with command line arguments
fogbugz-mcp https://yourcompany.fogbugz.com your-api-key

# Or use environment variables
export FOGBUGZ_URL=https://yourcompany.fogbugz.com
export TEST_FOGBUGZ_API_KEY=your-api-key
fogbugz-mcp

发展

# Clone the repository
git clone https://github.com/yourusername/fogbugz-mcp.git
cd fogbugz-mcp

# Install dependencies
npm install

# Create a .env file with your FogBugz credentials
echo "FOGBUGZ_URL=https://yourcompany.fogbugz.com" > .env
echo "TEST_FOGBUGZ_API_KEY=your-api-key" >> .env

# Run API explorer to test FogBugz API
npm run explore

# Run the development version of the server
npm run dev

# Run tests
npm test

# Build the project
npm run build

API资源管理器

该项目包括一个API资源管理器工具,用于直接测试FogBugz API端点:

# Run all API tests
npm run explore

# Run a specific test (by index)
npm run explore 0  # Run the first test

MCP工具

此服务器为LLM提供以下MCP工具:

  • fogbugz_create_case -创建一个新的FogBugz案例
  • fogbugz_update_case -更新现有案例的字段
  • fogbugz_assign_case -将案例分配给特定用户
  • fogbugz_list_my_cases -列出分配给特定用户的案例
  • fogbugz_search_cases -使用查询字符串搜索案例
  • fogbugz_get_case_link -获取特定案例的直接链接

许可证

国际协调委员会