Skip to main content
Glama

Cairo Coder

by KasarLabs

assist_with_cairo

Analyze, write, and refactor Cairo code and Starknet smart contracts using AI-powered assistance. Understand Starknet's ecosystem and implement best practices for efficient development.

Instructions

Provides assistance with Cairo and Starknet development tasks through AI-powered analysis.

Call this tool when the user's request involves writing, refactoring, implementing from scratch, or completing specific parts (like TODOs) of Cairo code or smart contracts.

The tool analyzes the query and context against Cairo/Starknet best practices and documentation, returning helpful information to generate accurate code or explanations.

This tool should also be called to get a better understanding of Starknet's ecosystem, features, and capacities.

Input Schema

NameRequiredDescriptionDefault
codeSnippetsNoOptional: Code snippets for context. This will help the tool understand the user's intent and provide more accurate answers. Provide as much relevant code as possible to fit the user's request.
historyNoOptional: The preceding conversation history. This can help the tool understand the context of the discussion and provide more accurate answers.
queryYesThe user's question regarding Cairo and Starknet development. Try to be as specific as possible for better results (e.g., 'Using OpenZeppelin to build an ERC20' rather than just 'ERC20').

Input Schema (JSON Schema)

{ "properties": { "codeSnippets": { "description": "Optional: Code snippets for context. This will help the tool understand the user's intent and provide more accurate answers. Provide as much relevant code as possible to fit the user's request.", "items": { "type": "string" }, "type": "array" }, "history": { "description": "Optional: The preceding conversation history. This can help the tool understand the context of the discussion and provide more accurate answers.", "items": { "type": "string" }, "type": "array" }, "query": { "description": "The user's question regarding Cairo and Starknet development. Try to be as specific as possible for better results (e.g., 'Using OpenZeppelin to build an ERC20' rather than just 'ERC20').", "type": "string" } }, "required": [ "query" ], "type": "object" }

You must be authenticated.

Other Tools from Cairo Coder

Related Tools

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/KasarLabs/cairo-coder-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server