Skip to main content
Glama
PCWProps

Pressable MCP Server

by PCWProps

pressable_create_dns_record

Create DNS records (A, AAAA, CNAME, MX, TXT, SRV, NS) for domain zones to manage website routing and email configuration.

Instructions

Create a new DNS record.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
zone_nameYes
typeYes
nameYes
contentYes
priorityNo
ttlNo

Implementation Reference

  • Handler for the pressable_create_dns_record tool.
    handler: async (args) => {
        const { zone_name, ...recordData } = args;
        return await api.post(`/dns/zones/${zone_name}/records`, recordData);
    }
  • Input schema for the pressable_create_dns_record tool.
    inputSchema: {
        type: 'object',
        properties: {
            zone_name: { type: 'string' },
            type: { type: 'string', enum: ['A', 'AAAA', 'CNAME', 'MX', 'TXT', 'SRV', 'NS'] },
            name: { type: 'string' },
            content: { type: 'string' },
            priority: { type: 'integer' },
            ttl: { type: 'integer' }
        },
        required: ['zone_name', 'type', 'name', 'content']
    },
  • tools/dns.js:26-45 (registration)
    Registration of the pressable_create_dns_record tool.
    {
        name: 'pressable_create_dns_record',
        description: 'Create a new DNS record.',
        inputSchema: {
            type: 'object',
            properties: {
                zone_name: { type: 'string' },
                type: { type: 'string', enum: ['A', 'AAAA', 'CNAME', 'MX', 'TXT', 'SRV', 'NS'] },
                name: { type: 'string' },
                content: { type: 'string' },
                priority: { type: 'integer' },
                ttl: { type: 'integer' }
            },
            required: ['zone_name', 'type', 'name', 'content']
        },
        handler: async (args) => {
            const { zone_name, ...recordData } = args;
            return await api.post(`/dns/zones/${zone_name}/records`, recordData);
        }
    },
Install Server

Other 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/PCWProps/pressable-mcp-server'

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