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
Postman Agent Generator
An MCP server generated by Postman Agent Generator for automated API tools.
MCP Server Starter
A starter project for building MCP servers with TypeScript and Bun.
Runway API
Generate images and videos using the Runway API.
Slowtime MCP Server
A server for secure time-based operations, featuring timing attack protection and timelock encryption.
BitFactory MCP
Simplifies and standardizes interactions with the BitFactory API.
MCP Agentic AI Crash Course with Python
A comprehensive crash course on the Model Context Protocol (MCP), covering everything from basic concepts to building production-ready MCP servers and clients in Python.
Remote MCP Server (Authless)
A remote MCP server deployable on Cloudflare Workers without authentication.
Kafka MCP
A natural language interface to manage Apache Kafka operations.
gget-mcp
An MCP server for the gget bioinformatics library, enabling standardized access to genomics tools and databases.
Ansible & OpenShift Automation
Provides tools to interact with the Ansible Automation Platform API for automation tasks.