🌐 Starknet MCP Server

by AbdelStark

340 downloads
Not rated
GitHub

About

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.

Details

Author
AbdelStark
Downloads
340
Categories
Other, AI

- 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).

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name 🌐 Starknet MCP Server
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

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.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

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

McpServers

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

🌐 Starknet MCP Server

A Model Context Protocol (MCP) server that enables AI models to interact with Starknet.

smithery badge
TypeScript
MCP
Starknet

πŸš€ Features

- πŸ“ Get the latest block from Starknet

πŸ‘·β€β™‚οΈ TODOs

- [ ] Add tools to be able to interact with smart contracts on Starknet

πŸ“‹ Prerequisites

- Node.js 18+

πŸ› οΈ Installation

Installing via Smithery

To install Starknet MCP Server for Claude Desktop automatically via Smithery:

npx -y @smithery/cli install @AbdelStark/starknet-mcp --client claude

Manual Installation

1. Clone the repository:
git clone https://github.com/AbdelStark/starknet-mcp
cd starknet-mcp

1. Install dependencies:

npm install

1. Create a .env file:

> πŸ’‘ You can copy the .env.example file and modify it as needed.

```env

No reviews yet β€” be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.