minia_mcp_server

v0.1.1
minia_mcp_server Checked 2 days ago Published 3 months ago

Built-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.

ParameterTypeDescription
operation *stringOne of ``get``, ``set``, ``clear``, ``list``, ``stats``.
json_outputbooleanIf True, returns structured JSON instead of formatted text.
keyCache key (required for ``get`` / ``set``).
patternGlob pattern for ``clear`` / ``list`` (e.g. ``foo*``). A ``None`` pattern matches everything.
ttlOptional expiry in seconds (for ``set``).
valueValue 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.

ParameterTypeDescription
file_path *stringPath to a Python file or directory.
include_docstringsbooleanIf True, include docstrings in the output.
json_outputbooleanIf True, return a JSON response instead of plain text.