Snak MCP Server

Build powerful and secure agents powered by Starknet

Local serverstdioTypeScript

What is the Snak MCP server?

Snak MCP server exists for a simple reason — assistants are far more useful when they can act on Snak directly instead of describing what you should do. Build powerful and secure agents powered by Starknet.

What you get

What the assistant can call

Once Snak is connected, these are the calls the assistant has available:

  • Prerequisites — The Prerequisites tool exposed by this server
  • Installation — The Installation tool exposed by this server
  • Configuration — The Configuration tool exposed by this server

Setting it up

The server ships on npm as @snakagent, so your MCP client can launch it on demand — there is no separate build step. Add the server block to your client's configuration, restart it, and the tools register themselves.

Configuration and credentials

You will need 8 environment variables: API_KEY, STARKNET_PRIVATE_KEY, YOUR_STARKNET_PRIVATE_KEY, STARKNET_RPC_URL, YOUR_STARKNET_RPC_URL, OPENAI_API_KEY, YOUR_OPENAI_API_KEY, ANTHROPIC_API_KEY. The server will not start without them, which is usually why the tools fail to appear on a first run. Keep credentials in your client's env block or a secrets manager rather than in a file you might commit.

  • Starknet wallet (recommended: Argent X) - AI provider API key (Anthropic/OpenAI/Google Gemini/Ollama) - Docker and Docker compose installed - Node.js and pnpm installed

Choosing this one

This sits in the developer tooling group, where several servers overlap in what they claim to do but differ sharply once you actually set them up. Snak's toolset — Prerequisites, Installation, Configuration — is a fair guide to whether it matches your workflow. It is maintained by KasarLabs; worth a glance at recent repository activity before you build anything load-bearing on it.

This entry was verified against Snak's own documentation before publication; SyncDev keeps the directory reviewed rather than auto-generated.

Before you rely on it

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • Missing credentials fail quietly in some clients — if no tools show up, check the environment block first.
  • MCP clients confirm each tool call by default. Leave that on until you have watched what the snak mcp server does with a few real requests.

Available tools

ToolWhat it does
PrerequisitesThe Prerequisites tool exposed by this server.
InstallationThe Installation tool exposed by this server.
ConfigurationThe Configuration tool exposed by this server.

How to install the Snak MCP server

{
  "mcpServers": {
    "snak": {
      "command": "npx",
      "args": ["-y", "@snakagent"],
      "env": {
        "API_KEY": "your-value",
        "STARKNET_PRIVATE_KEY": "your-value",
        "YOUR_STARKNET_PRIVATE_KEY": "your-value",
        "STARKNET_RPC_URL": "your-value",
        "YOUR_STARKNET_RPC_URL": "your-value",
        "OPENAI_API_KEY": "your-value",
        "YOUR_OPENAI_API_KEY": "your-value",
        "ANTHROPIC_API_KEY": "your-value"
      }
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Configuration

  • Starknet wallet (recommended: Argent X) - AI provider API key (Anthropic/OpenAI/Google Gemini/Ollama) - Docker and Docker compose installed - Node.js and pnpm installed
VariableDescriptionRequired
API_KEYCredential the server authenticates with.Yes
STARKNET_PRIVATE_KEYCredential the server authenticates with.Yes
YOUR_STARKNET_PRIVATE_KEYCredential the server authenticates with.Yes
STARKNET_RPC_URLEndpoint or connection string the server talks to.Yes
YOUR_STARKNET_RPC_URLEndpoint or connection string the server talks to.Yes
OPENAI_API_KEYCredential the server authenticates with.Yes
YOUR_OPENAI_API_KEYCredential the server authenticates with.Yes
ANTHROPIC_API_KEYCredential the server authenticates with.Yes

Example prompts to try

  • Use Snak to Prerequisites.
  • Use Snak to Installation.
  • Use Snak to Configuration.

Frequently asked questions

It connects Snak to MCP-compatible AI assistants such as Claude and Cursor, exposing 3 tools (Prerequisites, Installation, Configuration) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Snak directly.