cloudtype-examples/mcp-server-node
3.3
If you are the rightful owner of mcp-server-node and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
This document provides a comprehensive overview of a Model Context Protocol (MCP) server built using Node.js, Express, and TypeScript.
Tools
4
Resources
0
Prompts
0
MCP Server Example
Node.js / Express / TypeScript κΈ°λ° MCP (Model Context Protocol) μλ²
μ€ν λ°©λ²
λ‘컬 μ€ν
npm install
npm run build
npm start
# μΈμ¦ ν ν°κ³Ό ν¨κ» μ€ν
TOKEN=your_token npm start
Docker μ€ν
docker build -t mcp-server-node .
docker run -p 3000:3000 -e TOKEN=your-secret-token mcp-server-node
λ°°ν¬νκΈ°
ν΄λΌμ°λνμ
- ν
νλ¦Ώ μ ννκΈ° :
MCP Server - Node.js
- λ°°ν¬νκΈ°
- Node v22
- νκ²½λ³μ
TOKEN
: μΈμ¦μ μ¬μ©ν ν ν°μ μ€μ (μΈμ¦μ μ¬μ©ν ν ν°) - λΉλ λͺ
λ Ήμ΄
npm run build
- μμ λͺ
λ Ήμ΄
npm start
-
μ μμ 보 νμΈ
MCP μ μ μ£Όμ - https://<λ°°ν¬λ ν리뷰 λλ©μΈ μ£Όμ>/mcp
- μ
λ°μ΄νΈ
μ½λ μ»€λ° & νΈμ ν
μ€μ
νμμλ°°ν¬νκΈ°
λ²νΌμΌλ‘ λ°°ν¬
YouTube κ°μ΄λ
λ°°ν¬μλν
μΈμ¦
Bearer ν ν° μΈμ¦μ μ¬μ©ν©λλ€:
- νκ²½λ³μ:
TOKEN
- ν€λ:
Authorization: Bearer your-token
μ§μ λꡬ
- user_list - μ¬μ©μ λͺ©λ‘ μ‘°ν
- user_statistics - μ¬μ©μ μ§ν μ‘°ν
- calculator - κ³μ°κΈ° μμ
- create_task : μμ μμ±νκΈ°
- complete_task : μμ μλ£νκΈ°
- list_tasks : μμ λͺ©λ‘ μ‘°ννκΈ°
νκ²½λ³μ
- TOKEN : Bearer ν ν° (νμ)
νμ©λ°©λ²
Porter AI
λ¬Έμ ν΄κ²°
License
MIT License