Ir al contenido

McpTool

Una herramienta que un servidor MCP les ofrece a los agentes: su nombre, qué hace y si solo lee.

import McpTool from '@sypnia/ui/astro/McpTool.astro'

En esta página
  1. Una herramienta que lee y una que escribe
  2. Cuándo usarlo
  3. Para todos

Una herramienta que lee y una que escribe

list_tablesHerramientaSolo lee
The tables of the project, with their row counts.
insert_rowsHerramientaCambia datos
Adds rows to a table. The agent asks before it runs.
Código
---
import McpTool from '@sypnia/ui/astro/McpTool.astro';
---
<div class="sy-docs sy-stack" style="min-height:0;background:none;--gap:var(--s-4)">
  <McpTool name="list_tables" readOnly>The tables of the project, with their row counts.</McpTool>
  <McpTool name="insert_rows" readOnly={false}>Adds rows to a table. The agent asks before it runs.</McpTool>
</div>

Cuándo usarlo

Úsalo cuando

  • La referencia de un servidor MCP.

No lo uses cuando

  • Endpoints de una API: eso es Endpoint.

Para todos

  • «Solo lee» y «Cambia datos» son palabras, no solo colores.
  1. Una herramienta que lee y una que escribe
  2. Cuándo usarlo
  3. Para todos

    Busca páginas, secciones y términos