rulebook-mcp
用于程序化任务和技能管理的MCP服务器集成。在通过MCP协议管理任务、以编程方式启用/禁用技能或通过模型上下文协议将Rulebook与AI助手集成时使用。
📖 中文导读:用于程序化任务和技能管理的MCP服务器集成。在通过MCP协议管理任务、以编程方式启用/禁用技能或通过模型上下文协议将Rulebook与AI助手集成时使用。 以下正文为该技能的原始 SKILL.md 内容(英文),上方安装命令可直接使用。
name: rulebook-mcp description: MCP server integration for programmatic task and skill management. Use when managing tasks via MCP protocol, enabling/disabling skills programmatically, or integrating Rulebook with AI assistants through Model Context Protocol. version: "1.0.0" category: core author: "HiveLLM" tags: ["mcp", "model-context-protocol", "server", "integration"] dependencies: [] conflicts: []
Rulebook MCP Server
Setup
rulebook mcp init
Starting the Server
rulebook-mcp
Task Management Functions
// Create task
await mcp.rulebook_task_create({ taskId: "my-task" });
// List tasks
await mcp.rulebook_task_list({});
// Show task
await mcp.rulebook_task_show({ taskId: "my-task" });
// Update task file
await mcp.rulebook_task_update({
taskId: "my-task",
file: "tasks.md",
content: "## Tasks\n- [ ] Item 1"
});
// Validate task
await mcp.rulebook_task_validate({ taskId: "my-task" });
// Archive task
await mcp.rulebook_task_archive({ taskId: "my-task" });
// Delete task
await mcp.rulebook_task_delete({ taskId: "my-task" });
Skill Management Functions
// List skills
await mcp.rulebook_skill_list({});
// Show skill
await mcp.rulebook_skill_show({ skillId: "languages/typescript" });
// Enable skill
await mcp.rulebook_skill_enable({ skillId: "languages/typescript" });
// Disable skill
await mcp.rulebook_skill_disable({ skillId: "languages/typescript" });
// Search skills
await mcp.rulebook_skill_search({ query: "typescript" });
// Validate skills
await mcp.rulebook_skill_validate({});
MCP Configuration
For Cursor (.cursor/mcp.json):
{
"mcpServers": {
"rulebook": {
"command": "rulebook-mcp",
"args": [],
"env": {}
}
}
}