Discover a nostalgic AI-powered virtual pet experience with customizable care, evolution, and engaging interactions
MCPet, an innovative virtual pet simulation system, brings a unique blend of classic and modern gaming elements to the world of artificial intelligence (AI). This TypeScript-based Model Context Protocol (MCP) server offers users the ability to adopt, nurture, and play with their very own digital companions. Unlike traditional games, MCPet utilizes MCP to ensure that each virtual pet evolves dynamically based on user interaction, reflecting the core principles of adaptive AI.
MCPet supports four distinct types of virtual pets:
Virtual pets in MCPet evolve through four stages:
Pet care is focused on managing five key stats, ensuring a balanced experience:
MCPet provides a set of tools for interaction:
create_pet
: Adopt a new pet with a custom name and type.check_pet
: View your pet's current status and stats.feed_pet
: Feed different food options: Snack, Meal, Feast.play_with_pet
: Engage in various games: Ball, Chase, Puzzle.clean_pet
: Clean to restore cleanliness.put_to_bed
: Put the pet to sleep to restore energy.Dynamic ASCII art animations enhance the user experience with each pet type and activity. MCPet offers randomized frames that create a lively and engaging environment, including special animations for:
MCPet leverages the Model Context Protocol (MCP) to enable seamless integration with AI applications. Through MCP's standardized framework, users can interact with their virtual pets directly from popular AI clients like Claude Desktop.
MCPet implements a server that communicates over stdio, providing a robust and flexible interface for pet management. Each command is designed to align closely with the core principles of MCP, ensuring compatibility and reliability across different AI environments.
graph TD
A[AI Application] -->|MCP Client| B[MCP Protocol]
B --> C[MCP Server]
C --> D[Data Source/Tool]
style A fill:#e1f5fe
style C fill:#f3e5f5
style D fill:#e8f5e8
This diagram illustrates the flow of information between an AI application, the MCP client, and the MCP server. Data is sent via the MCP protocol to manage and interact with virtual pets, providing a seamless experience for users.
To set up MCPet on your development environment:
Install Dependencies:
npm install
Build the Server:
npm run build
Development Setup: Enable auto-rebuild for development:
npm run watch
To integrate MCPet with an AI client like Claude Desktop, use Smithery to install the server automatically:
npx -y @smithery/cli install @shreyaskarnik/mcpet --client claude
Configure the server settings in claude_desktop_config.json
for Mac or Windows, specifying the PET_DATA_DIR
path as required.
In a personal companion application, users can interact with virtual pets to relieve stress and improve mental health. MCPet’s dynamic environment allows for real-time updates based on user input, providing a continuous connection between the user and their pet.
Educational applications integrating MCPet can offer interactive learning experiences that promote empathy and responsibility through nurturing virtual life forms. MCPet supports this with its comprehensive toolset for managing pets throughout their lifecycle.
MCPet is compatible with various MCP clients, ensuring broad applicability across different AI environments:
graph TB
A[Claude Desktop] --> B[MCPet]
C[Continue] --> B
D[Cursor] --> E[Tools Integration]
This matrix highlights the level of support for each MCP client, ensuring a tailored experience based on specific tool requirements.
MCPet's performance is optimized for smooth interactions between pets and users. The protocol ensures data integrity and real-time updates, making it suitable for both personal use and large-scale deployments.
Feature | Status |
---|---|
Real-Time Updates | ✅ |
Data Integrity | ✅ |
Cross-Environment Support | ✅ |
For advanced configuration, set up environment variables to customize the server behavior:
{
"mcpServers": {
"mcpet": {
"command": "node",
"args": ["/path/to/mcpet/build/index.js"],
"env": {
"PET_DATA_DIR": "/path/to/writable/directory"
}
}
}
}
Secure your installation by ensuring sensitive data, such as API keys, are not exposed in the environment.
Contributions to MCPet are welcome! Follow these steps to get started:
We encourage bug reporting and feature suggestions via issues or direct contributions.
Explore more about MCP and its ecosystem at Model Context Protocol. Join the community to stay updated on new features and developments in AI application integrations.
By leveraging MCPet, developers can provide engaging and dynamic experiences for users through virtual pets, enhancing the overall user interaction with AI applications.
RuinedFooocus is a local AI image generator and chatbot image server for seamless creative control
Simplify MySQL queries with Java-based MysqlMcpServer for easy standard input-output communication
Learn to set up MCP Airflow Database server for efficient database interactions and querying airflow data
Build stunning one-page websites track engagement create QR codes monetize content easily with Acalytica
Explore CoRT MCP server for advanced self-arguing AI with multi-LLM inference and enhanced evaluation methods
Access NASA APIs for space data, images, asteroids, weather, and exoplanets via MCP integration