# starkfi [Health: Active]

**Category:** 💰 Finance & Fintech  
**Repository:** https://github.com/ahmetenesdur/starkfi  
**GitHub Stars:** 2  
**npm Downloads (last month):** 171  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/starkfi

## Description
AI-native Starknet DeFi CLI + MCP Server + Agent Skills — Swaps, multi-swap, batch (multicall), staking, liquid staking (LST), lending, DCA, Troves vaults, confidential transfers, simulation, portfolio, gas abstraction

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "starkfi": {
    "command": "npx",
    "args": ["-y","starkfi@latest"]
  }
}
```

## Documentation

## What starkfi does

starkfi brings Starknet DeFi operations into an MCP-compatible interface for AI assistants. The server exposes 51 tools spanning account and wallet actions, trading, staking, lending, dollar-cost averaging, confidential transfers, Troves vault strategies, and liquid staking.

Wallet capabilities include balance and portfolio queries, token transfers, account deployment, transaction-status checks, and portfolio rebalancing. Trading tools provide swap quotes and execution, multi-swap operations, and batched transactions. A batch can combine actions such as swapping, staking, lending, sending tokens, DCA, and Troves operations into one multicall transaction.

The finance workflows include validator and pool discovery, staking lifecycle actions, lending positions and debt management, recurring buy orders, Tongo Cash confidential transfers, yield-vault deposits and withdrawals, and Endur liquid staking operations.

## How it works

Start the MCP process with:

```bash
npx starkfi@latest mcp-start
```

The process uses stdio transport. Register it in an MCP client by invoking `npx` with `-y`, the `starkfi@latest` package, and the `mcp-start` command. Cursor and Claude Desktop are named client options, and the same server configuration can be used by compatible MCP clients.

Authentication begins through the CLI with an email login and one-time-password verification. After authentication, an agent can query balances or portfolios, request quotes, simulate transactions, and execute supported operations. Simulation is available for transaction previews before broadcast.

Starkfi is built on the Starkzap SDK and uses its wallet, paymaster, staking, DCA, transaction-builder, confidential-transfer, Troves, Endur LST, and ERC-20 modules. Gas configuration supports STRK, ETH, USDC, USDT, or DAI, or a developer-sponsored gas mode.

## Setup and configuration

The quickest setup uses the npm package without a local checkout:

```bash
npx starkfi@latest auth login user@example.com
npx starkfi@latest auth verify user@example.com <OTP_CODE>
npx starkfi@latest mcp-start
```

Add the following command definition to the MCP client configuration:

```json
{
  "mcpServers": {
    "starkfi": {
      "command": "npx",
      "args": ["-y", "starkfi@latest", "mcp-start"]
    }
  }
}
```

For development, clone the repository, install dependencies with `pnpm install`, and build with `pnpm build`. The project also provides `pnpm dev -- --help` for running through `tsx` with hot reload.

## Tools and capabilities

The tool groups include:

- Authentication and configuration status
- Wallet balances, portfolios, transfers, deployment, transaction status, and rebalancing
- Swap quotes, swaps, multi-swaps, and batch execution
- Validator, staking-pool, stake, unstake, rewards, and compounding operations
- Lending supply, withdrawal, borrowing, repayment, position closure, monitoring, and rebalancing
- DCA previews, creation, listing, and cancellation
- Confidential setup, funding, transfers, withdrawals, rollovers, and rage quits
- Troves strategy discovery, position queries, deposits, and withdrawals
- Liquid-staking positions, statistics, staking, redemption, and full exits

The CLI also includes 50 commands, while the repository packages additional multi-step agent workflows as skills.

_Full upstream README: https://allmcps.com/mcp/starkfi/readme_

