今回作成したコード Mastra + Ollama + MCP構成のサンプルコード(手っ取り早くローカルAIエージェントを使いたい人用) Streamable HTTP transportなMCPサーバー(デプロイ済なのでCloneは不要) Mastraの導入 mastraリポジトリのREADME.mdおよび、ニケちゃんさんの記事に従ってMastraを導入する。 というわけで、まずはMastraを導入する。Mastraの導入自体は簡単で下記のコマンドを一つ打つだけで良い。 $ npx create-mastra@latest Need to install the following packages: create-mastra@0.10.5 Ok to proceed? (y) y ┌ Mastra Create │ ◇ What do you want to name your pr
