Skip to main content
Glama
rislrohitjain

Dog API MCP Server

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.

Python FastAPI Vercel License


🌟 Live Endpoints


Related MCP server: Brandfetch MCP Server

✨ Features

  • Dog Breeds Tool: Exposes the get_dog_breeds asynchronous 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 /token endpoints 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), FastAPI

  • HTTP Client: httpx

  • ASGI 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-api

2. Create and Activate Virtual Environment

# Windows
python -m venv venv
.\venv\Scripts\activate

# Linux / macOS
python3 -m venv venv
source venv/bin/activate

3. Install Dependencies

pip install -r requirements.txt

4. Run Server Locally

uvicorn api.index:app --host 0.0.0.0 --port 8000 --reload
  • Local 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

  1. Open Gemini -> Settings -> Connected Apps.

  2. Add a Custom MCP Server and paste:

    https://mcp-dog-api.vercel.app/sse
  3. Complete 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


šŸ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.

F
license - not found
-
quality - not tested
B
maintenance

Maintenance

–Maintainers
–Response time
–Release cycle
–Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    -
    quality
    D
    maintenance
    Enables 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.
    1
    MIT
  • A
    license
    -
    quality
    D
    maintenance
    Enables AI assistants to fetch company logos, brand colors, fonts, and corporate information from the Brandfetch API using domain lookups or keyword searches.
    1
    MIT
  • A
    license
    -
    quality
    D
    maintenance
    Enables 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.
    987
    1
    ISC
  • F
    license
    B
    quality
    F
    maintenance
    Enables AI assistants to manage StashDog inventory through natural language commands, supporting item management, collections, tags, smart search, and URL imports with secure authentication.
    11

View all related MCP servers

Related MCP Connectors

  • Curated knowledge API for AI agents - skill packs, semantic search, validated patterns.

  • Search your knowledge bases from any AI assistant using hybrid RAG.

  • Provides AI assistants with direct access to Mapbox developer APIs and documentation.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/rislrohitjain/mcp-dog-api'

If you have feedback or need assistance with the MCP directory API, please join our Discord server