Arcontextify
Convert ARC-56 smart contract specifications to MCP servers.
Convert ARC-56 smart contracts to MCP servers for AI agent integration.
Disclaimer: this is an experimental proof of concept tool. It is not intended for production use and may contain bugs or incomplete features.
Features
- ๐ Converts ARC-56 specs to MCP servers
- ๐ก๏ธ Secure environment-based configuration
- ๐ฏ Call type filtering (readonly/write-only/both)
- ๐งช Simulation mode for safe testing
- โก AlgoKit Utils integration
- ๐ฆ UV-based project generation
Installation
pipx install arcontextify
# or
uv tool install arcontextify
Usage
# Generate MCP server
arcontextify contract.arc56.json
# Readonly calls only (no private key needed)
arcontextify contract.arc56.json --call-types readonly
# Write calls only
arcontextify contract.arc56.json --call-types write-only
# Custom output directory
arcontextify contract.arc56.json --output-dir ./servers
Generated Server
Each server includes:
Environment Variables
export ALGORAND_ALGOD_TOKEN="your-token"
export ALGORAND_ALGOD_SERVER="https://testnet-api.algonode.cloud"
export ALGORAND_APP_ID="123456"
export ALGORAND_DELEGATED_PRIVATE_KEY="your-key" # Not needed for readonly
Claude Desktop Config
{
"mcpServers": {
"contract_mcp": {
"command": "uv",
"args": ["run", "python", "-m", "src.contract_mcp"],
"cwd": "/path/to/contract_mcp",
"env": {
"ALGORAND_ALGOD_TOKEN": "your-token",
"ALGORAND_ALGOD_SERVER": "https://testnet-api.algonode.cloud",
"ALGORAND_APP_ID": "123456"
}
}
}
}
Available Tools
verify_environment_setup()- Check configurationget_connection_info()- Connection statusget_application_state()- Global stateget_account_local_state(address)- Local state- Contract methods with simulation support
Security
- Environment-based secrets (no hardcoded keys)
- Dummy accounts for readonly operations
- Transaction simulation for safe testing
- Address validation and input sanitization
Requirements
- Python 3.10+
- UV package manager
- AlgoKit Utils 2.0+
License
MIT
Related Servers
Scout Monitoring MCP
sponsorPut performance and error data directly in the hands of your AI assistant.
Alpha Vantage MCP Server
sponsorAccess financial market data: realtime & historical stock, ETF, options, forex, crypto, commodities, fundamentals, technical indicators, & more
Software Planning Tool
A tool for structured software development planning, helping to break down projects into tasks and track progress.
Elementor WordPress MCP Server
An MCP server for WordPress and Elementor, enabling AI assistants to manage content and build pages.
KiCad MCP Server
An MCP server for KiCad providing project management, PCB design analysis, BOM management, and design rule checking.
Revit MCP
Interact with Autodesk Revit using the MCP protocol. This server provides AI tools and requires the corresponding Revit plugin to function.
Intervals.icu
Connects to the Intervals.icu API to retrieve activities, events, and wellness data.
Ant Design
Access comprehensive documentation for Ant Design components, including examples, API references, and best practices.
Clix MCP Server
Clix MCP Server for assisting Clix SDK/API integrations with semantic search across Clix docs and SDK source (iOS, Android, Flutter, React Native).
TradingCyborg MCP Server
A professional trading server with over 26 tools for Bybit API integration.
Clojure MCP
An MCP server providing a complete toolset for Clojure development, requiring a running nREPL server.
Codebase MCP Server
An intelligent codebase search engine that transforms local codebases into a natural language queryable knowledge base.