Configure command-line tools and AI assistants for your self-hosted InstantDB instance.
API URL: https://apiinstant.fidscript.com
Dashboard: https://instant.fidscript.com
npm install -g instant-cli
export INSTANT_CLI_API_URI=https://apiinstant.fidscript.com
export INSTANT_CLI_DASH_URI=https://instant.fidscript.com
instant-cli login --headless
Open the URL in your browser and enter your email to authenticate.
npx -y @fidscript/instant-mcp@0.4.0 --token <YOUR_PAT> --api-url https://apiinstant.fidscript.com
Add this to ~/.claude/settings.json:
{
"mcpServers": {
"instant-self": {
"command": "npx",
"args": ["-y", "@fidscript/instant-mcp@0.4.0"],
"env": {
"INSTANT_ACCESS_TOKEN": "",
"INSTANT_API_URI": "https://apiinstant.fidscript.com",
"INSTANT_APP_ID": ""
}
}
}
}
instant-cli schema pull --app <app-id>
instant-cli schema push --app <app-id>
instant-cli apps list
export INSTANT_CLI_API_URI=https://apiinstant.fidscript.com
export INSTANT_CLI_DASH_URI=https://instant.fidscript.com
curl -H "Authorization: Bearer $INSTANT_ACCESS_TOKEN" https://apiinstant.fidscript.com/health/system