
이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
instructa/mcp-starter는 MCP 서버 후보가 https://github.com/instructa/mcp-starter.에서 가져온
개요
instructa/mcp-starter는 MCP 서버 후보가 https://github.com/instructa/mcp-starter.에서 가져온
개요(AI 번역)
–> 로그인
** 자체 MCP 서버를 구축하려면? **
MCP Server Starter는 MCP 표준을 사용하여 Cursor, Claude 및 기타와 로컬 도구를 실행하는 기본 구조를 제공합니다.
특징
-
Flexible 통신
-
클라이언트와 서버 간의 다중 통신 프로토콜을 지원합니다.
-
stdio: 지역 사용 -
Streamable HTTP: 원격 및 로컬 사용 -
sse: 원격 및 로컬 사용(이전)~~ -
☸ ** 소수 설정 ** - 기본 서버 구현으로 신속하게 시작하십시오.
-
LOG **Cursor AI 통합 ** - 예제를 포함
.cursor/mcp.json구성. -
️ TypeScript - 프로젝트의 유형 안전을 추가합니다.
도도
- [ ] 자신의 패키지를 게시 할 수있는 옵션 추가
- [ ] 더 나은 CLI 지원
- [ ] 비행에 공구를 구축하는 Prompts
시작하기
# 필수품
- Node.js (필수 버전 지정)
- MCP 호환 클라이언트 (예 : Cursor)
사용법
지원된 수송 선택권
모형 Context 의정서는 다수 수송 방법을 지원합니다.
스트로
로컬 설정에 대한 추천
코드 편집기 지원
아래 코드 스니펫 추가
- 커서:
.cursor/mcp.json
Local 개발/테스트
이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.
README
원문 README의 일부입니다. 원문 보기.
MCP Server Starter
Want to build your own MCP server?
MCP Server Starter gives you a basic structure to run local tools with Cursor, Claude, and others using the MCP standard.
Features
-
📡 Flexible Communication
- Supports multiple communication protocols between client and server,
stdio: Local usageStreamable HTTP: Remote and local useagesse: Remote and local usage (deprecated)~~
-
📦 Minimal Setup - Get started quickly with a basic server implementation.
-
🤖 Cursor AI Integration - Includes example
.cursor/mcp.jsonconfiguration. -
⌨️ TypeScript - Add type safety to your project.
Todo
- [ ] Add option to publish your own packages
- [ ] Better CLI support for scaffolding
- [ ] Prompts to build tools on the fly
Getting Started
Prerequisites
Usage
Supported Transport Options
Model Context Protocol Supports multiple Transport methods.
stdio
Recommend for local setups
Code Editor Support
Add the code snippets below
- Cursor:
.cursor/mcp.json
Local development/testing
Use this if you want to test your mcp server locally
{
"mcpServers": {
"my-starter-mcp-stdio": {
"command": "node",
"args": ["./bin/cli.mjs", "--stdio"]
}
}
}
Published Package
Use this when you have published your package in the npm registry
{
"mcpServers": {
"my-starter-mcp-stdio": {
"command": "npx",
"args": ["my-mcp-server", "--stdio"]
}
}
}
Streamable HTTP
Important: Streamable HTTP is not supported in Cursor yet
Recommend for remote server usage
Important: In contrast to stdio you need also to run the server with the correct flag
Local development
Use the streamable http transport
- Start the MCP Server Run this in your terminal
node ./bin/cli.mjs --http --port 4200
Or with mcp inspector
npm run dev-http
설치
npx my-mcp-server --stdio설정
{
"mcpServers": {
"my-starter-mcp-stdio": {
"command": "node",
"args": ["./bin/cli.mjs", "--stdio"]
}
}
}