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.11.tar.gz (4.6 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.11-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: sugar_mcp-0.3.11.tar.gz
  • Upload date:
  • Size: 4.6 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.11.tar.gz
Algorithm Hash digest
SHA256 1c58f1a2d129ebf323c5531d948616cb80d91ce6bb0f03636ff0bd0a03bc4ff7
MD5 20c64a00811fc44fba5b8e55fe087e80
BLAKE2b-256 4fe04c0ba899dcf31b6e33ae57c229c3f7f60bae8d735b8782c27e2572ab7fe3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sugar_mcp-0.3.11-py3-none-any.whl
  • Upload date:
  • Size: 5.9 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.11-py3-none-any.whl
Algorithm Hash digest
SHA256 b10df3b8922f147a89624fe1d0c4fa29fea736f85e55f574070f2b3c62f0fd89
MD5 d4bbb61a646d77ec9236df8c879a77f8
BLAKE2b-256 aa35fabd3f42ec7c92f27c671b533da7f3787b615476c249db0e209d4290ea65

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