MCP Waifu Queue (Gemini Edition)
@waifuai
MCP Waifu Queue (Gemini Edition) について
FastMCP server for asynchronous conversational AI using OpenRouter API via Redis queue/worker architecture. GPU inference support, environment-variable configuration, and deployment-ready setup.
基本情報
設定
以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。
{
"mcpServers": {
"mcp-waifu-queue": {
"command": "python",
"args": [
"-m",
"uv",
"venv",
".venv"
]
}
}
}ツール
1** Sends a text generation request to the OpenRouter API via the background queue.
概要
What is MCP Waifu Queue (Gemini Edition)?
MCP Waifu Queue (Gemini Edition) is an MCP server for a conversational AI “waifu” character. It uses the OpenRouter API (via a Redis queue) for asynchronous text generation and is built with the FastMCP library.
How to use MCP Waifu Queue (Gemini Edition)?
Install dependencies and configure OpenRouter API key and model selection (via environment variables or home‑directory files). Start a Redis server, then run the RQ worker (python -m mcp_waifu_queue.worker) and the MCP server (e.g., with uvicorn mcp_waifu_queue.main:app). Clients interact with the generate_text tool and the job://{job_id} resource.
Key features of MCP Waifu Queue (Gemini Edition)
- Text generation via OpenRouter using a configurable model.
- Request queuing with Redis for asynchronous processing.
- MCP‑compliant API using the FastMCP library.
- Job status tracking through MCP resources.
- API key loading from environment variables or file fallbacks.
- Pydantic‑based request and response validation.
Use cases of MCP Waifu Queue (Gemini Edition)
- Building a conversational AI assistant with a predefined character.
- Queuing long‑running text generation requests without blocking the client.
- Integrating a waifu chatbot into MCP‑compatible tools and agents.
- Offloading generation workloads to a background worker for scalability.
FAQ from MCP Waifu Queue (Gemini Edition)
What models can be used?
The server uses the model specified in ~/.model-openrouter or defaults to openrouter/free. You can use any model available via the OpenRouter API.
How do I get an OpenRouter API key?
Obtain a key from openrouter.ai and set it as the OPENROUTER_API_KEY environment variable or place it in ~/.api-openrouter.
What is Redis used for?
Redis is required to queue text generation requests. The RQ worker picks up jobs from the queue and processes them asynchronously.
How can I check the status of a submitted job?
After calling the generate_text tool, you receive a job_id. Use the job://{job_id} MCP resource to retrieve the job status and result.
What are the runtime dependencies?
Python 3.7+, a running Redis server, and the packages listed in requirements.txt. The server also needs an OpenRouter API key and network access to OpenRouter.
「AI とエージェント」の他のコンテンツ
MCP-NixOS - Because Your AI Assistant Shouldn't Hallucinate About Packages
utensilsMCP-NixOS - Model Context Protocol Server for NixOS resources
Open Multi-Agent Canvas
CopilotKitThe open-source multi-agent chat interface that lets you manage multiple agents in one dynamic conversation and add MCP servers for deep research
MCP Manager for Claude Desktop
zueaisimple web ui to manage mcp (model context protocol) servers in the claude app
Model Context Protocol Server for Home Assistant
tevonsbA MCP server for Home Assistant
Hass-MCP
voskaControl and query Home Assistant from Claude and other LLMs — a Model Context Protocol (MCP) server.
コメント