0Pricing
MCP Academy · Lección

Delimitar el proyecto y las herramientas

Decida qué capacidades expondrá su servidor.

Delimitar el proyecto y las herramientas es una lección gratuita de MCP Academy en CoddyKit. Esta es la lección 1 de 4. Puedes leer la lección completa abajo gratuitamente — luego la practicas en el navegador con un editor de código integrado y un tutor de IA 24/7. Forma parte de la ruta de aprendizaje de MCP Academy, y tu progreso se sincroniza en la web y la app de CoddyKit. El curso de MCP Academy incluye 4 lecciones en total.

Partes de esta lección aún no han sido traducidas y se muestran en inglés.

Time to Ship Something Real

You have learned the pieces; now you build a complete server. This capstone wraps one real service into a tidy, installable MCP server. 🚀

Start with the User Goal

Before any code, name the job your server helps with. A clear goal like search my notes keeps every later decision focused and small.

Pick One Real Service

Choose a single concrete backend: a notes folder, a SQLite database, or one public API. One source keeps the capstone shippable, not sprawling.

List the Capabilities

Write down what the AI should be able to do, like search, read, and add. This short capability list becomes your map of tools and resources.

Sort Actions from Reads

Split your list: things that change state are tools, things that only fetch context are resources. This sorting decides each primitive up front.

Sketch the Tool Signatures

For each tool, jot a name, its arguments, and what it returns. A quick signature sketch catches missing inputs long before you write logic.

# add_note(title: str, body: str) -> str
# search_notes(query: str) -> list[str]
# A two-line sketch is enough to start.

Plan One Resource

Pick one piece of read-only context to expose as a resource, such as a single note by its id. Resources feed the model without taking action.

Plan One Prompt

Add one reusable prompt the user can trigger, like summarize this note. Prompts package your best instructions so callers do not retype them.

Define Done Early

Decide what finished looks like now: the server loads, lists three tools, and answers one real query. A clear scope stops endless feature creep.

Name the Server

Give your project a short, descriptive name like notes-mcp. Clients show this name to users, so make it instantly tell people what it does.

from mcp.server.fastmcp import FastMCP

mcp = FastMCP("notes-mcp")

Write a Tiny Spec

Capture the plan in one short spec file: goal, backend, tools, resource, and prompt. This page becomes your checklist as you build the rest.

Quick Check

Let us confirm how you sort capabilities.

Recap

You scoped a real project: one goal, one backend, and a tight list of tools, a resource, and a prompt. A clear plan makes the build easy. 🎯

Preguntas frecuentes

¿La lección «Delimitar el proyecto y las herramientas» es gratis?

Sí — el texto completo de «Delimitar el proyecto y las herramientas» es gratis para leer aquí en la web. Para practicarla de forma interactiva (editor de código integrado y tutor de IA 24/7) y desbloquear el resto del curso de MCP Academy, actualiza a CoddyKit PRO. El curso de MCP Academy incluye 4 lecciones en total.

¿Qué aprenderé en «Delimitar el proyecto y las herramientas»?

Decida qué capacidades expondrá su servidor. Practicas MCP Academy con código real que ejecutas directamente en el navegador, y un tutor de IA 24/7 responde tus preguntas mientras trabajas en la lección.

¿Necesito experiencia previa para empezar MCP Academy?

No se requiere experiencia previa. MCP Academy en CoddyKit está estructurado para principiantes hasta estudiantes avanzados, así que puedes empezar aquí o desde el inicio y avanzar a tu ritmo. Esta es la lección 1 de 4.

¿Cuánto tiempo toma la lección «Delimitar el proyecto y las herramientas»?

La mayoría de las lecciones de CoddyKit toman alrededor de 5–10 minutos. Cada una es compacta e interactiva, así que avanzas constantemente y retomas exactamente por donde dejaste en la web y la app.

¿Puedo escribir y ejecutar código en esta lección de MCP Academy?

Sí. Cada lección de MCP Academy incluye un editor de código integrado, así que escribes y ejecutas código real directamente en tu navegador y obtienes retroalimentación instantánea de IA — sin configuración local necesaria.

Todas las lecciones de este curso

  1. Delimitar el proyecto y las herramientas
  2. Implementar herramientas, recursos y prompts
  3. Probar, inspeccionar y reforzar
  4. Documentar y publicar el servidor
← Volver a MCP Academy