This is a simple MCP server built with FastMCP that connects to Goose and fetches random dog images using the Dog API. MCP--UI support has been added
You'll build this project step-by-step in the workshop!
- Node.js 22.x (recommended via nvm)
- npm
- Goose Desktop
- (Recommended)
nvm(Node Version Manager) — makes using the.nvmrceasy
Clone the project and install dependencies:
git clone https://github.com/EbonyLouis/fastmcp-boilerplate.git dog-mcp
cd dog-mcp
nvm use --install # make sure you DO this step
npm installIf you see the error command not found: nvm, install Node manually or install nvm first, then rerun nvm use --install
After any changes build the project, & connect it to Goose using:
npm run buildThen in Goose Desktop, add the extension with:
node /Users/[userdirectory]/dog-mcp/dist/server.jsThis connects your local server to Goose using the compiled version.
You’ll build and connect the server live by:
- Writing a tool that fetches a random dog image
- Connecting it to Goose
- Prompting Goose to try it out
- Adding a second tool to fetch dogs by breed
The server.ts file starts simple and will be updated live.
- Build the project (required after each code change if you're using
node dist/server.js):
npm run buildCheck out:
🐾 Built with love and dog pics.