Skip to main content
Glama
qpiai

Zoho Projects MCP Server

by qpiai

list_users

Retrieve user lists from Zoho Projects for portal administration or project team management. Specify project ID to filter results.

Instructions

List users in a portal or project

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
project_idNoProject ID (optional for portal-level)

Implementation Reference

  • Core handler function for the 'list_users' MCP tool. Determines the Zoho Projects API endpoint based on optional project_id (portal-level if absent), fetches user data, and returns it as a MCP-formatted text content block with JSON stringification.
    private async listUsers(projectId?: string) {
      const endpoint = projectId
        ? `/portal/${this.config.portalId}/projects/${projectId}/users`
        : `/portal/${this.config.portalId}/users`;
      const data = await this.makeRequest(endpoint);
      return {
        content: [{ type: "text", text: JSON.stringify(data, null, 2) }],
      };
    }
  • Core handler function for the 'list_users' MCP tool (HTTP server variant). Determines the Zoho Projects API endpoint based on optional project_id (portal-level if absent), fetches user data, and returns it as a MCP-formatted text content block with JSON stringification.
    private async listUsers(projectId?: string) {
      const endpoint = projectId
        ? `/portal/${this.config.portalId}/projects/${projectId}/users`
        : `/portal/${this.config.portalId}/users`;
      const data = await this.makeRequest(endpoint);
      return {
        content: [{ type: "text", text: JSON.stringify(data, null, 2) }],
      };
    }
  • src/index.ts:529-540 (registration)
    Tool registration in ListToolsRequestSchema response, defining name, description, and input schema for 'list_users'.
      name: "list_users",
      description: "List users in a portal or project",
      inputSchema: {
        type: "object",
        properties: {
          project_id: {
            type: "string",
            description: "Project ID (optional for portal-level)",
          },
        },
      },
    },
  • Tool registration in ListToolsRequestSchema response, defining name, description, and input schema for 'list_users' (HTTP server variant).
      name: "list_users",
      description: "List users in a portal or project",
      inputSchema: {
        type: "object",
        properties: {
          project_id: {
            type: "string",
            description: "Project ID (optional for portal-level)",
          },
        },
      },
    },
  • Input schema definition for the 'list_users' tool, specifying optional project_id parameter.
    inputSchema: {
      type: "object",
      properties: {
        project_id: {
          type: "string",
          description: "Project ID (optional for portal-level)",
        },
      },
    },

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/qpiai/zoho-projects-mcp'

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