Skip to main content

No project description provided

Project description

Sugar MCP Server

This is an MCP (Model Context Protocol) server to interact with Sugar
Sugar makes Velodrome and Aerodrome devs life sweeter 🍭

Components

Environment Variables

  • SUGAR_PK: The public key for the SUGAR service.
  • SUGAR_RPC_URI_10: The RPC URI for the SUGAR service.

Tools

  • get_all_tokens: Retrieve all tokens supported by the protocol.
  • get_prices: Retrieve prices for a list of tokens in terms of the stable token.
  • get_pools: Retrieve all liquidity pools or swap pools depending on the flag.
  • get_pool_by_address: Retrieve detailed pool information by contract address.
  • get_pools_for_swaps: Retrieve all pools suitable for swaps and path finding.
  • get_latest_pool_epochs: Retrieve the latest epoch data for all pools.
  • get_pool_epochs: Retrieve historical epoch data for a given liquidity pool.
  • get_quote: Retrieve the best quote for swapping a given amount from one token to another.
  • swap: Execute a token swap transaction.

Usage

{
  "mcpServers": {
    "sugar-mcp": {
      "env": {
        "SUGAR_PK": "xxx",
        "SUGAR_RPC_URI_10": "optionally, the RPC URI for the SUGAR service"
      },
      "command": "uvx",
      "args": [
        "sugar-mcp"
      ]
    }
  }
}

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sugar_mcp-0.3.12.tar.gz (6.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sugar_mcp-0.3.12-py3-none-any.whl (7.4 kB view details)

Uploaded Python 3

File details

Details for the file sugar_mcp-0.3.12.tar.gz.

File metadata

  • Download URL: sugar_mcp-0.3.12.tar.gz
  • Upload date:
  • Size: 6.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.0

File hashes

Hashes for sugar_mcp-0.3.12.tar.gz
Algorithm Hash digest
SHA256 ea2533a3a76291e25051308a8a881098a7cd18537d92d18917fbeb6599b892ce
MD5 9f662ed2b3d85031ccc382a2b30b19ac
BLAKE2b-256 ca246f82303a5c742da5d2a7a3421c8a7dda58172400cb4f894a00bb326a9382

See more details on using hashes here.

File details

Details for the file sugar_mcp-0.3.12-py3-none-any.whl.

File metadata

  • Download URL: sugar_mcp-0.3.12-py3-none-any.whl
  • Upload date:
  • Size: 7.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.0

File hashes

Hashes for sugar_mcp-0.3.12-py3-none-any.whl
Algorithm Hash digest
SHA256 bb2aef4319e81793f6a2fb747866ff02cecc4b4f9561a8508201c9b16a78a981
MD5 68c243211fd5d84b8b4bc2caf138a986
BLAKE2b-256 4d4f62b00eeead94fd4891ebdfae86758c9a9eed2cb01118011af95daec9fcb3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page