mix mcpixir (Mcpixir v0.1.0)
View SourceMcpixir example tasks demonstrating the library's capabilities.
Mcpixir is an Elixir library to connect LLMs (Language Learning Models) to MCP (Machine Control Protocol) servers.
Available Tasks
mix mcpixir.chat
- Runs a chat example with an LLMmix mcpixir.airbnb
- Runs an Airbnb search example with an LLMmix mcpixir.blender
- Runs a Blender 3D modeling example with an LLMmix mcpixir.browser
- Runs a web browser automation example with an LLMmix mcpixir.filesystem
- Runs a filesystem interaction example with an LLMmix mcp.http
- Runs an HTTP MCP server example with an LLMmix mcp.multi
- Runs a multi-server example with an LLM
API Keys
To use these examples, you'll need valid API keys for either OpenAI or Anthropic. Set them in your environment variables:
export OPENAI_API_KEY=your-openai-key
export ANTHROPIC_API_KEY=your-anthropic-key
Global Options
Most tasks support these common options:
--provider=[openai|anthropic]
- LLM provider to use--model=MODEL
- Specific LLM model to use--query=QUERY
- The query to send to the LLM
Examples
mix mcpixir # Show this help
mix mcpixir.chat # Run chat example with OpenAI
mix mcpixir.airbnb --provider=anthropic # Run Airbnb example with Anthropic