MCP 스타터 서버
AI 어시스턴트 도구를 구축하기 위한 최소 ModelContextProtocol 서버 템플릿입니다. 이 스타터는 Claude와 같은 AI 어시스턴트와 함께 사용할 수 있는 MCP 도구를 만드는 데 필요한 기본 구조를 제공합니다.
특징
- 간단한 "hello world" 도구 예제
- TypeScript + esbuild 설정
- 미리 구성된 개발 도구
Claude를 사용하여 빌드하고 실행하기 위한 설정
- claude.ai/download 에서 Claude 데스크톱 앱을 다운로드하고 설치하세요.
- 저장소를 복제하고 종속성을 설치하고 빌드합니다.
지엑스피1
- Claude가 이 MCP 서버를 사용하도록 구성하세요. MCP 서버를 처음 사용하는 경우 이 프로젝트의 루트에서 다음을 실행하세요.
이렇게 하면 claude_desktop_config.json
에 다음과 같은 항목이 생성됩니다.
기존 MCP 서버가 있는 경우 기존 설정에 mcp-starter
블록을 추가하세요. args
<path_to_repo_on_your_machine>/mcp-starter/dist/index.cjs
경로라는 점이 중요합니다.
- Claude Desktop을 다시 시작합니다.
- 서버가 실행 중인지 확인하려면 Claude의 인터페이스에서 사용 가능한 도구의 수가 표시된 망치 아이콘을 찾으세요.
- 이 모든 것이 제대로 작동한다면
npm run dev
사용하여 MCP 서버를 개발하고 Claude에서 테스트할 수 있습니다. MCP 서버를 다시 시작할 때마다 Claude를 다시 시작해야 합니다.
Inspector를 사용하여 개발
개발 및 디버깅 목적으로 MCP Inspector 도구를 사용할 수 있습니다. Inspector는 MCP 서버 상호 작용을 테스트하고 모니터링할 수 있는 시각적 인터페이스를 제공합니다.
자세한 설정 지침은 Inspector 설명서를 참조하세요.
Inspector를 사용하여 로컬로 테스트하려면:
파일 변경 사항을 적용하려면 다음을 실행하세요.
또는 watcher와 inspector를 모두 실행합니다.
출판
서버를 배포할 준비가 되면 간단합니다!
- NPM 계정을 설정합니다.
npm publish
실행하세요.package.json
에 있는 프로젝트 이름을 사용하여 패키지를 게시합니다.- 게시된 후 다른 사용자는 다음과 같은 구성 항목으로 서버를 설치할 수 있습니다.
사용 가능한 도구
서버는 다음을 제공합니다.
hello_tool
: 이름 매개변수를 받아서 인사말을 반환하는 간단한 예제 도구
새로운 도구 만들기
새로운 도구를 추가하려면:
index.ts
에 도구 스키마를 정의합니다.ListToolsRequestSchema
핸들러의 도구 배열에 추가합니다.CallToolRequestSchema
핸들러에 구현을 추가합니다.
hello_tool
구현을 예로 들어 보겠습니다.
local-only server
The server can only run on the client's local machine because it depends on local resources.
Tools
이 서버는 ModelContextProtocol을 사용하여 AI 어시스턴트 도구를 만들기 위한 최소한의 템플릿을 제공하며, 간단한 'hello world' 도구 예제와 사용자 정의 MCP 도구를 구축하기 위한 개발 설정을 제공합니다.
Related Resources
Related MCP Servers
- -securityFlicense-qualityA TypeScript-based starter template for building Model Context Protocol servers that enables AI assistants to dynamically call tools, interpret prompts, and manage resources through modular architecture with support for multiple transport methods.Last updated -TypeScript
- -securityAlicense-qualityA template for building Model Context Protocol servers that allow AI assistants to interact with custom data and services through queryable resources and specialized tools.Last updated -TypeScriptMIT License
- AsecurityFlicenseAqualityA demonstration server based on Model Context Protocol (MCP) that showcases how to build custom tools for AI assistants, providing mathematical calculation and multilingual greeting capabilities.Last updated -3TypeScript
- -securityFlicense-qualityA starter template for building Model Context Protocol servers that can integrate AI assistants with custom tools, resource providers, and prompt templates.Last updated -JavaScript
Appeared in Searches
- Proof-of-Concept Examples for Multi-Component Processes (Model Context Protocol)
- List of This Week's 15 Most Popular Free Minecraft Servers
- A customizable and widely supported Minecraft server
- Setting Up AI Employee Tools on Docker Containers with MCP Servers
- Free and easy-to-setup Minecraft server hosting for solo web developers