Feature: expose tool input schemas in CLI mode

Abierto
#3,057 1 comentario 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
55/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
c
Área
cli

Línea de trabajo

Start by locating the CLI argument parsing and per-tool help code, then find the existing input schema source it uses. Trace how CLI-specific flag names and aliases are represented and how command startup opens the index or starts an MCP session. Done means a schema command prints the selected tool's argument names, types, defaults, and applicable CLI names as JSON, then exits without starting a session or opening an index.

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

Descripción

editor/integration enhancement
Problem

I use the local CLI from scripts and coding agents. codebase-memory-mcp cli search_code --help is useful for people, but a script has to scrape it or keep its own copy of the supported arguments. For example, the ranked-page flag is --result-offset on search_code and --offset on search_graph. Our local checker has to keep that distinction in a small version-specific table.

Request

Could the CLI expose a tool's argument schema as JSON, for example:

codebase-memory-mcp cli --schema search_code

The exact spelling is flexible. The command would print the schema on stdout and exit without opening an index or starting an MCP session. Reusing the schema that already powers per-tool help would give local automation a stable way to check names, types, and defaults. If there are CLI-specific flag names or aliases, it would be useful to include those too.

I checked the CLI on v0.12.1. This is about input discovery, not making tool results JSON by default (see #2298).

Lenguaje dominante
C
Estrellas
45.8k
Forks
3.8k
Merge medio
2 d 18 h
PR fusionados (30 d)
108

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

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 DeusData/codebase-memory-mcp

Todos los issues de DeusData/codebase-memory-mcp

Issues similares

Más issues de C

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.