SparkMango

SparkMango

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.

-
security - not tested
-
license - not tested
-
quality - not tested

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

A Model Context Protocol server that converts Solidity bytecode into functional server implementations, allowing interaction with blockchain contracts through a RESTful API.

  1. Overview
    1. Features
      1. Installation
        1. Usage
          1. Development
            1. Setup
            2. Testing
          2. Documentation
            1. License
              1. Contributing
                1. Project Status

                  Related MCP Servers

                  • A
                    security
                    F
                    license
                    A
                    quality
                    A Model Context Protocol server implementation for interacting with Salesforce through its REST API.
                    Last updated -
                    4
                    10
                    TypeScript
                  • A
                    security
                    A
                    license
                    A
                    quality
                    A Model Context Protocol server that provides tools for code modification and generation via Large Language Models, allowing users to create, modify, rewrite, and delete files using structured XML instructions.
                    Last updated -
                    12
                    Python
                    MIT License
                    • Linux
                    • Apple
                  • -
                    security
                    A
                    license
                    -
                    quality
                    A Model Context Protocol server that enables interaction with Foundry tools through natural language, allowing users to create projects, build contracts, run tests, and manage Ethereum development environments.
                    Last updated -
                    Python
                    MIT License
                  • A
                    security
                    A
                    license
                    A
                    quality
                    A Model Context Protocol server that enables interaction with Infisical APIs for secret management, allowing users to create, update, delete, and list secrets through function calling.
                    Last updated -
                    9
                    33
                    16
                    JavaScript
                    Apache 2.0

                  View all related MCP servers

                  ID: ym9lzdhzfl