Four part blog series, start here: https://www.lorenstew.art/blog/llm-tools-1-chatbot-to-agent
Full application with authentication and streaming is all set up. All you need is an Open Router API key. Then update the logic in the MCP servers to suit your needs. You'll have your own system up and running quickly.