Skip to main content
Glama
usegranthq

UseGrant MCP Server

Official
by usegranthq

verify_domain

Check and confirm domain ownership for a provider using the specified domain and provider IDs through the UseGrant MCP Server.

Instructions

Verify a domain for a provider

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
domainIdYesThe ID of the domain
providerIdYesThe ID of the provider

Implementation Reference

  • The handler function for the 'verify_domain' tool. It takes providerId and domainId, calls usegrant.verifyDomain, and returns a JSON-formatted response.
    async ({ providerId, domainId }) => {
      const domain = await usegrant.verifyDomain(providerId, domainId);
      return {
        content: [{ type: 'text', text: JSON.stringify(domain, null, 2) }],
      };
    },
  • Input schema for the 'verify_domain' tool, defining providerId and domainId using schemas from UseGrant SDK.
    {
      providerId: UgSchema.ProviderIdSchema,
      domainId: UgSchema.DomainIdSchema,
    },
  • src/index.ts:182-195 (registration)
    Registration of the 'verify_domain' tool on the MCP server, including name, description, schema, and handler.
    server.tool(
      'verify_domain',
      'Verify a domain for a provider',
      {
        providerId: UgSchema.ProviderIdSchema,
        domainId: UgSchema.DomainIdSchema,
      },
      async ({ providerId, domainId }) => {
        const domain = await usegrant.verifyDomain(providerId, domainId);
        return {
          content: [{ type: 'text', text: JSON.stringify(domain, null, 2) }],
        };
      },
    );

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/usegranthq/mcp-server'

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