PewterZz/sf-dog-shelter-finder
3.2
If you are the rightful owner of sf-dog-shelter-finder and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
This document provides a comprehensive overview of setting up and using a Model Context Protocol (MCP) server for a dog shelter finder application.
Tools
2
Resources
0
Prompts
0
How to run
Local Setup
- Clone the repository.
- Run
npm install
to install dependencies. - Copy
.env.example
to.env
and set the API keys. - Run
npm start
to start the server.
Docker Setup
- Build the Docker image:
docker build -t sf-dog-shelter-finder .
- Run the Docker container:
docker run -p 3000:3000 sf-dog-shelter-finder
Example API Calls
- List tools:
curl -X POST http://localhost:3000/api/mcp -H "Content-Type: application/json" -d '{"jsonrpc":"2.0","method":"tools/list","id":1}'
- Call shelter locator tool:
curl -X POST http://localhost:3000/api/mcp -H "Content-Type: application/json" -d '{"jsonrpc":"2.0","method":"tools/call","params":{"location":"San Francisco","radius":5},"id":2}'