Skip to content

Conversation

@danigoland
Copy link

Changes Made

  1. Code Implementation (commit cb004ca):

    • Added Droid client configuration in src/client-config.ts
    • Configured the MCP config path to ~/.factory/mcp.json for global installation
    • Added support for local installation at .factory/mcp.json in the current directory
    • Set the config key to mcpServers to match the expected Droid configuration format
    • Added 'droid' to the list of supported client names
  2. Documentation Update (commit f32a002):

    • Updated README.md to include 'droid' in the list of supported clients
    • Added a brief description: "droid (Factory.AI's Droid CLI tool)"

Technical Details

The implementation follows the established pattern for other clients in the codebase:

  • Uses a file-based configuration with JSON format
  • Supports both global and local configuration files
  • Integrates seamlessly with the existing install command infrastructure

Usage Example

Users can now install MCP servers for Droid using:

# Global at  `~.factory/mcp.json`
npx -y install-mcp@latest https://api.supermemory.ai/mcp --client droid --oauth=yes

# Local at  `.factory/mcp.json`
npx -y install-mcp@latest https://api.supermemory.ai/mcp --client droid --local --oauth=yes

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.

danigoland and others added 2 commits October 3, 2025 16:21
Adds a new "droid" client mapping to write MCP server entries to ~/.factory/mcp.json (or %USERPROFILE%\.factory\mcp.json on Windows) with optional local mode, enabling installs via --client droid while reusing the default server shape.

Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant