🌐 Starknet MCP Server

by AbdelStark

340 downloads Not rated yet
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.

Explore

- 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

- Node.js 18+

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

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

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.


NODE_ENV=development

bash
npm test
```

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"
        ]
    }
}

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.