MCP Server Template for Cursor IDE
커서 IDE용 MCP 서버 템플릿
모델 컨텍스트 프로토콜(MCP)을 사용하여 Cursor IDE용 사용자 지정 도구를 만드는 간단한 템플릿입니다. 이 템플릿을 사용하여 자체 저장소를 만들고, 도구를 수정한 후 Cursor IDE에 연결하세요.

빠른 시작
"Heroku에 배포" 버튼을 클릭하세요
배포 후 커서를 구성합니다.
커서 설정 → 기능 열기
새로운 MCP 서버 추가
/sse경로와 함께 Heroku URL을 사용하세요(예:https://<your-app-name>.herokuapp.com/sse)
커서에서 에이전트의 기분을 테스트하세요:
담당 직원에게 "저희 서버분 기분이 어떤지 물어보시고 알려주세요."라고 물어보세요.
서버는 즐거운 메시지와 하트로 응답할 것입니다 ❤️
Related MCP server: MCP Server Template for Cursor IDE
대체 설정 방법
Docker, 기존 Python 설정 또는 Cursor IDE에서 직접 사용하는 세 가지 방법으로 서버를 실행할 수 있습니다.
도커 설정
이 프로젝트에는 쉬운 배포를 위한 Docker 지원이 포함되어 있습니다.
초기 설정:
지엑스피1
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서버는 다음 위치에서 사용할 수 있습니다.
SSE 엔드포인트: http://localhost:8000/sse
빠른 테스트:
# Test the server endpoint
curl -i http://localhost:8000/sse커서 IDE에 연결:
커서 설정 열기 → 기능
새로운 MCP 서버 추가
유형: "sse"를 선택하세요
URL:
http://localhost:8000/sse입력하세요
전통적인 설정
먼저, uv 패키지 관리자를 설치하세요.
# Install uv on macOS
brew install uv
# Or install via pip (any OS)
pip install uvstdio(기본값) 또는 SSE 전송을 사용하여 서버를 시작합니다.
# Install the package with development dependencies
uv pip install -e ".[dev]"
# Using stdio transport (default)
uv run mcp-hitchcode
# Using SSE transport on custom port
uv run mcp-hitchcode --transport sse --port 8000
# Run tests
uv run pytest -v설치 후 서버를 Cursor IDE에 직접 연결할 수 있습니다.
Cursor에서
cursor-run-mcp-server.sh파일을 마우스 오른쪽 버튼으로 클릭합니다.절대 경로를 복사하려면 "경로 복사"를 선택하세요.
커서 설정 열기(기어 아이콘)
기능 탭으로 이동
"MCP 서버"까지 아래로 스크롤하세요.
"새 MCP 서버 추가"를 클릭하세요.
양식을 작성하세요:
이름: 원하는 이름을 선택하세요(예: "my-mcp-server-1")
유형: "stdio"를 선택하세요(서버를 로컬로 실행하므로 "sse"가 아닙니다)
명령어: 앞서 복사한
cursor-run-mcp-server.sh파일의 절대 경로를 붙여넣습니다. 예:/Users/kirillmarkin/weaviate-mcp-server/cursor-run-mcp-server.sh
환경 변수
사용 가능한 환경 변수( .env 에서 설정 가능):
MCP_SERVER_PORT(기본값: 8000) - 서버를 실행할 포트MCP_SERVER_HOST(기본값: 0.0.0.0) - 서버를 바인딩할 호스트DEBUG(기본값: false) - 디버그 모드 활성화MCP_USER_AGENT- 웹사이트 가져오기를 위한 사용자 정의 사용자 에이전트
추가 옵션
Smithery를 통해 설치
Smithery를 통해 Claude Desktop용 Cursor IDE용 MCP 서버 템플릿을 자동으로 설치하려면:
npx -y @smithery/cli install @kirill-markin/example-mcp-server --client claudeGlama 서버 리뷰
Available Tools
12 toolsapply_prompt_changeC
Provides a prompt for systematically handling change requests
Inputs: change_request (required), specific_instructions, version.
apply_prompt_dockerC
Provides a prompt template for Docker container configurations and orchestration
Inputs: containerization_objective (required), specific_instructions, version.
apply_prompt_fixC
Provides a prompt for performing root cause analysis and fixing issues
Inputs: issue (required), specific_instructions, version.
apply_prompt_fix_linterB
Provides a prompt for analyzing and fixing linter errors
Inputs: issue (required), specific_instructions, version.
apply_prompt_infraC
Provides a prompt template for laying out system infrastructure and tool stack information
Inputs: infrastructure_info (required), specific_instructions, version.
apply_prompt_initialC
Provides an initial prompt template for starting a new project
Inputs: objective (required), specific_instructions, version.
apply_prompt_proceedC
Provides a prompt template for proceeding with a task or project
Inputs: task (required), specific_instructions, version.
apply_prompt_unit_testsC
Provides a prompt for generating unit tests for code
Inputs: code_to_test (required), specific_instructions, version.
fetch_railway_docsC
Fetches the most recent Railway CLI documentation. Optionally, provide a custom URL.
Inputs: url.
fetch_railway_docs_optimizedB
Fetches the most recent Railway CLI documentation. Optionally, provide a custom URL.
Inputs: url.
mcp_fetchC
Fetches a website and returns its content
Inputs: url (required).
moodA
Ask the server about its mood - it's always happy!
Inputs: question (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 12 tools
The tool set has significant ambiguity, particularly between the 'apply_prompt_*' tools which all provide prompt templates for different contexts but could easily be confused by an agent due to overlapping purposes (e.g., 'apply_prompt_fix' vs 'apply_prompt_fix_linter' for fixing issues). Additionally, 'fetch_railway_docs' and 'fetch_railway_docs_optimized' appear to do the same thing with unclear distinctions, leading to potential misselection.
Most tools follow a consistent snake_case pattern with clear verb_noun structures (e.g., 'apply_prompt_change', 'fetch_railway_docs'), which aids readability. However, there are minor deviations: 'mood' breaks the pattern by being a single noun without a verb, and the duplication in 'fetch_railway_docs' vs 'fetch_railway_docs_optimized' introduces inconsistency in naming for similar functions.
With 12 tools, the count is borderline but reasonable for a template server aimed at Cursor IDE, which might cover various development tasks. However, the set feels slightly heavy due to redundant tools like the two Railway docs fetchers and multiple similar prompt tools, suggesting some consolidation could improve coherence without losing functionality.
The server's domain appears to be development assistance with prompt templates and documentation fetching, but there are significant gaps. For example, it lacks tools for code generation, debugging, or version control integration, which are common in IDE contexts. The inclusion of a trivial 'mood' tool further detracts from covering essential workflows, making the surface incomplete for practical agent use in development tasks.
Maintenance
Related MCP Connectors
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
The Mercado Pago MCP Server implements the Model Context Protocol to provide AI agents and LLMs with access to Mercado Pago's APIs and tools within compatible development environments. It acts as an intermediary that translates Mercado Pago resources into executable functions (tools) that AI applications can invoke to perform actions and automate flows. The server simplifies integration, enables using documentation to implement or improve code, and optimizes operations through natural language interactions without manual implementations.
A Model Context Protocol server for Wix AI tools
The OpenRouter MCP server plugs OpenRouter into the AI tools you already use. Once connected, your assistant can pull live OpenRouter data (models, prices, your credits, rankings, and docs) and send quick test messages, all without leaving your editor.
Related MCP Servers
- AlicenseBqualityDmaintenanceA simple template for creating custom tools for Cursor IDE using Model Context Protocol, deployable via Heroku, Docker, or directly within Cursor IDE.25MIT
- AlicenseBqualityDmaintenanceA template for creating and connecting custom tools to Cursor IDE using Model Context Protocol with support for cheerful server responses.41MIT
- AlicenseBqualityDmaintenanceA template for creating custom tools for Cursor IDE using Model Context Protocol that allows users to deploy their own MCP server to Heroku and connect it to Cursor IDE.22MIT
- AlicenseCqualityDmaintenanceA starter template for building Model Context Protocol servers that can be integrated with Cursor or Claude Desktop, allowing developers to create custom tools and extensions for AI assistants.114ISC