Skip to content

Getting Started

This guide will get you up and running with TokenMF in just a few minutes.

Prerequisites

  • Node.js >= 18 (we recommend using nvm to manage versions)
  • npm (comes with Node.js)
  • An API Key for one or more LLM providers (DeepSeek, OpenAI, Anthropic, etc.)

5 Steps to Get Started

1. Install

Install the TokenMF CLI globally:

bash
npm install -g @tokenmf/tmf

2. Verify

Confirm the installation succeeded:

bash
tmf --version

If you see a version number printed, you're all set.

3. Browse and Switch Providers

List the providers currently available:

bash
tmf list

Choose a provider and switch your target application to it. For example, to switch Claude Code to DeepSeek:

bash
tmf use deepseek --app claude-code

TokenMF saves the switch locally so you can reference it later.

4. Test the Connection

Verify the new configuration works:

bash
tmf test deepseek

A successful test means the provider connection is working. If it fails, double-check your API key and network connectivity.

5. Rollback (Optional)

Need to revert to the previous provider configuration?

bash
tmf rollback --app claude-code

TokenMF restores the last working configuration from its switch history.

Next Steps

MIT License