drio
Open app

MCPet

Source

This is a TypeScript-based Model Context Protocol (MCP) server that implements a virtual pet simulation system. It demonstrates core MCP concepts by providing tools for pet care and interaction.

Catalog onlyCatalog onlySTDIO

Overview

MCPet is a TypeScript-based Model Context Protocol (MCP) server that implements a virtual pet simulation system, allowing users to adopt, nurture, and interact with a digital pet that evolves based on care.

To use MCPet, install it via Smithery, configure the server settings, and interact with your pet through commands like creating, feeding, and playing with it.

  • Choose from four pet types: Cat, Dog, Dragon, and Alien. - Manage pet lifecycle stages from Baby to Adult. - Track five key stats: Hunger, Happiness, Health, Energy, and Cleanliness. - Dynamic ASCII art animations for pet activities.
  1. Adopting and caring for a virtual pet.
  2. Engaging in interactive games with the pet.
  3. Monitoring pet health and happiness over time.

Add to your AI client

Use these steps to connect MCPet in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.

Cursor

Add this to your .cursor/mcp.json file in your project root, then restart Cursor.

.cursor/mcp.json

{
  "mcpServers": {
    "mcpet-shreyaskarnik": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcpet-shreyaskarnik"
      ]
    }
  }
}

Claude Desktop

Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.

~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)

{
  "mcpServers": {
    "mcpet-shreyaskarnik": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcpet-shreyaskarnik"
      ]
    }
  }
}

Claude Code

Add this to your project's .mcp.json file. Claude Code will detect it automatically.

.mcp.json (project root)

{
  "mcpServers": {
    "mcpet-shreyaskarnik": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcpet-shreyaskarnik"
      ]
    }
  }
}

VS Code (Copilot)

Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.

.vscode/mcp.json

{
  "servers": {
    "mcpet-shreyaskarnik": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcpet-shreyaskarnik"
      ]
    }
  }
}

Windsurf

Add this to your Windsurf MCP config file, then restart Windsurf.

~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "mcpet-shreyaskarnik": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcpet-shreyaskarnik"
      ]
    }
  }
}

Cline

Open Cline settings, navigate to MCP Servers, and add this server configuration.

Cline MCP Settings (via UI)

{
  "mcpServers": {
    "mcpet-shreyaskarnik": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcpet-shreyaskarnik"
      ]
    }
  }
}

FAQ

Can I adopt multiple pets?

Yes! You can adopt as many pets as you like.

What happens if I neglect my pet?

Your pet's stats will decline, affecting its happiness and health.

Is MCPet free to use?

Yes! MCPet is free to use for everyone.