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.1.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.1.tar.gz.
File metadata
- Download URL: sugar_mcp-0.3.1.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 |
3fbce7a64d34198db669820c75c8700235b4a173be76500db7d71ffc0211801a
|
|
| MD5 |
2fb747a0dfafdb0d9f6dd6ed5ab84990
|
|
| BLAKE2b-256 |
b31e6e482f1ff2d6bb331177a4f1888c4399efde779b2ad7ad23871901d633eb
|
File details
Details for the file sugar_mcp-0.3.1-py3-none-any.whl.
File metadata
- Download URL: sugar_mcp-0.3.1-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 |
463541b9c92fe2a31744d934a28b3e2f49a11dfe2052e0cc3dec4c713d950b57
|
|
| MD5 |
08738814e5ba9e5dcc2799767eeb1389
|
|
| BLAKE2b-256 |
e69fc6f038f3e187b2b2781202ebd7f2a006169c135c7616c275f5e7f9fe5174
|