setup
Configures OSS Autopilot preferences including languages, interests, and contribution goals to personalize your open source contribution experience.
Instructions
Run OSS Autopilot setup to configure preferences like languages, interests, and contribution goals.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reset | No | If true, reset all preferences to defaults before running setup | |
| set | No | Set preferences non-interactively as key=value pairs (e.g. ["languages=typescript,rust"]) |
Implementation Reference
- packages/mcp-server/src/tools.ts:411-427 (registration)MCP tool registration for 'setup' with input schema (reset, set) and handler wrapped via wrapTool(runSetup).
// 13. setup — Interactive setup server.registerTool( 'setup', { description: 'Run OSS Autopilot setup to configure preferences like languages, interests, and contribution goals.', inputSchema: { reset: z.boolean().optional().describe('If true, reset all preferences to defaults before running setup'), set: z .array(z.string()) .optional() .describe('Set preferences non-interactively as key=value pairs (e.g. ["languages=typescript,rust"])'), }, annotations: { readOnlyHint: false, destructiveHint: false }, }, wrapTool(runSetup), ); - getSetupKeys() – returns the list of config keys that can be set via the 'setup --set' command (filtered by settableVia === 'setup' or 'both').
export function getSetupKeys(): readonly string[] { return CONFIG_KEY_REGISTRY.filter((d) => d.settableVia === 'setup' || d.settableVia === 'both').map((d) => d.key); } /** Keys accepted by the `config <key> <value>` command (includes `both`). */ export function getConfigKeys(): readonly string[] { return CONFIG_KEY_REGISTRY.filter((d) => d.settableVia === 'config' || d.settableVia === 'both').map((d) => d.key); }