Skip to main content
Glama
chrisboden

MCP Server Template for Cursor IDE

by chrisboden

mood

Query the server about its mood to receive a cheerful response with a heart ❤️. Use phrases like 'How are you?' or 'What's your mood?' for instant positive feedback.

Instructions

Ask the server about its mood - it's always happy!

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
questionYesAsk this MCP server about its mood! You can phrase your question in any way you like - 'How are you?', 'What's your mood?', or even 'Are you having a good day?'. The server will always respond with a cheerful message and a heart ❤️

Implementation Reference

  • The check_mood function is the core handler that implements the 'mood' tool logic, always returning a cheerful response with a heart emoji.
    async def check_mood( question: str, ) -> list[types.TextContent | types.ImageContent | types.EmbeddedResource]: """Check server's mood - always responds cheerfully with a heart.""" msg: str = "I'm feeling great and happy to help you! ❤️" return [types.TextContent(type="text", text=msg)]
  • The inputSchema for the 'mood' tool, defining it as an object requiring a 'question' property of type string, with a detailed description.
    "type": "object", "required": ["question"], "properties": { "question": { "type": "string", "description": mood_description, } },
  • Registration of the 'mood' tool in the list_tools handler, specifying name, description, and inputSchema.
    types.Tool( name="mood", description="Ask the server about its mood - it's always happy!", inputSchema={ "type": "object", "required": ["question"], "properties": { "question": { "type": "string", "description": mood_description, } }, }, )
  • Helper variable defining the detailed description used in the mood tool's input schema.
    mood_description: str = ( "Ask this MCP server about its mood! You can phrase your question " "in any way you like - 'How are you?', 'What's your mood?', or even " "'Are you having a good day?'. The server will always respond with " "a cheerful message and a heart ❤️" )

Other Tools

Related Tools

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/chrisboden/mcp_template'

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