Logo di Mcp Builder

Mcp Builder

CommunityPopolare
vudovn
mcp-builder

Sviluppo di server e client MCP (Model Context Protocol). Progettazione del protocollo, schemi, trasporti, estensioni, sicurezza e migrazione.

Add to TypingMind

Panoramica

Pubblicato davudovn
Repositoryag-kit
Nome della skillmcp-builder
Stelle
8.2K
Fork
1.5K
File inclusi
Solo istruzioni
LicenzaMIT
Link
  • Istruzioni in Markdown

    Un file SKILL.md che il modello carica quando serve, consumando token solo quando una richiesta è effettivamente pertinente.

  • Funziona con qualsiasi LLM

    Le skill IA sono in semplice Markdown, non in codice specifico di un fornitore, quindi funzionano con GPT, Claude, Gemini, Grok o un modello locale.

  • Tutto nelle istruzioni

    Tutto ciò che serve al modello è nelle istruzioni: nessun file aggiuntivo da sincronizzare.

  • Open source

    Pubblicata da vudovn su GitHub. Leggi i sorgenti prima di installarla.

Installazione

Installa la skill IA Mcp Builder in TypingMind per usarla con qualsiasi LLM, oppure copiala in un altro agente in grado di leggere SKILL.md.

1

Installa in TypingMind

TypingMind installa una skill direttamente dalla sua cartella GitHub: legge SKILL.md, raccoglie i file delle risorse e salva il risultato in locale.

  1. Apri l'app e vai su Plugin → Skill.
  2. Scegli "Installa da GitHub".
  3. Incolla l'URL della cartella della skill riportato qui sotto e conferma.
    https://github.com/vudovn/ag-kit/tree/main/.agents/skills/mcp-builder
  4. Attiva la skill in ogni chat in cui vuoi averla a disposizione.
Plugin → Skill → Aggiungi skill → Da URL GitHub, poi incolla l'URL della cartella e premi Continua.
2

Installa in un altro agente

Qualsiasi agente che legge il formato Agent Skills può usare questa skill: copia la cartella della skill nella directory delle skill di quell'agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/vudovn/ag-kit.git /tmp/ag-kit
mkdir -p .claude/skills
cp -r /tmp/ag-kit/.agents/skills/mcp-builder .claude/skills/mcp-builder
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva Mcp Builder in qualsiasi chat di TypingMind e al resto pensa il modello. Il nome e la descrizione della skill sono nel prompt di sistema e, non appena arriva una richiesta pertinente, il modello carica da solo le istruzioni complete: non devi mai richiamarla manualmente e non consuma token finché non viene effettivamente usata.

Il modello carica automaticamente Mcp Builder non appena riceve una richiesta pertinente.

Funziona con qualsiasi modello IA

Le skill IA sono semplici istruzioni in Markdown, non codice specifico di un fornitore, quindi Mcp Builder non è vincolata al modello per cui è stata scritta. Installala una sola volta in TypingMind e usala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modello locale che esegui tu, sempre con le tue chiavi API.

  • Caricata solo quando serve

    Il prompt di sistema contiene solo il nome e la descrizione. Le istruzioni vengono recuperate alla prima richiesta pertinente, quindi una skill inutilizzata non costa nulla.

  • Cambia modello durante la chat

    Poiché la skill è composta da istruzioni e non da codice, continua a funzionare anche se cambi modello: il nuovo modello legge lo stesso file SKILL.md.

Istruzioni della skill

Questo è il contenuto di SKILL.md che il modello carica. Leggilo prima dell'installazione: una skill è un insieme di istruzioni che il tuo modello seguirà.

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

LayerStatusEngineering rule
Base protocol, versioning, message patternsStable coreRequired for every implementation
Resources, prompts, tools, elicitationOptional core featuresAdvertise and check capabilities before use
Tasks, Skills over MCP, MCP AppsExtensionsOpt-in; require explicit support from both peers
Draft or vendor extensionsExperimental/vendor-specificIsolate 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.

text
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

TransportTypical useSecurity baseline
stdioLocal process integrationRead credentials from the environment; constrain process and filesystem access
Streamable HTTPRemote or shared serviceUse 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-size limits; and log resolved URIs without secrets.
  • Reject schemas with unresolved external references instead of treating them as permissive.
  • Bound schema depth, total subschemas, and validation time to prevent denial-of-service through composition keywords or recursive references.

5. Tool, resource, and prompt design

Tools

  • Use clear action names and a single responsibility.
  • Mark read-only, destructive, idempotent, or open-world behavior with annotations when useful, but treat annotations as untrusted hints unless the server itself is trusted.
  • Require explicit user approval for consequential actions.
  • Return stable machine-readable errors without internal stack traces or secrets.

Resources

  • Use stable URIs and MIME types.
  • Separate discovery metadata from resource content.
  • Apply authorization per resource, not only per server connection.
  • Avoid silently forwarding resource data to another server or model without user consent.

Prompts

  • Treat prompts as user-visible templates, not hidden authority.
  • Keep tool permissions and policy enforcement outside prompt text.
  • Validate prompt arguments and clearly identify any data sources included in generated messages.

6. Security requirements

  1. Consent and least privilege — expose only required data and obtain explicit approval before tool execution or data sharing.
  2. Untrusted metadata — do not use tool descriptions, annotations, client info, server info, or model-produced arguments as authorization evidence.
  3. Input and output validation — validate schemas, arguments, structured results, URIs, and content types at trust boundaries.
  4. Secret handling — load credentials from environment or a secret manager; never place real keys in repository configuration, logs, traces, prompts, or error payloads.
  5. Network controls — defend remote schema/resource fetching against SSRF, redirect abuse, oversized responses, and slow responses.
  6. Execution isolation — sandbox subprocesses and filesystem access; use explicit path grants and reject archive or symlink escapes.
  7. Auditability — record security-relevant decisions, approvals, tool identity, and result status without storing sensitive payloads unnecessarily.

7. Extensions

Extensions are negotiated independently from the core protocol.

ExtensionUseGuardrail
TasksLong-running work, polling, durable handles, mid-flight inputDo not use the older experimental task API; negotiate the extension
Skills over MCPDiscoverable structured agent instructionsTreat skill content as untrusted input and apply host policy
MCP AppsInteractive UI rendered in conversationsConstrain origins, content, data access, and action permissions

An adapter must fail gracefully when an extension is absent. Never silently downgrade a security requirement to preserve feature parity.


8. Deprecated features and migration

The 2026-07-28 specification deprecates legacy roots, sampling, and logging shapes while keeping a compatibility window. Do not remove compatibility abruptly, but avoid designing new architecture around deprecated forms.

Migration checklist from 2025-era implementations

  • Replace connection-scoped sessions and the initialize handshake with stateless per-request metadata.
  • Implement or consume server/discover for version and capability selection.
  • Move durable state behind explicit task, thread, workspace, or application handles.
  • Send and validate negotiated protocol version and client capabilities on every request.
  • Upgrade schema validation to JSON Schema 2020-12 by default.
  • Disable network $ref resolution by default and add validation resource limits.
  • Move experimental Tasks usage to the negotiated Tasks extension.
  • Accept legacy -32002 resource-not-found responses, but emit current error semantics.
  • Treat a missing resultType from older servers as "complete"; require it for current-version results.
  • Audit roots, sampling, and logging integrations for their documented replacements and deprecation timeline.
  • Add interoperability tests against at least one older peer and one 2026-07-28 peer.

9. Testing matrix

TestExpected evidence
ContractInvalid JSON-RPC, missing metadata, unsupported version/capability, schema dialect handling
StatelessnessInterleaved requests, reconnects, process reuse, explicit-handle recovery
Schema securityExternal $ref, recursive/composed schemas, depth/count/time limits
AuthorizationDenied resource/tool access, approval gates, credential isolation
Extension negotiationExtension absent, version mismatch, feature enabled, graceful fallback
CompatibilityCurrent peer plus supported older protocol revision
Failure handlingTimeouts, cancellation, partial results, structured errors, no secret leakage

10. Review checklist

  • Stable protocol version and extension status are documented.
  • Requests are stateless; cross-request state uses explicit handles.
  • Capabilities are negotiated and checked before optional operations.
  • JSON Schema 2020-12 is supported and validator resource use is bounded.
  • Network $ref resolution is disabled by default.
  • Tool annotations are not trusted as authorization.
  • User approval, least privilege, secret handling, and execution isolation are enforced outside prompts.
  • Deprecated features have a compatibility and migration plan.
  • Contract, security, extension, and cross-version tests pass.

Domande frequenti

Cosa fa la skill IA Mcp Builder?

Sviluppo di server e client MCP (Model Context Protocol). Progettazione del protocollo, schemi, trasporti, estensioni, sicurezza e migrazione.

Perché usare Mcp Builder su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. Mcp Builder è scritta in semplice Markdown anziché in codice specifico di un fornitore, quindi la stessa skill funziona con GPT-5, Claude, Gemini, Grok o un modello locale, e puoi cambiare modello durante la chat senza che la skill smetta di funzionare. TypingMind usa le tue chiavi API, quindi paghi direttamente i fornitori anziché un abbonamento per posto utente, e le tue skill e chat restano nel tuo spazio di archiviazione.

Come installo Mcp Builder in TypingMind?

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/vudovn/ag-kit/tree/main/.agents/skills/mcp-builder. TypingMind legge il file SKILL.md e installa la skill, che puoi abilitare per ogni singola chat.

Quali modelli IA possono usare Mcp Builder?

Qualsiasi modello che colleghi a TypingMind. Le skill IA sono semplici istruzioni in Markdown anziché codice specifico di un fornitore, quindi GPT, Claude, Gemini, Grok e i modelli locali possono tutti caricare questa skill quando una richiesta corrisponde al suo scopo.

Quanti modelli IA posso usare con Mcp Builder?

Quanti ne vuoi. Se un modello supporta le skill, puoi usarlo con Mcp Builder: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e molti altri, tutti su TypingMind con le tue chiavi API.

La skill IA Mcp Builder è gratuita?

Sì. È pubblicata su GitHub da vudovn con licenza MIT. Paghi solo il tuo fornitore IA per i token che usi.

Cosa sono le skill IA?

Una skill IA è un pacchetto di istruzioni riutilizzabili che insegna a un modello IA come svolgere un'attività specifica. Segue il formato aperto Agent Skills: un file SKILL.md con un nome e una descrizione, più eventuali script, template o file di riferimento di cui il modello potrebbe aver bisogno. Il modello legge le istruzioni solo quando la tua richiesta corrisponde alla skill, quindi una skill installata non comporta costi finché non viene usata.

In cosa si differenziano le skill IA dai plugin o dai server MCP?

Un plugin o un server MCP fornisce a un modello nuovi strumenti da richiamare: codice che viene eseguito da qualche parte e restituisce un risultato. Una skill IA, invece, fornisce al modello conoscenze e procedure: come affrontare un'attività, quali passaggi seguire e quali caratteristiche deve avere un buon output. Le skill sono semplici istruzioni in Markdown, quindi non richiedono server, chiavi API né ambienti di esecuzione e funzionano con qualsiasi modello.

Elenco completo

Crea subito il tuo spazio di lavoro AI

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇