mix mcpixir.filesystem (Mcpixir v0.1.0)
View SourceDemonstrates using Mcpixir to interact with the filesystem via MCP.
This task allows querying and manipulating the filesystem using natural language commands processed by an LLM.
Usage
mix mcpixir.filesystem
Options
--provider=PROVIDER LLM provider (openai or anthropic, default: openai)
--model=MODEL Model to use (default: gpt-4o for OpenAI, claude-3-sonnet-20240229 for Anthropic)
--query=QUERY Query to send to the LLM (default lists files in current dir)
--path=PATH Directory path to use for filesystem operations (default: current directory)
Examples
mix mcp.filesystem
mix mcp.filesystem --provider=anthropic
mix mcp.filesystem --path=/tmp --query="Create a text file named test.txt with hello world in it"