Dog API MCP Server
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Dog API MCP ServerTell me about the Labrador Retriever breed."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
FastMCP Dog API Server š¶
A production-ready Model Context Protocol (MCP) server built with Python, FastMCP, FastAPI, and HTTPX to provide dog breed data from the Dog API. Designed for seamless integration with AI assistants like Gemini, Claude, Cursor, and Antigravity IDE.
š Live Endpoints
Production SSE Endpoint:
https://mcp-dog-api.vercel.app/sseSecondary SSE Endpoint:
https://mcp-dog-api.vercel.app/mcp/sseGitHub Repository:
https://github.com/rislrohitjain/mcp-dog-api
Related MCP server: Apidog MCP Server
⨠Features
Dog Breeds Tool: Exposes the
get_dog_breedsasynchronous tool to fetch real-time breed descriptions, attributes, and group data.Server-Sent Events (SSE): Full MCP SSE transport implementation for continuous streaming communication with AI clients.
Cross-Origin Resource Sharing (CORS): Configured with edge-level and application-level CORS (
Access-Control-Allow-Origin: *) for browser-based AI client handshakes.Gemini Spark OAuth Support: Includes auto-discovery (
/.well-known/oauth-authorization-server),/authorize, and/tokenendpoints for zero-friction connection with Gemini Connected Apps.Cloud Native: Deployed serverless on Vercel with Python 3.12 runtime.
š ļø Tech Stack
Framework: FastMCP (
mcp>=1.2.0,<2.0.0), FastAPIHTTP Client:
httpxASGI Server: Uvicorn
Deployment: Vercel Serverless Functions (
@vercel/python)
š Local Development Setup
Prerequisites
Python 3.10+
Git
1. Clone Repository
git clone https://github.com/rislrohitjain/mcp-dog-api.git
cd mcp-dog-api2. Create and Activate Virtual Environment
# Windows
python -m venv venv
.\venv\Scripts\activate
# Linux / macOS
python3 -m venv venv
source venv/bin/activate3. Install Dependencies
pip install -r requirements.txt4. Run Server Locally
uvicorn api.index:app --host 0.0.0.0 --port 8000 --reloadLocal Status Endpoint:
http://172.18.177.164:8000/Local SSE Endpoint:
http://172.18.177.164:8000/mcp/sse
š Connecting to AI Assistants
Gemini Connected Apps
Open Gemini -> Settings -> Connected Apps.
Add a Custom MCP Server and paste:
https://mcp-dog-api.vercel.app/sseComplete the auto-authorization step.
Local Agent Config (.agents/mcp_config.json)
{
"mcpServers": {
"dog-api-live": {
"url": "https://mcp-dog-api.vercel.app/sse"
}
}
}š Project Structure
mcp-dog-api/
āāā api/
ā āāā index.py # FastMCP & FastAPI server implementation
āāā .agents/
ā āāā mcp_config.json # MCP server configuration
āāā requirements.txt # Python package dependencies
āāā vercel.json # Vercel deployment & edge CORS configuration
āāā .gitignore # Git ignore rules
āāā README.md # Documentationš¤ Author & Profile
Created by Rohit Jain
š Portfolio & Resume: https://rohitjain-resume.vercel.app/
š GitHub: @rislrohitjain
š Repository: rislrohitjain/mcp-dog-api
š License
This project is licensed under the MIT License - see the LICENSE file for details.
This server cannot be deployed
Maintenance
Related MCP Connectors
Curated knowledge API for AI agents - skill packs, semantic search, validated patterns.
Give AI assistants access to real-time data. Search the web, compare flights, find hotels, and more.
Search your knowledge bases from any AI assistant using hybrid RAG.
AI-powered SaaS tool discovery API. Search 150+ curated business tools and get recommendations.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to interact with DataDog's observability platform through a standardized interface. Supports monitoring infrastructure, managing events, analyzing logs and metrics, and automating operations like alerts and downtimes.1MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI tools to search and explore API documentation from Apidog projects or OpenAPI/Swagger specifications, providing endpoint details, schemas, and project statistics through natural language queries.628 npm1ISC
- FlicenseBqualityFmaintenanceEnables AI assistants to manage StashDog inventory through natural language commands, supporting item management, collections, tags, smart search, and URL imports with secure authentication.11-
- FlicenseNot gradedqualityDmaintenanceEnables interaction with the Dog API through natural language, supporting operations like listing breeds, fetching images, and more.-