Investidor10 - MCP 서버
이 프로젝트는 모델 컨텍스트 프로토콜(MCP) 생태계의 일부이며, 외부 API와 상호 작용하고 특정 도메인 모델을 관리하는 도구를 제공합니다. 외부 API 통합 및 데이터 검증 기능을 갖춘 MCP 서버를 구축하는 방법을 보여주기 위해 설계되었습니다.
목차
특징
- get-acoes : 기본 주식 정보를 가져옵니다.
- Zod 를 사용한 입력 검증.
fetch
(인프라 계층)를 사용하여 Investidor10 API와 통합합니다.
건축학
이 프로젝트는 도메인 주도 설계 (DDD) 패턴에서 영감을 받은 계층형 아키텍처를 따릅니다.
- 도메인 (
src/domain
): 데이터 구조를 나타내는 인터페이스와 유형을 정의합니다(예:Investidor10
). - 인프라 (
src/infrastructure
): Investidor10 API에 대한 HTTP 호출을 담당하는Investidor10ApiService
와 같은 외부 서비스를 구현합니다. - 애플리케이션 (
src/application
): 인프라에서 데이터를 처리하고 포맷하는Investidor10Service
의 비즈니스 로직을 포함합니다. - 인터페이스 (
src/interface
): MCP 서버에 도구를 등록하고, 검증 스키마를 정의하고, 결과를 반환하는 컨트롤러(Investidor10ToolsController
)가 포함됩니다. - 진입점 (
src/main.ts
):McpServer
초기화하고, 전송(StdioServerTransport
)을 구성하고, 서비스와 컨트롤러를 인스턴스화하고, stdio 에서 수신을 시작합니다.
폴더 구조는 다음과 같습니다.
지엑스피1
설치
VSCode에서 MCP 서버 구성
Ctrl+Shift+P
누르고 "MCP: 서버 목록"을 선택하세요.- "주식"을 선택한 다음 "서버 시작"을 선택하세요.
VSCode의 MCP 서버 출력
Ctrl+Shift+P
누르고 "MCP: 서버 목록"을 선택하세요.- "주식"을 선택한 다음 "출력 표시"를 선택하세요.
기부금
풀 리퀘스트를 환영합니다! 이슈를 공개하고 개선 사항에 대해 논의해 주세요.
특허
이 프로젝트는 MIT 라이선스에 따라 라이선스가 부여되었습니다. 자세한 내용은 LICENSE 파일을 참조하세요.
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
Tools
Investidor10 MCP 서버: Status Invest API와 상호 작용하는 모델 컨텍스트 프로토콜(MCP) 서버입니다. 계층화된 아키텍처와 Zod를 사용한 데이터 검증 기능을 통해 주식 데이터 및 지표를 가져오는 도구를 제공합니다.
Related MCP Servers
- -securityAlicense-qualityThe MCP Trader Server conducts comprehensive technical analysis on stocks, offering insights into trends, momentum indicators, volatility metrics, and volume analysis to support stock trading decisions.Last updated 10 days ago171PythonMIT License
- AsecurityAlicenseAqualityA Model Context Protocol (MCP) server that provides comprehensive cryptocurrency analysis using the CoinCap API. This server offers real-time price data, market analysis, and historical trends through an easy-to-use interface.Last updated 4 days ago356730TypeScriptMIT License
- AsecurityAlicenseAqualityMCP server that provides AI assistants access to stock market data including financial statements, stock prices, and market news through a Model Context Protocol interface.Last updated 2 months ago11433PythonMIT License
- AsecurityFlicenseAqualityA Model Control Protocol (MCP) server that provides cryptocurrency trading interfaces for Binance exchange, enabling functions like real-time price fetching, account balance queries, order placement/cancellation, and automated arbitrage strategies.Last updated 4 months ago93Python