Skip to main content
Glama

get_node_type

Retrieve detailed information about specific n8n node types to understand their functionality and usage within workflow automation.

Instructions

Get details about a specific n8n node type

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
typeYesThe node type name (e.g., n8n-nodes-base.httpRequest)

Implementation Reference

  • MCP tool handler for get_node_type. Fetches node type details from N8nClient and returns JSON success or error response.
    private async handleGetNodeType(args: { type: string }) { const nodeType = await this.n8nClient.getNodeTypeByName(args.type); if (!nodeType) { return { content: [ { type: 'text', text: JSON.stringify(jsonError(`Node type '${args.type}' not found. Use list_node_types to see available types.`, 'NOT_FOUND'), null, 2), }, ], }; } return { content: [ { type: 'text', text: JSON.stringify(jsonSuccess(nodeType), null, 2), }, ], }; }
  • src/index.ts:111-123 (registration)
    Tool registration in list_tools handler, defining name, description, and input schema.
    name: 'get_node_type', description: 'Get details about a specific n8n node type', inputSchema: { type: 'object', properties: { type: { type: 'string', description: 'The node type name (e.g., n8n-nodes-base.httpRequest)', }, }, required: ['type'], }, },
  • Input schema for get_node_type tool defining required 'type' string parameter.
    inputSchema: { type: 'object', properties: { type: { type: 'string', description: 'The node type name (e.g., n8n-nodes-base.httpRequest)', }, }, required: ['type'], },
  • N8nClient method that retrieves node type by name from static registry.
    async getNodeTypeByName(typeName: string): Promise<N8nNodeType | null> { // Try to get from n8n API first (if available in future) // For now, use curated catalog const nodeType = getNodeType(typeName); return nodeType || null; }
  • Core lookup function returning node type definition from curated NODE_CATALOG.
    export function getNodeType(typeName: string): N8nNodeType | undefined { return NODE_CATALOG[typeName]; }

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/get2knowio/n8n-mcp'

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