Skip to main content
Glama
NsLookup-io

nslookup.io MCP Server

by NsLookup-io

ssl_certificate

Check SSL/TLS certificate details for any domain including issuer, expiry date, validity, cipher strength, and protocol version.

Instructions

Check the SSL/TLS certificate for a domain. Returns issuer, expiry date, days until expiry, certificate chain validity, cipher strength, SAN domains, fingerprint, and TLS protocol version.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
domainYesDomain name to check SSL certificate for (e.g. github.com)

Implementation Reference

  • Handler function for the ssl_certificate tool which calls the /v1/certificates/check API endpoint.
    async ({ domain }) => {
      try {
        const result = await apiPost(
          "/v1/certificates/check",
          { domain },
          { prefix: "/portal-api", timeout: 15000 }
        );
        return { content: [{ type: "text", text: formatJson(result) }] };
      } catch (error) {
        return {
          content: [
            {
              type: "text",
              text: `Error: ${error instanceof Error ? error.message : String(error)}`,
            },
          ],
          isError: true,
        };
  • src/tools.ts:214-219 (registration)
    Registration of the ssl_certificate tool with its schema definition.
    server.tool(
      "ssl_certificate",
      "Check the SSL/TLS certificate for a domain. Returns issuer, expiry date, days until expiry, certificate chain validity, cipher strength, SAN domains, fingerprint, and TLS protocol version.",
      {
        domain: z.string().describe("Domain name to check SSL certificate for (e.g. github.com)"),
      },

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/NsLookup-io/nslookup-mcp'

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