Loading...
pip install mcp[cli]{
"mcpServers": {
"crypto-portfolio-mcp": {
"command": "python",
"args": [ "path/to/crypto-portfolio-mcp/main.py" ]
}
}
}get_portfolio_summaryRetrieves a summary of the current cryptocurrency portfolio holdings and their values.
Read-only operation; retrieves existing data.
add_holdingAdds a new cryptocurrency holding to the portfolio with a specified amount.
Writes data to the local database, modifying the portfolio.
get_priceFetches the current price of a given cryptocurrency trading pair from Binance.
Read-only operation; retrieves external data.
portfolio_value_historyGenerates a chart of the portfolio's value over time and displays it as a PNG image.
Read-only operation; generates a visual representation of existing data.
This server is relatively safe for read operations and basic portfolio management. However, the ability to write to a local database and the lack of authentication mechanisms introduce moderate risks. It's crucial to ensure the server is not exposed to unauthorized access.