MCP Server Node

MCP Server Node

A Node.js MCP server example with user management, task management, and calculator tools. Supports authentication via bearer token and can be deployed locally or via Docker.

Category
Visit Server

README

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

배포하기

클라우드타입

  1. 템플릿 선택하기 : MCP Server - Node.js

<p align="center"> <img src="https://raw.githubusercontent.com/cloudtype-examples/assets/refs/heads/main/screenshots/mcp-server-node/select.png" width="600px"> </p>

  1. 배포하기
  • Node v22
  • 환경변수 TOKEN : 인증에 사용할 토큰을 설정 (인증시 사용할 토큰)
  • 빌드 명령어 npm run build
  • 시작 명령어 npm start <p align="center"> <img src="https://raw.githubusercontent.com/cloudtype-examples/assets/refs/heads/main/screenshots/mcp-server-node/config.png" width="600px"> </p>
  1. 접속정보 확인

    MCP 접속 주소 - https://<배포된 프리뷰 도메인 주소>/mcp

<p align="center"> <img src="https://raw.githubusercontent.com/cloudtype-examples/assets/refs/heads/main/screenshots/mcp-server-node/domain.png" width="600px"> </p>

  1. 업데이트 코드 커밋 & 푸시 후 설정 탭에서 배포하기 버튼으로 배포

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

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured