Connections & Capabilities
Connects To
Capabilities
Quickstart
Install
pip install mcp[cli]Config
{
"mcpServers": {
"crypto-portfolio-mcp": {
"command": "python",
"args": [ "path/to/crypto-portfolio-mcp/main.py" ]
}
}
}Exposed MCP Tools (4)
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.
Safety Assessment
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.
- Uses a local SQLite database, limiting external data exposure.
- Price retrieval is limited to Binance, reducing the risk of arbitrary data sources.
- No direct execution of shell commands or filesystem access.
- Clear tool descriptions aid in understanding potential actions.
- Writes data to a local SQLite database, posing a risk if the server is compromised.
- Accesses real-time price data from Binance, which could be manipulated or inaccurate.
- No explicit authentication or authorization mechanisms are mentioned.
- Potential for financial loss if portfolio management decisions are based on flawed data or analysis.
