HH

hulaspark/hula-mcp

Developer toolsOfficial

This page was translated automatically. Technical details may differ from the original. View the original

24 stars 34 forks Quality 58 Trend 0Apache-2.0

🌍 HuLa instant messaging app MCP service

Overview

The HuLa MCP service is a server-side implementation based on Model Context Protocol (MCP), providing contextual and functional support for HuLa instant messaging applications. This service is implemented using TypeScript and developed based on the MCP SDK, providing the following features for HuLa instant messaging applications: - : Provides access to user information, group information, chat records, and other resources - : Offers functions such as sending messages, creating groups, and searching content - : Provides structured contextual information for large language models (LLMs). - TypeScript - Express.js - Model Context Protocol SDK - Zod (for type validation) - users://list - Get the list of all users - users://{userId} - Get specific user details - users://online - Get the online user list - users://search?q={query} - Search users - users://{userId}/conversations - Get all user sessions - users://{userId}/unread - Get the number of unread messages users have - users://{userId}/groups - Get the group the user belongs to - groups://list - Get the list of all groups - groups://{groupId} - Get details of a specific group - groups://{groupId}/members - Get group members - groups://{groupId}/recent-messages - Get the group's latest messages - conversations://{conversationId}/messages - Retrieves messages for a specific session - send-message - Send message - mark-message-read - Mark message as read - create-group - Create group - search-messages - Search message - update-user-status - Update user status

Overview (machine translated)

The HuLa MCP service is a server-side implementation based on Model Context Protocol (MCP), providing contextual and functional support for HuLa instant messaging applications.

Project Introduction

This service is implemented using TypeScript and developed based on the MCP SDK, providing the following features for HuLa instant messaging applications:

  • Resource Access: Provides access to user information, group information, chat records, and other resources
  • Tool Operations: Offers functions such as sending messages, creating groups, and searching content
  • Context Management: Provides structured contextual information for large language models (LLMs).

Technology Stack

  • TypeScript
  • Express.js
  • Model Context Protocol SDK
  • Zod (for type validation)

Installation and Operation

Install from NPM

Local Development and Installation

Running in Development Mode

Building and Operating in Production Environments

Using CLI tools

If you have a global installation of hula-mcp-server, you can use the following command:

Project Structure

API Description

Resources

MCP resources are similar to GET endpoints in REST APIs and are used to provide data:

User Resources

  • users://list - Retrieves the list of all users
  • users://{userId} - Retrieves specific user details
  • users://online - Retrieves the list of online users
  • users://search?q={query} - Search user
  • users://{userId}/conversations - Retrieves all user sessions
  • users://{userId}/unread - Retrieves the number of unread messages from users
  • users://{userId}/groups - Retrieves the group the user belongs to

Group resources

  • groups://list - Retrieves the list of all groups
  • groups://{groupId} - Retrieves details for specific groups
  • groups://{groupId}/members - Retrieve group members
  • groups://{groupId}/recent-messages - Get the group’s latest messages

Chat resources

  • conversations://{conversationId}/messages - Retrieves messages for a specific session

Tools

MCP tools are similar to POST endpoints in REST APIs and are used to perform operations:

  • send-message - Send a message
  • mark-message-read - Mark the message as read
  • create-group - Create a group
  • search-messages - Search for messages

This page was translated automatically. Technical details may differ from the original.

Install

This server does not publish a one-line install command.

Open the repository installation guide New to MCP? Start with the mcpskill.org guide →