Coding
PromptBeginner5 minmarkdown
Markdown Converter
Agent skill for markdown-converter
7
Korea Stock Analyzer MCP bridges TypeScript services and Python market data to deliver investor-style reports. Follow this guide to navigate the codebase, keep tooling aligned, and ship reliable updates quickly.
Sign in to like and favorite skills
Korea Stock Analyzer MCP bridges TypeScript services and Python market data to deliver investor-style reports. Follow this guide to navigate the codebase, keep tooling aligned, and ship reliable updates quickly.
src/ hosts the MCP server: server.ts wires tool handlers, analyzers/ encodes guru playbooks, services/ wraps data fetchers and the Python bridge, reports/ assembles sections, types/ centralizes shared contracts.api/ contains Vercel serverless entry points (mcp.ts, stock-data.ts) plus the stock_data.py worker mirrored by requirements.txt for cloud runs.public/ exposes the minimal landing page, while build artifacts land in dist/ after npm run build.requirements.txt in the repo root mirrors local Python needs for pykrx-backed calls executed via PythonExecutor.npm install installs TypeScript + MCP dependencies; run once after cloning or updating lockfiles.npm run dev starts the TypeScript entry point through tsx src/index.ts for interactive MCP sessions.npm run build emits dist/ by compiling with tsc; run before packaging or publishing.npm run start executes the built server with an extended memory ceiling for production-like smoke tests.python -m pip install -r requirements.txt primes local pykrx usage; mirror for deployments with api/requirements.txt.src/index.ts and src/services/index.ts to keep downstream imports stable.src/types suffixed with .types.ts.npm run test currently proxies the MCP CLI (tsx src/index.ts); use it for fast regressions when exercising tools manually.python test_kcc_glass.py after exporting BASE_URL if you target a non-default deployment.api/ or root with the test_*.py pattern; document sample tickers in comments for reproducibility.feat:, fix:, chore:) as seen in git log; keep the scope concise and imperative.PythonExecutor defaults to prevent stalled workers.vercel.json cautiously—function memory and headers are tuned for cross-origin clients relying on wide CORS allowances.