Droid is Factory’s terminal coding agent. It exposes anDocumentation Index
Fetch the complete documentation index at: https://docs.sharc.sh/llms.txt
Use this file to discover all available pages before exploring further.
mcp subcommand for managing MCP servers.
Install
Droid takes the launch command directly as positional arguments — there’s no
-- separator like Claude Code or Codex.How it works
The command above creates a stdio MCP server entry (Droid’s default). The--env flag is repeatable for multiple environment variables.
Droid spawns npx -y @sharc-code/mcp@latest whenever it starts a session, with SHARC_API_KEY set in the child process’s environment.
Updating the API key
Verify
Ask Droid:index_codebase, search_code, clear_index, get_indexing_status, start_watch, stop_watch, get_watch_status).
Troubleshooting
Server not connecting
- Confirm
npxis on your PATH:npx --version - Re-run
droid mcp listto see the configured command - Check that
SHARC_API_KEYwas set correctly when adding the server