# mcpdotdirect/starknet-mcp-server [Health: Active]

**Category:** 💰 Finance & Fintech  
**Repository:** https://github.com/mcpdotdirect/starknet-mcp-server  
**GitHub Stars:** 7  
**npm Downloads (last month):** 106  
**Views:** 1  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/mcpdotdirect-starknet-mcp-server

## Description
Comprehensive Starknet blockchain integration with support for native tokens (ETH, STRK), smart contracts, StarknetID resolution, and token transfers.

## Tools
Capabilities this server exposes over MCP:

- **get_starknet_chain_info** — Get information about a Starknet network
- **get_supported_starknet_networks** — Get a list of supported Starknet networks
- **get_starknet_eth_balance** — Get the ETH balance for a Starknet address or Starknet ID
- **get_starknet_token_balance** — Get the token balance for a Starknet address or Starknet ID
- **get_starknet_strk_balance** — Get the STRK token balance for a Starknet address or Starknet ID
- **get_starknet_native_balances** — Get all native token balances (ETH and STRK) for a Starknet address or Starknet ID
- **resolve_starknet_name** — Get the Starknet ID for an address
- **resolve_starknet_address** — Get the address for a Starknet ID
- **get_starknet_profile** — Get the full Starknet ID profile for an address or Starknet ID
- **validate_starknet_domain** — Check if a string is a valid Starknet ID
- **get_starknet_block** — Get information about a specific block
- **get_starknet_block_transactions** — Get transactions in a specific block
- **get_starknet_transaction** — Get details about a transaction
- **get_starknet_transaction_receipt** — Get transaction receipt
- **call_starknet_contract** — Call a read-only function on a contract
- **get_starknet_contract_class** — Get the class (ABI and other information) of a contract
- **get_starknet_token_info** — Get information about a token
- **check_starknet_nft_ownership** — Check if an address owns a specific NFT
- **get_starknet_nft_balance** — Get the number of NFTs owned by an address for a specific collection
- **get_starknet_token_supply** — Get the total supply of a token
- **check_starknet_transaction_status** — Check if a transaction is confirmed (finalized)
- **transfer_starknet_eth** — Transfer ETH from one account to another
- **transfer_starknet_strk** — Transfer STRK from one account to another
- **transfer_starknet_token** — Transfer ERC20 tokens from one account to another
- **execute_starknet_contract** — Execute a contract call (write operation)

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

```json
"mcpServers": {
  "starknet-mcp-server": {
    "command": "npx",
    "args": ["-y","@mcpdotdirect/starknet-mcp-server"]
  }
}
```

## Documentation

## What mcpdotdirect/starknet-mcp-server MCP server does

The mcpdotdirect/starknet-mcp-server MCP server gives MCP-compatible AI clients an interface to Starknet Mainnet and Sepolia. It covers both blockchain inspection and account or contract operations, so it can support tasks ranging from checking a wallet balance to submitting a token transfer.

The server accepts Starknet addresses wherever supported and can also resolve Starknet IDs. This allows balance, profile, NFT, and related queries to use either a hexadecimal address or a human-readable Starknet identity.

## How it works

The package can run as a stdio process for desktop, editor, and command-line MCP clients. It also has an HTTP mode, which listens on port 3000 by default and exposes REST and Server-Sent Events endpoints. The default host is `0.0.0.0`, and the default network is Mainnet.

MCP clients discover the available operations as tools. Read operations query chain state, while write operations submit transfers or contract calls and can check transaction status or receipts. The server is implemented with Starknet.js and requires either Bun 1.0 or later, or Node.js 18 or later, according to the project prerequisites.

## Setup and configuration

You can launch the mcpdotdirect/starknet-mcp-server MCP server without a local package install using `npx`:

```bash
npx @mcpdotdirect/starknet-mcp-server
```

Append `http` to start HTTP mode:

```bash
npx @mcpdotdirect/starknet-mcp-server http
```

It can also be installed globally with npm, added to a project with npm, Yarn, or pnpm, or run from a cloned repository. There are no documented environment variables for changing the defaults. Network settings are defined in `src/core/chains.ts`; HTTP server settings are in `src/server/http-server.ts`.

## Tools and capabilities

Available operations include:

- Inspect supported networks, chain information, blocks, block transactions, transactions, receipts, and confirmation status.
- Read ETH, STRK, ERC20, and combined native-token balances.
- Resolve Starknet IDs and addresses, retrieve profiles, and validate Starknet domains.
- Read token metadata and supply, check NFT ownership, and query NFT balances.
- Call read-only smart-contract functions and inspect contract classes, including ABI information.
- Transfer ETH, STRK, and ERC20 tokens, or execute a write operation on a contract.

The transfer and contract-execution tools are write operations. They should be used with the account and transaction context appropriate for the selected Starknet network.

## Limitations and notes

The mcpdotdirect/starknet-mcp-server MCP server documents only Mainnet and Sepolia as supported networks. Its default configuration is compiled into the application rather than exposed through listed environment variables, so changing the default network, host, or port requires editing the referenced source files.

HTTP mode defaults to a host accessible from any network interface. Deployments that do not need that exposure should account for the documented `0.0.0.0` default.

_Full upstream README: https://allmcps.com/mcp/mcpdotdirect-starknet-mcp-server/readme_

