Skip to main content

1) Install the CLI

btca requires Bun.
bun add -g btca

2) Initialize a project

From your repo root:
btca init
Choose CLI for local resources or MCP for cloud resources. The wizard writes btca.config.jsonc or btca.remote.config.jsonc.

3) Add a resource

btca add -n svelte-dev https://github.com/sveltejs/svelte.dev

4) Ask a question

btca ask -r svelte-dev -q "How do I define remote functions?"

Optional: run the local server

btca serve
The server starts on port 8080 by default and exposes the local HTTP API.