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.4.tar.gz
(4.4 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.4.tar.gz.
File metadata
- Download URL: sugar_mcp-0.3.4.tar.gz
- Upload date:
- Size: 4.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ca7686e7c9a0852486b1544a20f161f62ab34d810ed0596d6cdbd0b657881510
|
|
| MD5 |
c80fa075c8f04e398a3e4755004b7534
|
|
| BLAKE2b-256 |
7d23b52c657409cb9a959a01308cef7b380014a5bc2dfbaf2714607268f3bf44
|
File details
Details for the file sugar_mcp-0.3.4-py3-none-any.whl.
File metadata
- Download URL: sugar_mcp-0.3.4-py3-none-any.whl
- Upload date:
- Size: 5.6 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 |
65c04a2961c325c67e9d21c6b856390469635702e8a2ef067728399dea873318
|
|
| MD5 |
bf2f3b2e23dfb095ee1568b5df1f8926
|
|
| BLAKE2b-256 |
166735d243eb32c9f1d77729ac55ca3db1c8905938a478f89c4820cdec8abc4f
|