Skip to main content
Glama
CodeDreamer06

MonkeyType MCP Server

check_username

Verify the availability of a username on MonkeyType using the MCP server, enabling users to check if their desired username is already taken.

Instructions

Check if a username is available on MonkeyType

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesUsername to check for availability

Implementation Reference

  • Handler for the 'check_username' tool. Parses input arguments, calls the MonkeyType API endpoint '/users/checkname' with the username, and returns the result as a formatted text response.
    case "check_username": { const params = { name: args.name }; const result = await callMonkeyTypeApi(`/users/checkname`, 'GET', apiKey, params); return { content: [{ type: "text", text: JSON.stringify(result, null, 2) }], }; }
  • Zod input schema for the 'check_username' tool, defining a required 'name' string parameter.
    const CheckNameSchema = BaseApiSchema.extend({ name: z.string().describe("Username to check for availability") });
  • server.js:163-167 (registration)
    Registration of the 'check_username' tool in the ListTools response, including name, description, and input schema.
    { name: "check_username", description: "Check if a username is available on MonkeyType", inputSchema: zodToJsonSchema(CheckNameSchema), },

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/CodeDreamer06/MonkeytypeMCP'

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