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.3.0.tar.gz
(4.5 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.3.0.tar.gz.
File metadata
- Download URL: sugar_mcp-0.3.0.tar.gz
- Upload date:
- Size: 4.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bbb4d58a08bc9dc95c7e14a01b5f0f8979cf448a0adee07d932bcfd1dc4be108
|
|
| MD5 |
f6a11183d16052e328cda2a0f53b3f84
|
|
| BLAKE2b-256 |
94f591ffacbea58b1741e50986b6581f1b108f1f48876c345d1a9a9810aad0c6
|
File details
Details for the file sugar_mcp-0.3.0-py3-none-any.whl.
File metadata
- Download URL: sugar_mcp-0.3.0-py3-none-any.whl
- Upload date:
- Size: 6.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ea2c9a7db2a87b47e513ac1093ec0e0881d1c5f89559db195e2b2ac1e61bd5aa
|
|
| MD5 |
d1ad28ba1a81d283becdd9098d88b320
|
|
| BLAKE2b-256 |
845cbe5c340a22ffec3d5897df598fe2e47d5bacf0d96ba8f887dd575cb9bb69
|