AI会话交接管理服务器

用于管理AI会话交接和下一步跟踪的服务器,支持项目组织和优先级映射。

  • by davidorex
  • JavaScript
  • 本地部署
  • 7 星标
  • 更新于
在 GitHub 查看 davidorex/project-handoffs

使用说明

项目移交MCP服务器

MCP服务器,用于管理AI会话切换和后续步骤跟踪。

核心概念

  • 下一步→ 工作会议→ 切换→ 新NextStep链
  • 项目型组织
  • 与实施影响相对应的优先级别:
    • 核心关键:对工作实施至关重要
    • 完全必需:为实现预期目标所必需
    • 增强:改进和优化

可用工具

  • list_templates -列出下一步、工作会议和交接的可用模板
  • create_project -创建一个新项目来跟踪AI会话切换
  • delete_project -删除项目及其所有数据
  • create_next_step -在项目中创建新的下一步
  • start_working_session -开始下一步工作
  • create_handoff -完成一个包含交接细节的工作会议
  • get_latest_next_steps -按优先级顺序打开下一步
  • get_next_step_history -获取下一步的完整历史记录,包括会话和切换

安装

npm install
npm run build

配置

添加到MCP配置中:

{
  "mcpServers": {
    "project-handoffs": {
      "command": "/opt/homebrew/bin/node",
      "args": ["/path/to/project-handoffs/build/index.js"],
      "alwaysAllow": []
    }
  }
}

项目结构

project-handoffs/
├── src/
│   ├── index.ts           # Server implementation
│   ├── templates.ts       # Entity templates
│   ├── types.ts          # TypeScript types
│   └── errors.ts         # Error handling
├── package.json          
└── README.md

发展

# Install dependencies
npm install

# Development mode
npm run dev

# Build
npm run build


## Implementation Details

- Error handling through ProjectError class
- Template validation for all entity types
- Consistent state management
- Safe data persistence with proper error handling
- Type-safe implementation following project-memory-server patterns

## Security

If you discover a security vulnerability, please create a new issue with the label 'security'. We take all security reports seriously and will respond promptly.

## Contributing

Contributions are welcome. Feel free to submit a Pull Request.

## License

This project is licensed under the Apache License 2.0 - see the [LICENSE](LICENSE) file for details.```