Skip to main content
Glama
McpApi.credentials.ts607 B
import { ICredentialType, INodeProperties } from 'n8n-workflow'; export class McpApi implements ICredentialType { name = 'mcpApi'; displayName = 'MCP API'; documentationUrl = 'https://github.com/your-org/n8n-nodes-mcp#readme'; properties: INodeProperties[] = [ { displayName: 'Base URL', name: 'baseUrl', type: 'string', default: 'http://localhost:3000', placeholder: 'https://your-mcp-server.com', required: true, }, { displayName: 'API Key', name: 'apiKey', type: 'string', default: '', required: false, }, ]; }

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/sentilabs01/mcpserver'

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