examples/: runnable examples - chat prompts, a 50-line agent of your own, and a zero-risk read-only demo

Abierto
#23 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
72/100
Tipo de issue
Documentación
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
javascript, macos, node.js

Línea de trabajo

Read the main README sections on Tools, Modes, and Without taking over your screen, then inspect mcp-server/tools.js and docs/use-cases/ to confirm the available tools and safe examples. Add one self-contained example under examples/ and list it in examples/README.md; link the examples from the main README. For the Node example, run it on macOS with permissions granted and document the expected output; done means the example follows the acceptance criteria.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

documentation good first issue

Why

The best way to get people building on computer-mcp is to show what it can do, end to end, in a form they can copy. The README explains the gates well, but there is no folder of runnable examples - neither prompts for chat clients nor code for people writing their own agent.

What to do

Add an examples/ folder with a few small, self-contained examples. Each one is a short README plus whatever it needs:

  1. Prompts for chat clients - tasks that show the background mode, for example: "fill in this form in the window behind me", "rename the screenshots on my Desktop in Finder", "draft a reply in Mail and wait for my yes". Say what the agent should do, which tools it ends up using, and what the person sees (box, icon, questions).
  2. Your own agent, in code - a minimal Node script using the client side of @modelcontextprotocol/sdk that starts npx -y @agent360/computer-mcp over stdio, lists the tools and calls computer_permissions and computer_screenshot. About 50 lines, so anyone can start from it.
  3. A read-only example with CMCP_MODE=readonly, for people who want to try it with zero risk.

Acceptance criteria

  • examples/README.md lists every example with one line each.
  • The code example runs with node on a Mac with the permissions granted, and its README says what output to expect.
  • Linked from the main README.
  • No example asks for anything the gates would refuse (password managers, etc.) - or if it does, it shows the refusal on purpose.

Pointers

README.md (Tools, Modes, Without taking over your screen), mcp-server/tools.js (tool definitions and descriptions), docs/use-cases/.

Good first issue: pick one example and send it on its own - several small PRs are better than one big one. If you have built something cool with computer-mcp, an example of it is very welcome too.

Lenguaje dominante
JavaScript
Estrellas
1
Forks
0
Merge medio
1 d 21 h
PR fusionados (30 d)
9

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de Agent360dk/computerMCP

Todos los issues de Agent360dk/computerMCP

Issues similares

Más issues de JavaScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.