Skip to content
MCP server

Afi MCP

The first CLI for Afi SaaS backup - full public-API coverage plus the fleet-wide coverage

Runs locallyStatus and history
Install
Pricing
Open source
Runs
Locally
Version
0.1.13
Listing updated
4 days ago

About Afi MCP

Afi MCP is an open-source MCP server. It runs locally on your machine and is started by your AI client.

Install

Run in a terminal

claude mcp add afi-mcp --env AFI_API_KEY='<AFI_API_KEY>' --env AFI_MCP_HTTP_TOKEN='<AFI_MCP_HTTP_TOKEN>' -- npx -y https://github.com/Servosity/msp-skills/releases/download/afi-v0.1.13/afi-mcp.mcpb

Add to claude_desktop_config.json

{
  "mcpServers": {
    "afi-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "https://github.com/Servosity/msp-skills/releases/download/afi-v0.1.13/afi-mcp.mcpb"
      ],
      "env": {
        "AFI_API_KEY": "<AFI_API_KEY>",
        "AFI_MCP_HTTP_TOKEN": "<AFI_MCP_HTTP_TOKEN>"
      }
    }
  }
}

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "afi-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "https://github.com/Servosity/msp-skills/releases/download/afi-v0.1.13/afi-mcp.mcpb"
      ],
      "env": {
        "AFI_API_KEY": "<AFI_API_KEY>",
        "AFI_MCP_HTTP_TOKEN": "<AFI_MCP_HTTP_TOKEN>"
      }
    }
  }
}

Add to .vscode/mcp.json

{
  "servers": {
    "afi-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "https://github.com/Servosity/msp-skills/releases/download/afi-v0.1.13/afi-mcp.mcpb"
      ],
      "env": {
        "AFI_API_KEY": "<AFI_API_KEY>",
        "AFI_MCP_HTTP_TOKEN": "<AFI_MCP_HTTP_TOKEN>"
      }
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "afi-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "https://github.com/Servosity/msp-skills/releases/download/afi-v0.1.13/afi-mcp.mcpb"
      ],
      "env": {
        "AFI_API_KEY": "<AFI_API_KEY>",
        "AFI_MCP_HTTP_TOKEN": "<AFI_MCP_HTTP_TOKEN>"
      }
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "afi-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "https://github.com/Servosity/msp-skills/releases/download/afi-v0.1.13/afi-mcp.mcpb"
      ],
      "env": {
        "AFI_API_KEY": "<AFI_API_KEY>",
        "AFI_MCP_HTTP_TOKEN": "<AFI_MCP_HTTP_TOKEN>"
      }
    }
  }
}

Configuration

  • AFI_API_KEYSet the AFI_API_KEY credential for the Afi MCP server.Required
  • AFI_BASE_URLBase URL for the Afi API. Leave the prefilled default unless your account uses a different regional or self-hosted host.
  • AFI_MCP_READ_ONLYSet to 1 to make the MCP server refuse every write to Afi: only read tools are callable. Leave blank to allow writes (each MCP write still previews first and sends only when called again with confirm set to true).
  • AFI_NO_LOCAL_DATAOptional. Set to 1 to keep no local copy of API responses: reads go to the API and sync refuses to run. Leave blank to keep the local store.
  • AFI_USER_AGENTOverrides the User-Agent the CLI sends on Afi requests. Leave blank to use the CLI's built-in User-Agent.
  • AFI_MCP_HTTP_TOKENRequired only when running the MCP server with --transport http (a remote or hosted deployment); at least 32 characters. Callers must send a matching Authorization: Bearer header. Not needed for the default local stdio transport that Claude Desktop uses.
  • PRINTING_PRESS_CLIENT_PROFILEBinds this MCP server to one tenant-gated client profile. Leave blank to use the profile configured as default_client_profile.

Pricing

Open source

Afi MCP FAQ

Is Afi MCP free?

Yes. Afi MCP is open source, so you can use and self-host it for free.

How do I add Afi MCP to Claude Code?

Run this command in your terminal: claude mcp add afi-mcp --env AFI_API_KEY='<AFI_API_KEY>' --env AFI_MCP_HTTP_TOKEN='<AFI_MCP_HTTP_TOKEN>' -- npx -y https://github.com/Servosity/msp-skills/releases/download/afi-v0.1.13/afi-mcp.mcpb