-
Notifications
You must be signed in to change notification settings - Fork 700
Closed
Labels
area/mcpdocumentationImprovements or additions to documentationImprovements or additions to documentation
Description
Similar to the auto-generated https://lima-vm.io/docs/reference/ , the documentation of the MCP tools should be generated from the output of limactl mcp info
, and should be uploaded to a page beneath https://lima-vm.io/docs/config/ai/outside/
limactl mcp info
{
"tools": [
{
"description": "Finds files matching specific glob patterns (e.g., src/**/*.ts, *.md)",
"inputSchema": {
"type": "object",
"required": [
"pattern"
],
"properties": {
"path": {
"type": [
"null",
"string"
],
"description": "The absolute path to the directory to search within. If omitted, searches the tool's root directory."
},
"pattern": {
"type": "string",
"description": "The glob pattern to match against (e.g., '*.py', 'src/**/*.js')."
}
},
"additionalProperties": false
},
"name": "glob"
},
{
"description": "Lists the names of files and subdirectories directly within a specified directory path.",
"inputSchema": {
"type": "object",
"required": [
"path"
],
"properties": {
"path": {
"type": "string",
"description": "The absolute path to the directory to list."
}
},
"additionalProperties": false
},
"name": "list_directory"
},
{
"description": "Reads and returns the content of a specified file.",
"inputSchema": {
"type": "object",
"required": [
"path"
],
"properties": {
"path": {
"type": "string",
"description": "The absolute path to the file to read."
}
},
"additionalProperties": false
},
"name": "read_file"
},
{
"description": "Executes a given shell command.",
"inputSchema": {
"type": "object",
"required": [
"command",
"directory"
],
"properties": {
"command": {
"type": "array",
"description": "The exact shell command to execute. Defined as a string slice, unlike Gemini's run_shell_command that defines it as a single string.",
"items": {
"type": "string"
}
},
"description": {
"type": "string",
"description": "A brief description of the command's purpose, which will be potentially shown to the user."
},
"directory": {
"type": "string",
"description": "The absolute directory in which to execute the command. Unlike Gemini's run_shell_command, this must not be a relative path, and must not be empty."
}
},
"additionalProperties": false
},
"name": "run_shell_command"
},
{
"description": "Searches for a regular expression pattern within the content of files in a specified directory. Internally calls 'git grep -n --no-index'.",
"inputSchema": {
"type": "object",
"required": [
"pattern"
],
"properties": {
"include": {
"type": [
"null",
"string"
],
"description": "A glob pattern to filter which files are searched (e.g., '*.js', 'src/**/*.{ts,tsx}'). If omitted, searches most files (respecting common ignores)."
},
"path": {
"type": [
"null",
"string"
],
"description": "The absolute path to the directory to search within. Defaults to the current working directory."
},
"pattern": {
"type": "string",
"description": "The regular expression (regex) to search for (e.g., 'function\\s+myFunction')."
}
},
"additionalProperties": false
},
"name": "search_file_content"
},
{
"description": "Writes content to a specified file. If the file exists, it will be overwritten. If the file doesn't exist, it (and any necessary parent directories) will be created.",
"inputSchema": {
"type": "object",
"required": [
"path",
"content"
],
"properties": {
"content": {
"type": "string",
"description": "The content to write into the file."
},
"path": {
"type": "string",
"description": "The absolute path to the file to write to."
}
},
"additionalProperties": false
},
"name": "write_file"
}
]
}
Metadata
Metadata
Assignees
Labels
area/mcpdocumentationImprovements or additions to documentationImprovements or additions to documentation