IE

intellectronica/ez-mcp

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

31 stars 6 forks 품질 63 트렌드 11MIT

MCP 서버를 얻는 가장 쉬운 경로

개요

이 저장소에는 Python/uv 및 TypeScript/Deno 모두에 있는 단일 파일 각자 달성된 MCP 서버를 위한 완전한, 준비된 템플릿이 포함되어 있습니다. - : 복사, 붙여넣기, 실행 - 복잡한 구성이 필요하지 않음 - : 두 템플릿 모두 공식 Anthropic SDK를 사용합니다 - : 작업 코드와 문서화 - : 몇 분 안에 자체 도구, 리소스 및 신속한 추가 - : MCP 아이디어를 로컬로 테스트하는 가장 빠른 방법 기능적으로 동일한 2개의, 전투 시험된 템플렛: - - UV를 가진 공식 MCP SDK를 사용하는 Python 서버 - Deno를 가진 공식 MCP SDK를 사용하여 TypeScript 서버 각 템플릿은 모든 코어 MCP 기능을 보여줍니다. - Dynamic : LLM 컨텍스트의 동적 데이터 소스 - 542️ : 함수 LLMs는 작업을 수행 할 수 있습니다. - ❤️ : LLM 상호 작용을위한 재사용 가능한 템플릿 - 환경 변수 지원 이 작업을보고 싶습니까? 언어 선택 및 실행: 두 서버는 즉시 시작하고 당신은 무엇을 사용할 수 있습니다!

개요(AI 번역)

** 2 분 이내에 MCP 서버를 실행하십시오! ** 이 저장소에는 Python/uv 및 TypeScript/Deno 모두에 있는 단일 파일 각자 달성된 MCP 서버를 위한 완전한, 준비된 템플릿이 포함되어 있습니다.

왜 EZ-MCP?

  • : 복사, 붙여넣기, 실행 - 필요 없음 - Both Production Ready: 두 템플릿 모두 공식 Anthropic SDK를 사용 -**: 작업 코드로 문서화 된 모든 것
  • ** 쉽게 확장 가능**: 몇 분 안에 자신의 도구, 리소스 및 신속한 추가
  • ** Experimentation에 대한 완벽한 옵션**: MCP 아이디어를 로컬로 테스트하는 가장 빠른 방법

# # # 너를 얻는 것

기능적으로 동일한 2개의, 전투 시험된 템플렛:

  • ez-mcp.py - UV 공식 MCP SDK를 사용하여 Python 서버
  • ez-mcp.ts - Deno를 가진 공식 MCP SDK를 사용하여 TypeScript 서버

각 템플릿은 모든 핵심 MCP 기능을 보여줍니다.

  • 자료: LLM 컨텍스트의 동적 데이터 소스
  • 542️ ** 도구**: 기능 LLMs는 작업을 수행 할 수 있습니다
  • ❤Prompts: LLM 상호 작용을 위한 재사용 가능한 템플릿
  • ܧ️ ** 구성**: Environment 변수 지원

⚡ 빠른 테스트 드라이브

이 작업을보고 싶습니까? 언어 선택 및 실행:

파이썬 버전

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.

README

원문 README의 일부입니다. 원문 보기.

EZ-MCP: The Fastest Way to Build MCP Servers

Get an MCP server running in under 2 minutes! This repository contains complete, ready-to-run templates for single file self-contained MCP servers in both Python/uv and TypeScript/Deno.

🚀 Why EZ-MCP?

  • ⚡ Instant Setup: Copy, paste, run - no complex configuration needed
  • 🎯 Production Ready: Both templates use official Anthropic SDKs
  • 📚 Comprehensive Examples: Everything documented with working code
  • 🔧 Easily Extensible: Add your own tools, resources, and prompts in minutes
  • 💡 Perfect for Experimentation: The fastest way to test MCP ideas locally

📁 What You Get

Two functionally identical, battle-tested templates:

  • ez-mcp.py - Python server using official MCP SDK with UV
  • ez-mcp.ts - TypeScript server using official MCP SDK with Deno

Each template demonstrates all core MCP features:

  • 📊 Resources: Dynamic data sources for LLM context
  • 🛠️ Tools: Functions LLMs can call to perform actions
  • 📝 Prompts: Reusable templates for LLM interactions
  • ⚙️ Configuration: Environment variable support

⚡ Quick Test Drive

Want to see these servers in action? Pick your language and run:

Python Version

# Install uv (if not already installed)
curl -LsSf https://astral.sh/uv/install.sh | sh

# Clone and run immediately
git clone 
cd ez-mcp
uv run ez-mcp.py

TypeScript Version

# Install Deno (if not already installed)
curl -fsSL https://deno.land/install.sh | sh

# Clone and run immediately
git clone 
cd ez-mcp
deno run --allow-all ez-mcp.ts

Both servers will start immediately and show you what’s available!

🎯 Create Your Own Server (Copy & Customise in 5 Minutes)

The fastest way to build your own MCP server is to copy one of our templates and customise it. Both templates are functionally identical and production-ready - just pick your preferred language!

For Python Developers:

  1. Copy the template:

    curl -O https://raw.githubusercontent.com/your-repo/ez-mcp/main/ez-mcp.py
    # Or just copy the ez-mcp.py file contents from this repo
    
  2. Rename and customise:

    cp ez-mcp.py my-awesome-server.py
    
  3. Edit the server details (around line 160):

    mcp = FastMCP(
        name="My Awesome Server",  # <- Change this to your server name
        dependencies=["mcp>=1.9.0"]
    )
    
  4. Add your own tools (copy this pattern anywhere in the file):

    @mcp.tool()
    def my_custom_tool(input_text: str) -> str:
        """Describe what your tool does"""
        # Your logic here
        return f"Processed: {input_text}"
    
  5. Run your server:

    uv run my-awesome-server.py
    

For TypeScript/JavaScript Developers:

  1. Copy the template:
    curl -O https://raw.githubusercontent.com/your-repo/ez-mcp/main/ez-mcp.ts
GitHub에서 전체 README 보기

설치

npx @modelcontextprotocol/inspector deno run --allow-all your-server.ts
MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →

설정

{ "mcpServers": { "my-python-server": { "command": "uv", "args": ["run", "/absolute/path/to/your-server.py"], "env": { "MY_API_KEY": "your-key-here" } } } }