Skip to main content
Glama
toomy1992

Wealthfolio MCP Server

by toomy1992
mcp_server.py503 B
from fastapi import FastAPI from src.api_client import WealthfolioClient from config.settings import settings app = FastAPI() client = WealthfolioClient(api_key=settings.API_KEY) @app.get("/portfolio") async def get_portfolio(): filters = {"assets": settings.asset_filters} data = await client.fetch_portfolio_data(filters=filters) return data @app.post("/sync") async def sync_portfolio(): # Placeholder for synchronization logic return {"message": "Synchronization triggered."}

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/toomy1992/wealthfolio-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server