본문으로 건너뛰기
Skillpedia
커넥터 (MCP)8.2k · #12535

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가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/vudovn/ag-kit/blob/main/.agents/skills/mcp-builder/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

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 -32002 while emitting -32602 for 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: false where 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 $ref values 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.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬