rulesync 3.19.0 → 3.21.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +52 -15
- package/dist/index.cjs +1417 -802
- package/dist/index.js +1284 -669
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -561,6 +561,58 @@ So, in this case, approximately 92% reduction in MCP tools consumption!
|
|
|
561
561
|
|
|
562
562
|
Rulesync provides an MCP (Model Context Protocol) server that enables AI agents to manage your Rulesync files. This allows AI agents to discover, read, create, update, and delete files dynamically.
|
|
563
563
|
|
|
564
|
+
### Available Tools
|
|
565
|
+
|
|
566
|
+
The Rulesync MCP server provides the following tools:
|
|
567
|
+
|
|
568
|
+
<details>
|
|
569
|
+
<summary>Rules Management</summary>
|
|
570
|
+
|
|
571
|
+
- `listRules` - List all rule files
|
|
572
|
+
- `getRule` - Get a specific rule file
|
|
573
|
+
- `putRule` - Create or update a rule file
|
|
574
|
+
- `deleteRule` - Delete a rule file
|
|
575
|
+
|
|
576
|
+
</details>
|
|
577
|
+
|
|
578
|
+
<details>
|
|
579
|
+
<summary>Commands Management</summary>
|
|
580
|
+
|
|
581
|
+
- `listCommands` - List all command files
|
|
582
|
+
- `getCommand` - Get a specific command file
|
|
583
|
+
- `putCommand` - Create or update a command file
|
|
584
|
+
- `deleteCommand` - Delete a command file
|
|
585
|
+
|
|
586
|
+
</details>
|
|
587
|
+
|
|
588
|
+
<details>
|
|
589
|
+
<summary>Subagents Management</summary>
|
|
590
|
+
|
|
591
|
+
- `listSubagents` - List all subagent files
|
|
592
|
+
- `getSubagent` - Get a specific subagent file
|
|
593
|
+
- `putSubagent` - Create or update a subagent file
|
|
594
|
+
- `deleteSubagent` - Delete a subagent file
|
|
595
|
+
|
|
596
|
+
</details>
|
|
597
|
+
|
|
598
|
+
<details>
|
|
599
|
+
<summary>Ignore Files Management</summary>
|
|
600
|
+
|
|
601
|
+
- `getIgnoreFile` - Get the ignore file
|
|
602
|
+
- `putIgnoreFile` - Create or update the ignore file
|
|
603
|
+
- `deleteIgnoreFile` - Delete the ignore file
|
|
604
|
+
|
|
605
|
+
</details>
|
|
606
|
+
|
|
607
|
+
<details>
|
|
608
|
+
<summary>MCP Configuration Management</summary>
|
|
609
|
+
|
|
610
|
+
- `getMcpFile` - Get the MCP configuration file
|
|
611
|
+
- `putMcpFile` - Create or update the MCP configuration file
|
|
612
|
+
- `deleteMcpFile` - Delete the MCP configuration file
|
|
613
|
+
|
|
614
|
+
</details>
|
|
615
|
+
|
|
564
616
|
### Usage
|
|
565
617
|
|
|
566
618
|
#### Starting the MCP Server
|
|
@@ -588,21 +640,6 @@ Add the Rulesync MCP server to your `.rulesync/mcp.json`:
|
|
|
588
640
|
}
|
|
589
641
|
```
|
|
590
642
|
|
|
591
|
-
For development, you can use:
|
|
592
|
-
|
|
593
|
-
```json
|
|
594
|
-
{
|
|
595
|
-
"mcpServers": {
|
|
596
|
-
"rulesync-mcp": {
|
|
597
|
-
"type": "stdio",
|
|
598
|
-
"command": "pnpm",
|
|
599
|
-
"args": ["dev", "mcp"],
|
|
600
|
-
"env": {}
|
|
601
|
-
}
|
|
602
|
-
}
|
|
603
|
-
}
|
|
604
|
-
```
|
|
605
|
-
|
|
606
643
|
## Contributing
|
|
607
644
|
|
|
608
645
|
Issues and Pull Requests are welcome!
|