MCP.so
Sign In

Starknet MCP Server

@AbdelStark

Basic information

Category

Other

Transports

stdio

Author

AbdelStark

About Starknet MCP Server

Starknet MCP server.

Starknet MCP Server config

Add this server to your MCP-compatible client using the configuration below.

{
  "mcpServers": {
    "starknet-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@smithery/cli",
        "install",
        "@AbdelStark/starknet-mcp",
        "--client",
        "claude"
      ]
    }
  }
}

Starknet MCP Server tools

Tool list not available yet

This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.

Fetch the live tool list by running this server in a temporary sandbox using the button above.

Overview

What is 🌐 Starknet MCP Server?

A Model Context Protocol (MCP) server that enables AI models to interact with the Starknet blockchain. It provides tools for querying blockchain data, currently supporting retrieval of the latest block.

How to use 🌐 Starknet MCP Server?

Install via Smithery (npx -y @smithery/cli install @AbdelStark/starknet-mcp --client claude) or manually by cloning the repository and running npm install. Configure environment variables in a .env file, then start the server with npm run dev (development) or npm start (production). Use the get_block tool to retrieve the latest block.

Key features of 🌐 Starknet MCP Server

  • Retrieve the latest block from the Starknet blockchain.
  • Configuration via environment variables (RPC URL, log level, server mode).
  • Supports both stdio and SSE transport modes.
  • Built with TypeScript and the MCP TypeScript SDK.
  • Ready for extension with additional Starknet tools (future).

Use cases of 🌐 Starknet MCP Server

  • Query the latest Starknet block using an AI assistant.
  • Monitor Starknet blockchain activity through conversational interfaces.
  • Provide up‑to‑date block data as context for AI models.

Frequently asked questions

1

What are the prerequisites for running the server?

Node.js version 18 or higher is required. A Starknet RPC URL must be provided in the environment configuration.

2

How do I install the server?

You can install it via Smithery using `npx -y @smithery/cli install @AbdelStark/starknet-mcp --client claude` for Claude Desktop, or manually by cloning the repository and running `npm install`.

3

What tools are currently available?

The only available tool is `get_block`, which retrieves the latest block from the Starknet blockchain. Additional tools for smart contract interaction are planned as future enhancements.

4

What environment variables can I configure?

You can set `LOG_LEVEL`, `NODE_ENV`, `SERVER_MODE` (stdio or sse), `PORT` (for SSE mode), and `STAKNET_RPC_URL`. A `.env.example` file is provided for reference.

5

Is the project feature‑complete?

No. The repository includes a TODOs section listing plans to add tools for interacting with smart contracts on Starknet. The current feature set is limited to block retrieval.

Comments

More Other MCP servers