feat: Add Droid(Factory AI's CLI) client support #28
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Changes Made
Code Implementation (commit cb004ca):
src/client-config.ts~/.factory/mcp.jsonfor global installation.factory/mcp.jsonin the current directorymcpServersto match the expected Droid configuration formatDocumentation Update (commit f32a002):
Technical Details
The implementation follows the established pattern for other clients in the codebase:
Usage Example
Users can now install MCP servers for Droid using:
This will add the server configuration to the appropriate Droid MCP configuration file.
Testing
The implementation has been tested to ensure proper configuration file creation and server registration.