mcp-builder
하는 일
이 스킬은 AI 어시스턴트가 Model Context Protocol을 통해 외부 도구와 데이터를 쓸 수 있도록 연결을 만들 때 AI를 안내합니다. 직접 MCP 서버나 클라이언트를 만드는 개발자를 위한 스킬입니다.
사용하는 경우
- ✓AI가 회사 도구나 데이터에 접근하도록 MCP 서버를 만들고 싶을 때.
- ✓MCP 클라이언트와 서버가 올바르게 함께 동작하는지 확인해야 할 때.
- ✓오래된 MCP 구현을 현재 명세에 맞게 올리는 경우.
스킬 링크
https://github.com/vudovn/ag-kit/blob/main/.agents/skills/mcp-builder/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“제 AI가 내부 데이터베이스의 기록을 읽을 수 있도록 MCP 서버 만드는 것을 도와주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
이 스킬은 두 쪽이 버전과 선택 기능을 어떻게 합의하는지 같은 프로토콜 규칙을 설명합니다. AI는 코드를 쓸 때 그 규칙을 따릅니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
MCP Builder
Build interoperable MCP implementations against the stable 2026-07-28 specification. Treat extensions as negotiated, opt-in capabilities rather than core protocol guarantees.
1. Stable baseline and compatibility
- The authoritative stable baseline is MCP 2026-07-28.
- Core requests are stateless and self-contained. Do not infer protocol version, client capabilities, identity, conversation, or task state from a transport connection or process lifetime.
- Put cross-request state behind explicit identifiers supplied on every relevant request.
- Negotiate the protocol version and capabilities; do not assume that a client or server implements every optional feature.
- Preserve compatibility with earlier peers where the specification requires it, including accepting legacy resource-not-found error code
-32002while emitting-32602for invalid parameters in the current protocol.
Core versus extensions
| Layer | Status | Engineering rule |
|---|---|---|
| Base protocol, versioning, message patterns | Stable core | Required for every implementation |
| Resources, prompts, tools, elicitation | Optional core features | Advertise and check capabilities before use |
| Tasks, Skills over MCP, MCP Apps | Extensions | Opt-in; require explicit support from both peers |
| Draft or vendor extensions | Experimental/vendor-specific | Isolate behind adapters and feature flags |
Never label an extension as stable merely because one SDK or host supports it. Check the extension's own official status and version.
2. Architecture
MCP uses JSON-RPC 2.0 between hosts, clients, and servers.
host application
└─ MCP client / runtime adapter
├─ stdio transport
└─ Streamable HTTP transport
└─ MCP server
├─ resources
├─ prompts
└─ tools
Stateless request model
Every request must carry the protocol metadata required by the negotiated version. For 2026-07-28 this includes per-request protocol version and client capability metadata under reserved _meta keys.
Servers must implement server/discover for protocol-version and capability discovery. Clients may call it before normal requests or use it as a backward-compatibility probe for stdio peers.
Do not:
- use a stdio process as a conversation or session boundary;
- depend on request ordering to establish capabilities or identity;
- keep hidden mutable state without an explicit handle;
- use self-reported client/server information for authorization decisions.
Do:
- make task, thread, workspace, or subscription handles explicit;
- validate every request independently;
- tolerate interleaved requests from unrelated tasks;
- document lifecycle, expiry, and cleanup for durable handles.
3. Transports and authentication
| Transport | Typical use | Security baseline |
|---|---|---|
stdio |
Local process integration | Read credentials from the environment; constrain process and filesystem access |
| Streamable HTTP | Remote or shared service | Use the MCP HTTP authorization framework, validate origins where applicable, and enforce network boundaries |
WebSocket is not a standard MCP transport unless defined by a separately negotiated extension or vendor adapter.
Transport concerns must not leak into protocol semantics. Reconnection or process replacement must not destroy logical state that is represented by an explicit durable handle.
4. Schema design and validation
MCP defaults to JSON Schema 2020-12 when $schema is absent. Implementations must support that dialect and should document any additional dialects.
Tool input schemas
- Use an object root for tool arguments.
- Give every property a clear, action-oriented description.
- Declare required fields explicitly.
- Prefer narrow enums, bounds, formats, and
additionalProperties: falsewhere forward compatibility does not require open objects. - Validate both the schema and each invocation payload.
Tool output schemas
Use structured content and outputSchema when consumers need typed, predictable results. Keep human-readable text concise and ensure structured output remains the source of truth for automation.
$ref and validator safety
- Never dereference network
$refvalues automatically. - If remote dereferencing is explicitly enabled, use a host allowlist; reject loopback, link-local, and private addresses; apply timeouts and response
자주 묻는 질문
어떤 프로토콜 버전을 대상으로 하나요?
안정 버전인 2026-07-28 MCP 명세를 대상으로 하며, 이전 버전 상대와의 호환성도 함께 다룹니다.
확장 기능은 꼭 필요한가요?
아닙니다. 확장은 선택 사항이며, 사용하기 전에 양쪽이 모두 합의해야 합니다.
보안도 다루나요?
네. MCP 구현을 위한 보안 지침을 포함합니다.
상세 정보
작성자의 원본 설명
MCP (Model Context Protocol) server and client engineering. Protocol design, schemas, transports, extensions, security, and migration.
repo: vudovn/ag-kit
인기도
- GitHub 스타
- 8.2k
- 순위
- #12535
- 라이선스
- MIT
- 업데이트
- 2026. 10. 18.
댓글
- …
이 저장소의 다른 스킬
batch-operations
8.2k에이전트가 함수 이름 바꾸기나 오래된 import 교체처럼 같은 변경을 여러 파일에 한꺼번에 적용하도록 돕습니다.
brainstorming
8.2k에이전트가 새로운 것이나 복잡한 것을 만들기 전에 명확한 질문을 하도록 가르쳐 목표를 먼저 이해하게 합니다.
code-review-checklist
8.2k에이전트에게 정확성, 보안, 성능, 테스트, 문서를 검토하는 체크리스트를 주고, AI 관련 위험도 포함합니다.
code-review-graph
8.2k에이전트가 구조 지도를 이용해 큰 프로젝트의 코드를 검토하도록 돕고, 변경과 관련된 파일만 읽게 합니다.
비슷한 스킬
mcporter
394k에이전트가 HTTP나 stdio로 MCP 서버와 그 도구를 목록화하고, 호출하고, 점검하며, 로그인 설정을 관리하도록 돕습니다.
fastmcp
260kAPI, 데이터베이스, 파일에 AI 어시스턴트가 도구로 접근할 수 있도록 Python MCP 서버를 만들고 테스트하고 배포하도록 돕습니다.
mcp-oauth-remote-gateway
260kHermes가 서버에서 실행될 때 일반 브라우저 로그인이 닿지 않는 경우를 위해, 원격 MCP 서버의 OAuth 로그인을 단계별로 안내합니다.