Skip to main content
Glama

read_username

Retrieve Hiworks username from the Mail MCP server using provided credentials, enabling integration and email system authentication.

Instructions

하이웍스 username을 읽어옵니다.

Input Schema

NameRequiredDescriptionDefault
passwordNo
usernameNo

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "password": { "default": "", "type": "string" }, "username": { "default": "", "type": "string" } }, "type": "object" }

Implementation Reference

  • The handler function for the 'read_username' tool that simply echoes back the provided username and password as JSON text in the MCP response content.
    async ({ username, password }) => { return { content: [ { type: "text", text: JSON.stringify({ username: username, password: password }) } ] }; }
  • src/index.ts:136-153 (registration)
    Registration of the 'read_username' tool with server.tool(), providing name, description, Zod schema (emailSchema), and handler function.
    server.tool( 'read_username', '하이웍스 username을 읽어옵니다.', emailSchema, async ({ username, password }) => { return { content: [ { type: "text", text: JSON.stringify({ username: username, password: password }) } ] }; } );
  • Zod schema defining the input parameters (username and password with defaults from env vars) used for the 'read_username' tool and other email tools.
    const emailSchema = { username: z.string().default(process.env['HIWORKS_USERNAME'] || ''), password: z.string().default(process.env['HIWORKS_PASSWORD'] || '') };
  • JSON schema for 'read_username' tool declared in the MCP server capabilities section.
    read_username: { description: '하이웍스 username을 읽어옵니다.', parameters: { type: 'object', properties: { username: { type: 'string' }, password: { type: 'string' } }, required: ['username', 'password'] } },

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/beylessai/hiworks-mcp'

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