mix mcpixir.http (Mcpixir v0.1.0)
View SourceDemonstrates using Mcpixir to connect to an MCP server via HTTP.
This task connects to an MCP server running on a specific HTTP port and sends queries via an LLM.
Prerequisites
Before running this task, you need to start the Playwright MCP server in another terminal with:
npx @playwright/mcp@latest --port 8931
Usage
mix mcpixir.http
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 is restaurant search)
--url=URL MCP server URL (default: http://localhost:8931/sse)
Examples
mix mcpixir.http
mix mcpixir.http --provider=anthropic
mix mcpixir.http --query="Find hotels in New York with rooftop bars"