n8n MCP Server

create-credential

Create a credential that can be used by nodes of the specified type. The credential type name can be found in the n8n UI when creating credentials (e.g., 'cloudflareApi', 'githubApi', 'slackOAuth2Api'). Use get-credential-schema first to see what fields are required for the credential type you want to create.

Input Schema

NameRequiredDescriptionDefault
clientIdYes
dataYes
nameYes
typeYes

Input Schema (JSON Schema)

{ "properties": { "clientId": { "type": "string" }, "data": { "type": "object" }, "name": { "type": "string" }, "type": { "type": "string" } }, "required": [ "clientId", "name", "type", "data" ], "type": "object" }