Sponsored by Deepsite.site

Mcp Portfolio Ideas

Created By
MetaPartner-AIa month ago
MCP Portfolio Ideas helps you expand your LLM conversations with solid financial tools, efficient thinking, and relevant data.
Content

MCP Portfolio Ideas (Hosted Remote MCP Server)

mcp-portfolio-ideas is a hosted MCP server for portfolio understanding and idea generation with LLMs.

It gives your MCP client structured tools to:

  • store and inspect portfolios
  • optimize allocations with multiple strategies
  • explain risk/return tradeoffs
  • keep optimization defaults as reusable preferences

The server endpoint is:

  • https://mcp-portfolio-ideas.metapartner.ai/mcp/sse/

Why Use It

Without MCP, portfolio analysis in chat is mostly unstructured text and guesses.

With this server, your LLM can call typed tools and return:

  • reproducible outputs
  • strategy-aware optimization
  • auditable settings used for each run
  • a consistent workflow from portfolio input to optimized result

Quick Start (LM Studio First)

LM Studio uses an mcp.json file with an mcpServers object.

  1. Open your LM Studio MCP config file.
  2. Add the server entry below under mcpServers.
  3. Restart/reload MCP servers in LM Studio.

Use this entry:

{
  "mcpServers": {
    "mcp-portfolio-ideas": {
      "url": "https://mcp-portfolio-ideas.metapartner.ai/mcp/sse/",
      "transport": "sse",
      "headers": {
        "X-API-Key": "mcp_portf_ideas_guest_512B6vEMEMUZqJorLW9JlEzQrpMagnlwi-95QkqvxZk"
      }
    }
  }
}

Copy-paste example file:

  • github/examples/lm-studio-mcp.json

Use In Other MCP Clients

Any MCP client that supports:

  • remote sse transport
  • custom HTTP headers

can use this same server. See:

  • github/examples/remote-mcp-entry.json

Tool Catalog

Current toolset:

Portfolio management

  1. create_portfolio
  • Purpose: create/store a portfolio from symbols or symbol->weight map.
  • Args:
    • portfolio: dict[str,float] or list[str]
    • portfolio_name (optional): str
  • Access: registered users only.
  1. list_portfolios
  • Purpose: list accessible portfolios.
  • Args: none.
  • Access: guest + registered.
  1. get_portfolio
  • Purpose: get allocation + performance + optimization metadata in one call.
  • Args:
    • portfolio_id: str
  • Access: guest + registered.
  1. rename_portfolio
  • Purpose: rename an existing portfolio.
  • Args:
    • old_name: str
    • new_name: str
  • Access: registered users only.
  1. delete_portfolio
  • Purpose: delete a portfolio.
  • Args:
    • portfolio_id: str
  • Access: registered users only.

Optimization

  1. optimization_settings
  • Purpose: get/set/validate/delete optimization defaults and overrides.
  • Args:
    • operation: "get" | "set" | "validate" | "delete" (default: "get")
    • portfolio_name (optional): str
    • settings (optional): dict
    • scope: "user" | "portfolio" (default: "user")
  • Access:
    • get + validate: guest + registered
    • set + delete: registered users only
  1. optimize_portfolio
  • Purpose: optimize an existing portfolio and create optimized_{PORTFOLIO}_{TIMESTAMP}.
  • Args:
    • portfolio_name: str
    • strategy: strategy name or "auto"
    • constraints: dict | "auto" | null
    • strategy_parameters: dict | "auto" | null
    • calc_library: "PyPortfolioOpt" | "RiskfolioLib" | "auto"
    • save_as_preference: bool
    • preference_scope: "user" | "portfolio"
  • Access: registered users only.

Discovery and feedback

  1. get_help
  • Purpose: task-focused help and prompt guidance.
  • Args:
    • topic (optional): str
  • Access: guest + registered.
  1. get_capabilities
  • Purpose: inspect strategies, constraints, library support, and role permissions.
  • Args: none.
  • Access: guest + registered.
  1. submit_feedback
  • Purpose: send product feedback / feature requests.
  • Args:
    • text: str
  • Access: guest + registered.

Strategy Examples

Common strategies:

  • maximize_sharpe_ratio
  • minimize_volatility
  • maximize_return
  • efficient_return (PyPortfolioOpt only)
  • efficient_risk (PyPortfolioOpt only)
  • hrp (RiskfolioLib)
  • minimize_cvar (RiskfolioLib)
  • black_litterman (RiskfolioLib)

Aliases:

  • mean-variance
  • mean_variance
  • markowitz

Example User Interactions

Starter prompts for your LLM:

  1. "Create a portfolio named CoreTech with AAPL 10%, MSFT 35%, GOOGL 30%, TSLA 7%, AMZN 8%."
  2. "Optimize CoreTech for maximum Sharpe ratio with max 50% per asset."
  3. "Set user defaults to minimize_volatility with max 25% per asset."
  4. "Use auto settings to optimize CoreTech again."

More prompt packs:

  • github/examples/prompt-playbook.md

Technical Implementation

High-level architecture:

  • FastAPI service with MCP mounted at /mcp
  • SSE transport at /mcp/sse/

Implementation highlights:

  • Optimization:
    • supports PyPortfolioOpt and RiskfolioLib
    • loads data via yfinance
  • Defaults:
    • 1 year horizon
    • mean-variance portfolio optimization
    • maximize Share ratio (relative return, scaled by associated risk)

Access Modes and Limits

  • The config above uses a guest key:
    • good for discovery, help, read operations
    • since guests are operating in a shared workspace, we clean it up every night, to facilitate a better user experience.
  • For full features, and private portfolios and calculations, use a registered user key (ask us).

Disclaimer

This service is for informational and educational purposes, it does not constitute financial advice. Portfolio optimization is based on historical data which may not predict future performance. Past performance does not guarantee future results. All investments carry risk including potential loss of principal. Consult with a qualified financial advisor before making investment decisions. Calculations have been done using your assets percentages, but scaled to an account value of $100,000.00 for illustrative purposes. You are expected to learn and make up your mind from this analysis, not to to follow it blindly.

Server Config

{
  "mcpServers": {
    "mcp-portfolio-ideas": {
      "url": "https://mcp-portfolio-ideas.metapartner.ai/mcp/sse/",
      "transport": "sse",
      "headers": {
        "X-API-Key": "mcp_portf_ideas_guest_512B6vEMEMUZqJorLW9JlEzQrpMagnlwi-95QkqvxZk"
      }
    }
  }
}
Recommend Servers
TraeBuild with Free GPT-4.1 & Claude 3.7. Fully MCP-Ready.
DeepChatYour AI Partner on Desktop
Playwright McpPlaywright MCP server
Zhipu Web SearchZhipu Web Search MCP Server is a search engine specifically designed for large models. It integrates four search engines, allowing users to flexibly compare and switch between them. Building upon the web crawling and ranking capabilities of traditional search engines, it enhances intent recognition capabilities, returning results more suitable for large model processing (such as webpage titles, URLs, summaries, site names, site icons, etc.). This helps AI applications achieve "dynamic knowledge acquisition" and "precise scenario adaptation" capabilities.
Amap Maps高德地图官方 MCP Server
ChatWiseThe second fastest AI chatbot™
AiimagemultistyleA Model Context Protocol (MCP) server for image generation and manipulation using fal.ai's Stable Diffusion model.
Visual Studio Code - Open Source ("Code - OSS")Visual Studio Code
Y GuiA web-based graphical interface for AI chat interactions with support for multiple AI models and MCP (Model Context Protocol) servers.
Serper MCP ServerA Serper MCP Server
Baidu Map百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Jina AI MCP ToolsA Model Context Protocol (MCP) server that integrates with Jina AI Search Foundation APIs.
RedisA Model Context Protocol server that provides access to Redis databases. This server enables LLMs to interact with Redis key-value stores through a set of standardized tools.
CursorThe AI Code Editor
Howtocook Mcp基于Anduin2017 / HowToCook (程序员在家做饭指南)的mcp server,帮你推荐菜谱、规划膳食,解决“今天吃什么“的世纪难题; Based on Anduin2017/HowToCook (Programmer's Guide to Cooking at Home), MCP Server helps you recommend recipes, plan meals, and solve the century old problem of "what to eat today"
BlenderBlenderMCP connects Blender to Claude AI through the Model Context Protocol (MCP), allowing Claude to directly interact with and control Blender. This integration enables prompt assisted 3D modeling, scene creation, and manipulation.
MiniMax MCPOfficial MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech, image generation and video generation APIs.
EdgeOne Pages MCPAn MCP service designed for deploying HTML content to EdgeOne Pages and obtaining an accessible public URL.
MCP AdvisorMCP Advisor & Installation - Use the right MCP server for your needs
Tavily Mcp
WindsurfThe new purpose-built IDE to harness magic