Bring Wealth Management
to Mastra AI
Learn how to connect Ghostfolio (Investment Tracker) to Mastra AI and start using 9 AI agent tools in minutes. Fully managed, enterprise secure, and ready to use without writing a single line of code.
Compatible with every major AI agent and IDE
What is the Ghostfolio (Investment Tracker) MCP Server?
Connect your Ghostfolio instance to any AI agent to monitor your net worth and manage your investment portfolio through natural conversation.
What you can do
- Portfolio Performance — Get high-level summaries of your portfolio's performance and statistics.
- Holdings & Valuations — Retrieve detailed lists of current holdings with real-time market valuations.
- Activity Tracking — Record new transactions (BUY, SELL, DIVIDEND, INTEREST, FEE) or delete existing ones.
- Account Management — List, create, and update your investment accounts directly.
- Market Data — Fetch the latest market prices for any asset symbol supported by Ghostfolio.
How it works
- Subscribe to this server
- Enter your Ghostfolio API Key (and optionally your instance URL)
- Start managing your investments from Claude, Cursor, or any MCP-compatible client
Who is this for?
- Individual Investors — track your net worth and asset allocation without manual spreadsheet updates.
- Financial Analysts — quickly query portfolio metrics and market data during research.
- Wealth Managers — manage multiple accounts and activities through a streamlined AI interface.
Built-in capabilities (9)
Provide the account details as a JSON payload. Create a new investment account
Create a new investment activity
Delete a specific activity
Get the latest price for a specific symbol
Get current holdings and their valuations
Get a summary of the portfolio performance
List all investment accounts
) from Ghostfolio. Retrieve a list of all activities
Update account details
Why Mastra AI?
Mastra's agent abstraction provides a clean separation between LLM logic and Ghostfolio (Investment Tracker) tool infrastructure. Connect 9 tools through Vinkius and use Mastra's built-in workflow engine to chain tool calls with conditional logic, retries, and parallel execution. deployable to any Node.js host in one command.
- —
Mastra's agent abstraction provides a clean separation between LLM logic and tool infrastructure. add Ghostfolio (Investment Tracker) without touching business code
- —
Built-in workflow engine chains MCP tool calls with conditional logic, retries, and parallel execution for complex automation
- —
TypeScript-native: full type inference for every Ghostfolio (Investment Tracker) tool response with IDE autocomplete and compile-time checks
- —
One-command deployment to any Node.js host. Vercel, Railway, Fly.io, or your own infrastructure
Ghostfolio (Investment Tracker) in Mastra AI
Ghostfolio (Investment Tracker) and 4,000+ other MCP servers. One platform. One governance layer.
Teams that connect Ghostfolio (Investment Tracker) to Mastra AI through Vinkius don't need to source, host, or maintain individual MCP servers. Every tool call runs inside a hardened runtime with credential isolation, DLP, and a signed audit chain.
Raw MCP | Vinkius | |
|---|---|---|
| Server catalog | Find and host yourself | 4,000+ managed |
| Infrastructure | Self-hosted | Sandboxed V8 isolates |
| Credential handling | Plaintext in config | Vault + runtime injection |
| Data loss prevention | None | Configurable DLP policies |
| Kill switch | None | Global instant shutdown |
| Financial circuit breakers | None | Per-server limits + alerts |
| Audit trail | None | Ed25519 signed logs |
| SIEM log streaming | None | Splunk, Datadog, Webhook |
| Honeytokens | None | Canary alerts on leak |
| Custom domains | Not applicable | DNS challenge verified |
| GDPR compliance | Manual effort | Automated purge + export |
Why teams choose Vinkius for Ghostfolio (Investment Tracker) in Mastra AI
The Ghostfolio (Investment Tracker) MCP Server runs on Vinkius-managed infrastructure inside AWS — a purpose-built runtime with per-request V8 isolates, Ed25519 signed audit chains, and sub-40ms cold starts. All 9 tools execute in hardened sandboxes optimized for native MCP execution.
Your AI agents in Mastra AI only access the data you authorize, with DLP that blocks sensitive information from ever reaching the model, kill switch for instant shutdown, and up to 60% token savings. Enterprise-grade infrastructure, zero maintenance.
* Every MCP server runs on Vinkius-managed infrastructure inside AWS - a purpose-built runtime with per-request V8 isolates, Ed25519 signed audit chains, and sub-40ms cold starts optimized for native MCP execution. See our infrastructure
How Vinkius secures
Ghostfolio (Investment Tracker) for Mastra AI
Every tool call from Mastra AI to the Ghostfolio (Investment Tracker) MCP Server is protected by DLP redaction, cryptographic audit chains, V8 sandbox isolation, kill switch, and financial circuit breakers.
Frequently asked questions
Can I see the current market value of all my holdings at once?
Yes! Use the get_portfolio_holdings tool. It retrieves a detailed list of all your current assets along with their latest valuations based on market data.
How do I record a new stock purchase using the AI?
Simply provide the details to your agent. It will use the create_activity tool with the type 'BUY', including the symbol, quantity, unit price, and account ID to record the transaction.
Can I check the price of a specific stock without looking at my portfolio?
Yes. The get_market_data_price tool allows you to fetch the latest price for any asset symbol (like 'AAPL' or 'BTC') directly from Ghostfolio's data providers.
How does Mastra AI connect to MCP servers?
Create an MCPClient with the server URL and pass it to your agent. Mastra discovers all tools and makes them available with full TypeScript types.
Can Mastra agents use tools from multiple servers?
Yes. Pass multiple MCP clients to the agent constructor. Mastra merges all tool schemas and the agent can call any tool from any server.
Does Mastra support workflow orchestration?
Yes. Mastra has a built-in workflow engine that lets you chain MCP tool calls with branching logic, error handling, and parallel execution.
createMCPClient not exported
Install: npm install @mastra/mcp
Explore More MCP Servers
View all →
Trimble
10 toolsEquip your AI agent with enterprise-grade truck routing, commercial geocoding, and advanced toll cost logistics algorithms.

Tencent Cloud VOD / 腾讯云点播
8 toolsTencent's dominant video-on-demand platform — manage media, track tasks, and audit storage via AI.

CrossRef Alternative
13 toolsSearch 150M+ academic works — find journal articles, books, DOIs, citations and scholarly metadata.

Supabase
10 toolsConnect your AI to Supabase. Execute database queries, manage users, and trigger PostgreSQL functions directly from your terminal.
