What is Infa
Infa Chrome Extension
How to use and install our Chrome Extension
Community
Browse community design systems
Release Notes
Featuring the latest changes to keep you up-to-date
Research Program
Participate in shaping the future of Infa
SOC 2 Type II Compliance Badge
Enterprise Ready
SOC 2 Type II certified for enterprise-level security and compliance
EventsLearnPricing
Sign up for free

Feedback

Share your feedback

Close
Anonymous submissions are auto-posted to #feedback channel. You can also share directly in Slack.

Need help?

Reach out to contact@infa.ai or see docs

Navigation
Search...
⌘ K
Focus sentinel
Close

Search Documentation

PressESCto close
Focus sentinel
Infa Documentation
  • General Information
    • Boards
    • Components
      • Main Components Vs Component Views
      • Component Tagging
      • Component Anatomy
    • Labels
    • Teams
    • Authentication
    • Permissions
      • Inviting People to Teams
      • Inviting People to Boards
    • Billing & Subscription
      • Managing Subscription
      • Promo Code Activation
    • Data Import, Export & Sync
      • Local vs. Cloud Boards
  • App Blocks
    • Building App Blocks
  • Chrome Extension
    • Deep Links
    • Using Labels
    • Updating the Extension
  • Integrations
    • MCP Server
    • Claude Code Plugin
    • External API
    • Progressive Web App
    • Figma Plugin
    • Coda Pack
    • Overview
    • Managing Runs
    • Board Agents
    • Overview
    • Infa Capture
    • Installation
    • Authentication
    • Connect a Board
    • Run Modes
    • Hooks & Agents
    • File Sync
    • CLI Reference
Switch to Light theme
Switch to Dark theme
TermsPrivacyChat with Us
  1. Docs
  2. Integrations

Infa CLI

A local CLI server that bridges your markdown repos, Claude Code sessions, and the Infa cloud.

Infa CLI (infa) is a local Node.js tool that runs alongside your repositories. It serves your .md and .mdx files to the Infa web UI, manages Claude Code sessions, keeps local files in sync with cloud Papers, and serves Infa Capture — the in-page element selector — into your preview, all from a single command.

Copy link
What it does

Local MDX preview
Serve any folder of markdown or MDX files to infa.ai over a local HTTP + WebSocket server
Claude session manager
Start, stop, and monitor Claude Code remote-control sessions across multiple repos
File sync
Keep local .mdx files in sync with cloud Papers on your Infa board, with conflict detection

Copy link
How it fits in your workflow

  Your repos (.md / .mdx)
         │
   infa preview          ← local server on :7100
         │
   infa.ai / b/{boardId} ← web UI reads files + controls sessions
         │
   Supabase              ← run records, queued run triggers, realtime
         │
   Claude Code           ← spawned as a child process per repo

When a board is connected and you are authenticated, the CLI also subscribes to Supabase Realtime. Any run queued from the Infa web UI is automatically picked up and executed locally.

Copy link
Quick start

# 1. Install
npm install -g infa
# 2. Authenticate
infa auth
# 3. Link a board
infa board
# 4. Start the server (run from your docs/repo folder)
infa preview

The browser opens to infa.ai/b/{boardId} automatically.

Copy link
Next steps

Infa Capture
The in-page element selector — evolve, comment, and AI modes
Installation
System requirements and install steps
Authentication
OAuth flow, token storage, and status checks
Connect a Board
Link your local folder to an Infa board
Run Modes
Interactive, automated local, and remote cloud runs
File Sync
Keep local MDX files in sync with cloud Papers
CLI Reference
Full command and flag reference

Content Feedback

Feedback on selected content

Close
Anonymous submissions are auto-posted to #feedback channel. You can also share directly in Slack.

Need help?

Reach out to contact@infa.ai or see docs

Previous---Infa CLI---
NextInfa Capture