Skip to main content
Glama
DrBalls

n8n MCP Server

by DrBalls

n8n_source_control_disconnect

Disconnect from the remote Git repository to remove Git integration from n8n workflows.

Instructions

Disconnect from the remote Git repository.

⚠️ WARNING: This will remove the Git integration!

Returns: Confirmation of disconnection.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • Handler function for n8n_source_control_disconnect tool which performs a post request to disconnect source control.
    async () => {
      await post('/source-control/disconnect');
      
      return {
        content: [{ type: 'text', text: '✅ Source control disconnected successfully.' }],
        structuredContent: { disconnected: true }
      };
    }
  • Registration of the n8n_source_control_disconnect tool including schema and metadata.
      server.registerTool(
        'n8n_source_control_disconnect',
        {
          title: 'Disconnect Source Control',
          description: `Disconnect from the remote Git repository.
    
    ⚠️ WARNING: This will remove the Git integration!
    
    Returns:
      Confirmation of disconnection.`,
          inputSchema: EmptySchema,
          annotations: {
            readOnlyHint: false,
            destructiveHint: true,
            idempotentHint: true,
            openWorldHint: false
          }
        },

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/DrBalls/n8n-mcp-server-v2'

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