mcp-builder
Fungsinya
Skill ini memandu AI Anda saat membangun koneksi yang memungkinkan asisten AI memakai alat dan data dari luar melalui Model Context Protocol. Skill ini untuk pengembang yang membuat server atau klien MCP sendiri.
Kapan dipakai
- βSaat Anda ingin membangun server MCP yang memberi AI akses ke alat atau data perusahaan Anda.
- βSaat Anda perlu memastikan klien dan server MCP bekerja sama dengan benar.
- βSaat Anda meningkatkan implementasi MCP lama ke spesifikasi terkini.
Link skill
https://github.com/vudovn/ag-kit/blob/main/.agents/skills/mcp-builder/SKILL.mdSalin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.
Cara pakai
Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.
Pesan siap tempel
Untuk Claude Code, Codex, atau Cursor: jalankan di folder proyek, lalu skill langsung terpasang.
Unduh SKILL.md lalu taruh di folder skill agen Anda.
Contoh permintaan ke AI
βBantu saya membangun server MCP yang memungkinkan AI saya membaca catatan dari basis data internal saya.β
5 skill baru setiap minggu. 1 menit baca.
Cara kerjanya
Skill menjelaskan aturan protokol, seperti cara versi dan fitur opsional disepakati oleh kedua pihak. AI mengikuti aturan tersebut saat menulis kode.
Konten teknis (SKILL.md asli)
Teks asli dari pembuat, dalam bahasa Inggris, langsung dari 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
Pertanyaan umum
Versi protokol apa yang dituju?
Skill menargetkan spesifikasi MCP stabil 2026-07-28 dan mencatat kompatibilitas dengan peer yang lebih lama.
Apakah ekstensi wajib?
Tidak. Ekstensi bersifat opsional dan harus disepakati kedua pihak sebelum dipakai.
Apakah ini mencakup keamanan?
Ya. Skill menyertakan panduan keamanan untuk implementasi MCP.
Detail
Deskripsi asli dari pembuat
MCP (Model Context Protocol) server and client engineering. Protocol design, schemas, transports, extensions, security, and migration.
repo: vudovn/ag-kit
Popularitas
- Bintang GitHub
- 8.2k
- Peringkat
- #12535
- Lisensi
- MIT
- Diperbarui
- 18/10/2026
Komentar
- β¦
Skill lain dari repositori ini
batch-operations
8.2kMembantu agent Anda membuat perubahan yang sama di banyak berkas sekaligus, misalnya mengganti nama fungsi atau mengganti impor lama di semua tempat.
brainstorming
8.2kMengajari agent Anda untuk mengajukan pertanyaan klarifikasi sebelum membangun sesuatu yang baru atau rumit, agar ia memahami tujuan Anda terlebih dahulu.
code-review-checklist
8.2kMemberi agent Anda daftar periksa untuk meninjau kode dari sisi kebenaran, keamanan, performa, pengujian, dan dokumentasi, termasuk risiko khusus AI.
code-review-graph
8.2kMembantu agent Anda meninjau kode dalam proyek besar dengan peta struktural, sehingga ia hanya membaca berkas yang terdampak oleh perubahan.
Skill serupa
mcporter
394kMembantu agent Anda mendaftar, memanggil, dan memeriksa server MCP beserta alatnya lewat HTTP atau stdio, serta mengatur pengaturan login mereka.
fastmcp
260kMembantu Anda membangun, menguji, dan menerapkan server MCP Python yang memberi asisten AI akses ke API, basis data, atau file Anda sebagai alat.
mcp-oauth-remote-gateway
260kMemandu Anda masuk dengan OAuth untuk server MCP jarak jauh saat Hermes berjalan di server, di mana proses masuk browser biasa tidak dapat menjangkaunya.