MCP ExplorerExplorer

Sparkmango

@ArjunBhuptanion 10 months ago
3 MIT
FreeCommunity
AI Systems
Sparkmango lets agents generate and use MCP servers from contract ABIs

Overview

What is Sparkmango

Sparkmango is a Model Context Protocol (MCP) server that converts Solidity bytecode into a functional server implementation, bridging the gap between Solidity smart contracts and Python-based server applications.

Use cases

Use cases for Sparkmango include building decentralized applications (dApps), creating APIs for blockchain services, and developing testing environments for smart contracts.

How to use

To use Sparkmango, generate a server from a Solidity contract using the command mcp-server generate --contract path/to/contract.json --output output_directory, and then start the server with mcp-server start --port 8000.

Key features

Key features of Sparkmango include the conversion of Solidity contracts to Python implementations, automatic server generation, state management for contract variables, RESTful API endpoints, event handling, and a comprehensive testing framework.

Where to use

Sparkmango can be used in blockchain development, particularly for applications that require interaction with Ethereum smart contracts through a Python-based server.

Content

SparkMango

SparkMango Logo

A Model Context Protocol (MCP) server that converts Solidity bytecode into a functional server implementation.

Overview

SparkMango provides a bridge between Solidity smart contracts and Python-based server applications. It automatically generates server implementations from Solidity contracts, making it easier to interact with blockchain contracts through a RESTful API.

Features

  • Convert Solidity contracts to Python implementations
  • Automatic server generation
  • State management for contract variables
  • RESTful API endpoints
  • Event handling
  • Comprehensive testing framework

Installation

pip install mcp-server

Usage

  1. Generate a server from a Solidity contract:
mcp-server generate --contract path/to/contract.json --output output_directory
  1. Start the server:
mcp-server start --port 8000

Development

Setup

  1. Clone the repository:
git clone https://github.com/ArjunBhuptani/sparkmango.git
cd sparkmango
  1. Install dependencies:
pip install -r requirements.txt
pip install -r requirements-test.txt

Testing

Run the test suite:

python -m pytest

Documentation

For detailed documentation, please refer to the docs directory.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

Project Status

For current project status and upcoming features, see PROJECT_STATUS.md.

Tools

No tools

Comments

Recommend MCP Servers

View All MCP Servers