minia_mcp_server
v0.1.1Built-in MCP server for minia (filesystem, command, and code tools)
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
cache Cache
Unified cache operations: get/set/clear/list/stats.
| Parameter | Type | Description |
|---|---|---|
operation * | string | One of ``get``, ``set``, ``clear``, ``list``, ``stats``. |
json_output | boolean | If True, returns structured JSON instead of formatted text. |
key | Cache key (required for ``get`` / ``set``). | |
pattern | Glob pattern for ``clear`` / ``list`` (e.g. ``foo*``). A ``None`` pattern matches everything. | |
ttl | Optional expiry in seconds (for ``set``). | |
value | Value to store (for ``set``). |
summarize_python_structure Summarize Python Structure
Extracts Python's code structure (single file or directory). Returns a string with a success message and JSON data including imports, functions, classes, and an indented text representation with method signatures and code snippets (first 5 lines of each body). Note: This tool shows structure and snippets, not full file content.
| Parameter | Type | Description |
|---|---|---|
file_path * | string | Path to a Python file or directory. |
include_docstrings | boolean | If True, include docstrings in the output. |
json_output | boolean | If True, return a JSON response instead of plain text. |