Track MCP LogoTrack MCP
Track MCP LogoTrack MCP

The world's largest repository of Model Context Protocol servers. Discover, explore, and submit MCP tools.

Product

  • Categories
  • Top MCP
  • New & Updated
  • Submit MCP

Company

  • About

Legal

  • Privacy Policy
  • Terms of Service
  • Cookie Policy

© 2026 TrackMCP. All rights reserved.

Built with ❤️ by Krishna Goyal

    Cairo Coder Mcp

    13 stars
    JavaScript
    Updated Sep 18, 2025

    Table of Contents

    • ⚠️ Repository Moved / Deprecated
    • Quick Start
    • Install via Claude Code
    • Manual Usage
    • Configuration
    • Mode 1: Public Cairo Coder API (Default)
    • Mode 2: Local/Custom Endpoint
    • Available Tools
    • assist_with_cairo
    • What You Can Do
    • Tips for Better Results
    • Development
    • Prerequisites
    • Local Installation
    • Available Scripts
    • License
    • Support
    • Contributing

    Table of Contents

    • ⚠️ Repository Moved / Deprecated
    • Quick Start
    • Install via Claude Code
    • Manual Usage
    • Configuration
    • Mode 1: Public Cairo Coder API (Default)
    • Mode 2: Local/Custom Endpoint
    • Available Tools
    • assist_with_cairo
    • What You Can Do
    • Tips for Better Results
    • Development
    • Prerequisites
    • Local Installation
    • Available Scripts
    • License
    • Support
    • Contributing

    Documentation

    Cairo Coder MCP Server

    A Model Context Protocol (MCP) server for Cairo and Starknet development assistance via the Cairo Coder API.

    ⚠️ Repository Moved / Deprecated

    This project now lives in the **Ask Starknet monorepo**

    The npm package remains published **here**

    This repo will not receive further updates.

    Quick Start

    Install via Claude Code

    bash
    # Install Cairo Coder MCP
    claude mcp add cairo-coder -e CAIRO_CODER_API_KEY=YOUR-API-KEY-HERE -- npx -y @kasarlabs/cairo-coder-mcp

    Note: Replace YOUR-API-KEY-HERE with your actual API key from cairo-coder.com

    Manual Usage

    Use this MCP server directly with npx:

    bash
    npx -y @kasarlabs/cairo-coder-mcp

    Configuration

    The server supports two modes of operation:

    Mode 1: Public Cairo Coder API (Default)

    Use the official Cairo Coder API with your API key.

    Environment Variables:

    • CAIRO_CODER_API_KEY: Your Cairo Coder API key (required)

    MCP Client Setup:

    json
    {
      "mcpServers": {
        "cairo-coder": {
          "command": "npx",
          "args": ["-y", "@kasarlabs/cairo-coder-mcp"],
          "env": {
            "CAIRO_CODER_API_KEY": "your-api-key-here"
          }
        }
      }
    }

    Mode 2: Local/Custom Endpoint

    Use a local or custom Cairo Coder API endpoint (no API key required).

    Environment Variables:

    • CAIRO_CODER_API_ENDPOINT: Your local endpoint URL (e.g., "http://localhost:8000")

    MCP Client Setup:

    json
    {
      "mcpServers": {
        "cairo-coder": {
          "command": "npx",
          "args": ["-y", "@kasarlabs/cairo-coder-mcp"],
          "env": {
            "CAIRO_CODER_API_ENDPOINT": "http://localhost:8000"
          }
        }
      }
    }

    Note: When using CAIRO_CODER_API_ENDPOINT, the server automatically switches to local mode and no API key is required or used.

    Available Tools

    assist_with_cairo

    Get help with Cairo and Starknet development tasks.

    Parameters:

    • query (string, required): Your Cairo/Starknet development question
    • context (string, optional): Additional context or code snippets

    Examples:

    typescript
    // Simple request
    {
      "query": "Write a simple Cairo contract that implements a counter"
    }
    
    // With context
    {
      "query": "How can I optimize this contract?",
      "context": "#[starknet::contract]\nmod Counter {\n    // existing code here\n}"
    }

    What You Can Do

    • Write Cairo code: Generate smart contracts and Cairo code
    • Refactor code: Improve and optimize existing code
    • Implement features: Complete TODOs and implement specific functionality
    • Learn Starknet: Get contextual information about the Starknet ecosystem
    • Best practices: Receive advice based on Cairo/Starknet documentation

    Tips for Better Results

    • Use specific queries (e.g., "Using OpenZeppelin to build an ERC20" instead of just "ERC20")
    • Include relevant code snippets when working with existing code
    • Provide necessary context for more accurate responses

    Development

    Prerequisites

    • Node.js >= 18
    • npm or yarn

    Local Installation

    bash
    git clone 
    cd cairo-coder-mcp
    npm install

    Available Scripts

    bash
    npm run build    # Build the project
    npm run dev      # Start in development mode
    npm start        # Start in production mode

    License

    MIT

    Support

    For issues and questions:

    • GitHub Issues: Create an issue
    • MCP Documentation: Model Context Protocol

    Contributing

    Contributions are welcome! Please check the contribution guidelines before submitting a PR.

    Similar MCP

    Based on tags & features

    • WA

      Waha Mcp

      JavaScript00
    • WI

      Wizzy Mcp Tmdb

      JavaScript00
    • RI

      Rijksmuseum Mcp

      JavaScript·
      59
    • MC

      Mcp Server Playwright

      JavaScript·
      262

    Trending MCP

    Most active this week

    • PL

      Playwright Mcp

      TypeScript·
      22.1k
    • SE

      Serena

      Python·
      14.5k
    • MC

      Mcp Playwright

      TypeScript·
      4.9k
    • MC

      Mcp Server Cloudflare

      TypeScript·
      3.0k
    View All MCP Servers

    Similar MCP

    Based on tags & features

    • WA

      Waha Mcp

      JavaScript00
    • WI

      Wizzy Mcp Tmdb

      JavaScript00
    • RI

      Rijksmuseum Mcp

      JavaScript·
      59
    • MC

      Mcp Server Playwright

      JavaScript·
      262

    Trending MCP

    Most active this week

    • PL

      Playwright Mcp

      TypeScript·
      22.1k
    • SE

      Serena

      Python·
      14.5k
    • MC

      Mcp Playwright

      TypeScript·
      4.9k
    • MC

      Mcp Server Cloudflare

      TypeScript·
      3.0k