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
Release history Release notifications | RSS feed
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.2.1.tar.gz
(3.6 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file sugar_mcp-0.2.1.tar.gz.
File metadata
- Download URL: sugar_mcp-0.2.1.tar.gz
- Upload date:
- Size: 3.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.2 CPython/3.12.9 Darwin/24.6.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1d40df39e18607df7930cc4f31927f36c2a1d6c9327c311f92f0cfeadbad428d
|
|
| MD5 |
18159384d43cb0a89bc5d35a83ce0877
|
|
| BLAKE2b-256 |
e8b61b3c8e892b029ad8f6e3b49bc37831e0f3fec01f5bf3762ebec886c664a3
|
File details
Details for the file sugar_mcp-0.2.1-py3-none-any.whl.
File metadata
- Download URL: sugar_mcp-0.2.1-py3-none-any.whl
- Upload date:
- Size: 5.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.2 CPython/3.12.9 Darwin/24.6.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
587a81f03b80498d881faa0cd73ac3682dca6720e5400a36b18b98d8f1aeb8b6
|
|
| MD5 |
4d2d7a0841a4ef9fd7fab04cd966613f
|
|
| BLAKE2b-256 |
de998f616e80badbb256460c3a52664b361532510ef8136f1f4c627d202ded17
|