KM

kirill-markin/example-mcp-server

Developer tools

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

38 stars 19 forks 품질 77 트렌드 14MIT

kirill-markin/example-mcp-server는 MCP 서버 후보가 https://github.com/kirill-markin/example-mcp-server.에서 가져온 것입니다

개요

kirill-markin/example-mcp-server는 MCP 서버 후보가 https://github.com/kirill-markin/example-mcp-server.에서 가져온 것입니다

개요(AI 번역)

모델 Context Protocol (MCP)을 사용하여 Cursor IDE에 대한 사용자 정의 도구를 만드는 간단한 템플릿. 이 템플릿에서 자신의 저장소를 만들고 도구를 수정하고 Cursor IDE에 연결하십시오.

빠른 시작

  1. 클릭 “Deploy to Heroku” 버튼

  2. 배포 후, 커서를 구성:

  • 오픈 커서 설정 → 기능
  • 새로운 MCP 서버 추가
  • /sse] 경로 (예, https:// .herokuapp.com/sse)
  1. Cursor에 있는 당신의 대리인의 정취를 시험하십시오:
  • 대리인에게 “우리의 서버 분위기에 대해 묻고 어떻게 알 수 있도록하십시오.”
  • 서버는 쾌활한 메시지와 마음으로 응답합니다 ❤️

대안 설정 방법

Docker, 전통적인 Python 설정 또는 Cursor IDE에서 서버를 실행할 수 있습니다.

Docker 설정

이 프로젝트는 Docker가 쉬운 배포를 지원합니다:

  1. 처음 체제:

  2. Docker Compose를 사용하여 빌드 및 실행 :

  3. 서버는:

  1. 빠른 시험:

  2. 커서 IDE에 연결하십시오:

  • 오픈 커서 설정 → 기능
  • 새로운 MCP 서버 추가
  • 유형: "sse"를 선택하십시오
  • URL: 입력 http://localhost:8000/sse

전통 설정

첫째로, uv 포장 매니저를 설치하십시오:

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

README

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

MCP Server Template for Cursor IDE

A simple template for creating custom tools for Cursor IDE using Model Context Protocol (MCP). Create your own repository from this template, modify the tools, and connect them to your Cursor IDE.

Quick Start

  1. Click “Deploy to Heroku” button

  2. After deployment, configure Cursor:

    • Open Cursor Settings → Features
    • Add new MCP server
    • Use your Heroku URL with /sse path (e.g., https://.herokuapp.com/sse)
  3. Test your agent’s mood in Cursor:

    • Ask your agent “Please ask about our server mood and let me know how it is.”
    • The server will respond with a cheerful message and a heart ❤️

Alternative Setup Methods

You can run the server in three ways: using Docker, traditional Python setup, or directly in Cursor IDE.

Docker Setup

The project includes Docker support for easy deployment:

  1. Initial setup:
# Clone the repository
git clone https://github.com/kirill-markin/weaviate-mcp-server.git
cd weaviate-mcp-server

# Create environment file
cp .env.example .env
  1. Build and run using Docker Compose:
# Build and start the server
docker compose up --build -d

# View logs
docker compose logs -f

# Check server status
docker compose ps

# Stop the server
docker compose down
  1. The server will be available at:

  2. Quick test:

# Test the server endpoint
curl -i http://localhost:8000/sse
  1. Connect to Cursor IDE:
    • Open Cursor Settings → Features
    • Add new MCP server
    • Type: Select “sse”
    • URL: Enter http://localhost:8000/sse

Traditional Setup

First, install the uv package manager:

# Install uv on macOS
brew install uv
# Or install via pip (any OS)
pip install uv

Start the server using either stdio (default) or SSE transport:

# Install the package with development dependencies
uv pip install -e ".[dev]"

# Using stdio transport (default)
uv run mcp-simple-tool

# Using SSE transport on custom port
uv run mcp-simple-tool --transport sse --port 8000

# Run tests
uv run pytest -v

After installation, you can connect the server directly to Cursor IDE:

  1. Right-click on the cursor-run-mcp-server.sh file in Cursor
  2. Select “Copy Path” to copy the absolute path
  3. Open Cursor Settings (gear icon)
  4. Navigate to Features tab
  5. Scroll down to “MCP Servers”
  6. Click “Add new MCP server”
  7. Fill in the form:
    • Name: Choose any name (e.g., “my-mcp-server-1”)
    • Type: Select “stdio” (not “sse” because we run the server locally)
    • Command: Paste the absolute path to cursor-run-mcp-server.sh that you copied earlier. For example: /Users/yourname/weaviate-mcp-server/cursor-run-mcp-server.sh

Environment Variables

GitHub에서 전체 README 보기

설치

npx -y @smithery/cli install @kirill-markin/example-mcp-server --client claude
MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →