Skip to main content
Glama
legotec73

FastMCP Server

by legotec73

FastMCP Server

Python FastMCP (Model Context Protocol) 서버 with Bearer Token 인증

실행 방법

로컬 실행

pip install -r requirements.txt
python server.py

Docker 실행

docker build -t fastmcp .
docker run -p 8000:8000 -e FASTMCP_AUTH_TOKEN=your-secret-token fastmcp

Related MCP server: MCP Server Node

배포하기

클라우드타입

  1. 템플릿 선택하기 : FastMCP

  1. 배포하기

  • Python 3.12

  • 환경변수 FASTMCP_AUTH_TOKEN : 인증에 사용할 토큰을 설정 (인증시 사용할 토큰)

  • 시작 명령어 uvicorn server:app --host 0.0.0.0 --port 8000

  1. 접속정보 확인

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

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

YouTube 가이드

배포자동화

인증

Bearer 토큰 인증을 사용합니다:

  • 환경변수: FASTMCP_AUTH_TOKEN

  • 헤더: Authorization: Bearer your-token

지원 도구

  • create_task : 작업 생성하기

  • complete_task : 작업 완료하기

  • list_tasks : 작업 목록 조회하기

환경변수

  • FASTMCP_AUTH_TOKEN : Bearer 토큰 (필수)

  • FASTMCP_HOST : 서버 호스트 (선택/기본: 0.0.0.0)

  • FASTMCP_PORT : 서버 포트 (선택/기본: 8000)

활용방법

Porter AI

문제해결

License

MIT License

Maintenance

ActivityInactive
ResponsivenessNo issues

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    D
    maintenance
    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.
    17 npm
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    A Node.js MCP server with user, task, and calculator tools. Supports Bearer token authentication and Docker/Cloudtype deployment.
    17 npm
    MIT
  • F
    license
    B
    quality
    C
    maintenance
    A task manager MCP server that enables creating, reading, updating, and deleting tasks persisted in a local JSON file.
    4
    -