
ski043/nextjs-financial-agent-mcp-arcade-dev
Developer tools이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
투자 포트폴리오를 분석하는 지능형 금융 AI 에이전트, fetches 실시간 시장 데이터를 분석하고 여러 채널을 통해 맞춤 통찰력을 제공, 모든 아케이드에 의해 구동.
개요
투자 포트폴리오를 분석하는 지능형 금융 AI 에이전트, fetches 실시간 시장 데이터를 분석하고 여러 채널을 통해 맞춤 통찰력을 제공, 모든 아케이드에 의해 구동. MCPMarshal은 데이터 소싱, 지속적 메모리 및 멀티 채널 프리젠 테이션 간의 우려를 분리하여 생산 관련 AI 에이전트를 구축하는 방법을 설명합니다. 응용 프로그램은 Gmail, Notion 및 Google Docs 통합을위한 아케이드의 원활한 OAuth 처리를 보여줍니다. - : 보유, 구매 가격 및 수량을 가진 여러 투자 포트폴리오 관리 - : 사용자 정의 MCP 서버 검색 라이브 재고 가격, 회사 기본 및 시장 뉴스 - : LLM 자율적으로 보유를 연구하고, 데이터를 fetch 및 초점 관심에 대한 결정 - : Gmail, Notion, 또는 Google Docs에 대한 보고서를 게시 한 클릭 OAuth - : 주간 cron 작업은 자동으로 생성 및 이메일 포트폴리오 보고서를 생성합니다. : 문의 및 AI가 필요한 데이터를 볼 수 있습니다. 아케이드는 ...
개요(AI 번역)
투자 포트폴리오를 분석하는 지능형 금융 AI 에이전트, fetches 실시간 시장 데이터를 분석하고 여러 채널을 통해 맞춤 통찰력을 제공, 모든 아케이드에 의해 구동.
개요
MCPMarshal은 ** 3 층 아키텍처를 사용하여 생산 ready AI 에이전트를 구축하는 방법을 설명합니다 ** 데이터 소싱, 지속적 메모리 및 멀티 채널 프리젠 테이션 사이의 우려를 분리합니다. 응용 프로그램은 Gmail, Notion 및 Google Docs 통합을위한 아케이드의 원활한 OAuth 처리를 보여줍니다.
# # # 그것은 무엇을
- ** 포트폴리오를 추적 **: 여러 투자 포트폴리오를 보유, 구매 가격 및 수량 관리
- Fetches Real-Time Data: 사용자 정의 MCP 서버 검색 실시간 재고 가격, 회사 기본 및 시장 뉴스
- Agentic Report Generation: LLM 자율적으로 당신의 보유를 연구하고, 관심을 집중시키는 데이터가 무엇인지 결정합니다. -Delivers Anywhere: Gmail, Notion, 또는 OAuth를 클릭한 Google Docs에 대한 게시 보고서
- ** 냉각 자동화 **: 주간 cron 작업은 자동으로 생성 및 이메일 포트폴리오 보고서
- Agentic Chat: 질문과 AI를 자율적으로 호출하는 도구가 필요한 데이터를 태칭합니다
이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.
README
원문 README의 일부입니다. 원문 보기.
MCPMarshal - Financial AI Agent
An intelligent financial AI agent that analyzes your investment portfolio, fetches real-time market data, and delivers personalized insights through multiple channels, all powered by Arcade.
Overview
MCPMarshal demonstrates how to build a production-ready AI agent using a three-layer architecture that separates concerns between data sourcing, persistent memory, and multi-channel presentation. The application showcases Arcade’s seamless OAuth handling for Gmail, Notion, and Google Docs integration.
What It Does
- Tracks Your Portfolio: Manage multiple investment portfolios with holdings, purchase prices, and quantities
- Fetches Real-Time Data: Custom MCP server retrieves live stock prices, company fundamentals, and market news
- Agentic Report Generation: LLM autonomously researches your holdings, deciding what data to fetch and where to focus attention
- Delivers Anywhere: Publish reports to Gmail, Notion, or Google Docs with one-click OAuth
- Scheduled Automation: Weekly cron jobs automatically generate and email portfolio reports
- Agentic Chat: Ask questions and watch the AI autonomously call tools to fetch the data it needs
Architecture
Layer Breakdown
| Layer | Purpose | Technology |
|---|---|---|
| Data Source | Fetches real-time financial data | Custom MCP Server (Python + arcade-mcp) |
| Memory | Persists portfolios, reports, and chat history | PostgreSQL with Prisma ORM |
| Presentation | Delivers insights through multiple channels | Next.js Dashboard, Gmail, Notion, Google Docs |
Arcade Integration
Arcade is the backbone that enables seamless multi-channel publishing without the complexity of managing OAuth flows manually.
How Arcade Powers This Application
1. Tool Execution via Arcade SDK
import Arcade from "@arcadeai/arcadejs";
const arcadeClient = new Arcade({ apiKey: process.env.ARCADE_API_KEY });
// Execute any tool with automatic auth handling
const response = await arcadeClient.tools.execute({
tool_name: "Gmail.SendEmail",
input: {
subject: "Weekly Portfolio Report",
body: reportHtml,
recipient: userEmail,
content_type: "html",
},
user_id: userId,
});
2. OAuth Authorization Flow
// Check if user has authorized Gmail
const authResponse = await arcadeClient.tools.authorize({
tool_name: "Gmail.SendEmail",
user_id: userId,
});
if (authResponse.status === "pending") {
// Redirect user to Arcade's OAuth consent screen
return { authorizationUrl: authResponse.authorization_url };
}
// User is authorized, proceed with tool execution
3. Supported Integrations
| Tool | Arcade Tool Name | Use Case |
|---|---|---|
| Gmail | Gmail.SendEmail |
Send portfolio reports via email |
설치
npx prisma db push