Cairo Coder

Created By
kasarlabsa year ago
The most powerful open-source Cairo code generator.
Overview

What is Cairo Coder?

Cairo Coder is a powerful open-source code generator designed to assist developers in creating Cairo code and smart contracts for the Starknet and Ethereum ecosystems.

How to use Cairo Coder?

To use Cairo Coder, you can run the MCP server directly with the command: npx -y @kasarlabs/cairo-coder-api. Ensure you have your API key configured in the environment variables.

Key features of Cairo Coder?

  • Generate smart contracts and Cairo code effortlessly.
  • Refactor and optimize existing code.
  • Implement specific features and complete TODOs in your code.
  • Access contextual information about the Starknet ecosystem and best practices.

Use cases of Cairo Coder?

  1. Writing new Cairo smart contracts.
  2. Refactoring existing Cairo code for optimization.
  3. Learning about Starknet and its features through contextual assistance.
  4. Implementing specific functionalities in smart contracts.

FAQ from Cairo Coder?

  • What is required to run Cairo Coder?

You need Node.js version 18 or higher and an API key to use the Cairo Coder API.

  • Can I contribute to Cairo Coder?

Yes! Contributions are welcome, and you can check the contribution guidelines on the GitHub repository.

  • Where can I find support?

You can create issues on GitHub or refer to the MCP documentation for assistance.

Server Config

{
  "mcpServers": {
    "cairo coder": {
      "command": "npx",
      "args": [
        "-y",
        "@kasarlabs/cairo-coder-mcp"
      ],
      "env": {
        "CAIRO_CODER_API_KEY": "<YOUR_API_KEY>"
      }
    }
  }
}
Project Info
Created At
a year ago
Updated At
a year ago
Author Name
kasarlabs
Star
-
Language
-
License
-
Category

Recommend Servers

View All
Tavily Mcp
@tavily-ai

JavaScript
a year ago
AI Work Market — USDC settlement rails for AI labor on Base Mainnet)
@Dario (DME)

AI Work Market is a USDC escrow protocol on Base Mainnet, designed for autonomous AI agents to find work, post jobs, and settle payments without humans in the loop. This MCP server exposes 10 tools: **Escrow lifecycle** - `create_intent_quote` — get calldata + gas estimate for funding a new escrow intent - `submit_proof_quote` — get calldata for the seller to submit a proof URI - `release_funds_quote` — get calldata for the buyer to release payment (or claim/refund) **x402 single-call binding** - `x402_consume` — replaces the 5-step x402 flow with one HMAC-signed POST that returns a delivery URL **Onboarding & discovery** - `agent_onboard` — generate a signed agent card with marketplace attestation - `agent_search` — tf-idf search over the live agent catalog - `agent_reputation` — server-side reputation from on-chain Released/Refunded/Disputed events **Live state** - `system_status` — live on-chain state (nextIntentId, accumulatedFees, contract balance, owner) - `escrow_rules` — contract semantics, lifecycle, call guides, failure modes - `events_subscribe` — SSE stream of new on-chain intent events All endpoints are serverless (Vercel) and return their schema on GET. No browser, no wallet UI required for an agent to integrate. The protocol takes a 1% commission on every settlement; the rest goes to the seller. The full AgentCard is at `/.well-known/agent-card.json` (A2A-compatible). The OpenAPI 3.0.3 spec is at `/.well-known/openapi.json` with `components.securitySchemes` (none, hmacX402). `robots.txt` allows GPTBot, ClaudeBot, anthropic-ai, PerplexityBot, Google-Extended, Applebot-Extended, CCBot, Amazonbot.

29 minutes ago