iwym-mcp
stdio MCP server for iwym catalog maintenance (assets / instruments / asset_tokens) and radar opportunity queries (spreads / funding_opps). Wraps the operator HTTP API. Does not place orders or touch auto_exec.
Migrated from mcp/iwym-assets (Cursor key iwym-assets → iwym).
Requirements
- Python 3.11+
- uv
- Running iwym API (
IWYM_API_BASE_URL) - Operator API token from Settings → System → OPERATOR API →
IWYM_OPERATOR_TOKEN
Connect (Cursor)
{
"mcpServers": {
"iwym": {
"command": "uv",
"args": [
"--directory",
"/ABS/PATH/iwym-next/mcp/iwym",
"run",
"iwym-mcp"
],
"env": {
"IWYM_API_BASE_URL": "http://127.0.0.1:8000",
"IWYM_OPERATOR_TOKEN": "paste-from-settings-system-operator-api"
}
}
}
}
IWYM_API_BASE_URL is the API origin only (no /api/v1 suffix).
cd mcp/iwym
uv sync
export IWYM_API_BASE_URL=http://127.0.0.1:8000
export IWYM_OPERATOR_TOKEN=paste-from-settings-system-operator-api
uv run iwym-mcp
Tools
Assets
| Tool | HTTP | Notes |
|---|---|---|
list_assets |
GET /api/v1/assets |
Flat array; includes disabled; each row has tokens[] |
get_asset |
GET /api/v1/assets/{id} |
Includes tokens[] — no separate list-tokens tool |
catalog_diff |
GET /api/v1/assets/catalog-diffs |
venue optional; include_orphans default false |
create_or_upsert_asset |
PUT /api/v1/assets/{id} |
Tool default enabled=false; does not rewrite existing scalars |
update_asset |
PATCH /api/v1/assets/{id} |
kind / enabled / display_symbol / oracle / anchor |
set_enabled |
PATCH /api/v1/assets/{id} |
Radar whitelist toggle only |
soft_disable_asset |
DELETE /api/v1/assets/{id} |
enabled=false; keeps row |
Asset kind: spot_crypto · stable · wrapped · leveraged_token · equity.
Instruments
| Tool | HTTP |
|---|---|
list_asset_instruments |
GET /api/v1/assets/{id}/instruments |
search_instruments |
GET /api/v1/exchanges/instruments/search |
link_instrument |
PATCH /api/v1/exchanges/instruments/{id}/link |
sync_instruments |
POST /api/v1/exchanges/instruments/sync (hits upstream; heavy) |
Tokens
| Tool | HTTP |
|---|---|
create_asset_token |
POST /api/v1/assets/{id}/tokens |
update_asset_token |
PATCH /api/v1/assets/{id}/tokens/{chain}/{address} |
delete_asset_token |
DELETE … |
reassign_asset_token |
POST /api/v1/assets/tokens/reassign |
migrate_asset_token |
POST /api/v1/assets/tokens/migrate |
lookup_asset_tokens |
POST /api/v1/assets/token-lookups |
Token write fields: chain_key · address · symbol · decimals · status (trading|offline) · enabled.
Radar opportunities (read-only)
| Tool | HTTP |
|---|---|
list_spreads |
GET /api/v1/radar/spreads |
list_funding_opps |
GET /api/v1/radar/funding-opps |
Default limit=100, max 300. Filters mirror the Console Radar boards (kind/mode, q, venues, sort, …).
Suggested catalog loop
catalog_diff(venue="binance").- For one
missingentry: check aliases / leverage / equity before writing. create_or_upsert_asset(..., enabled=false).- Add chain contracts with
create_asset_tokenwhen needed; link CEX rows via Sync orlink_instrument. - Enable with
set_enabledonly when the human wants it on the Radar scan set.
Security
- Never commit
IWYM_OPERATOR_TOKEN. - Token has operator powers (whitelist / instruments / radar reads); not a trading key.
Metadata
Release files for iwym-mcp 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| iwym_mcp-0.2.0.tar.gz | 59.1 kB | Without provenance | Details for iwym_mcp-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| iwym_mcp-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for iwym_mcp-0.2.0-py3-none-any.whl |
Total release size: 67.9 kB
Release files / iwym_mcp-0.2.0.tar.gz
| Download URL | iwym_mcp-0.2.0.tar.gz |
|---|---|
| Size | 59.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5d563f10935e7481991dc4c2e9a975289ce231a77ac05f6ba4441b90cf7a567d
|
|
BLAKE2b-256 checksum How to use checksums |
f5e1742d9e9690a7f9504ca9fe27df037e3ffca03fac462f8b7955276d281a59
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.7.8
|
Release files / iwym_mcp-0.2.0-py3-none-any.whl
| Download URL | iwym_mcp-0.2.0-py3-none-any.whl |
|---|---|
| Size | 8.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8ccfe834973e851afcbdc520c6d64a334740d102a249282b3b6d615fb97c0a93
|
|
BLAKE2b-256 checksum How to use checksums |
e0955ba243b2ae774f993fe097208b6ad5d4ba864a91eddf9b4c198560b373ab
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.7.8
|
Security for iwym-mcp 0.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.