본문 바로가기
IT/Etc

n8n 환경변수 확인 방법

by 조병희 2025. 4. 8.

MCP설정하다보면 N8N_COMMUNITY_PACKAGES_ALLOW_TOOL_USAGE의 값을 셋팅하라고 하는데 잘되었는지 확인해 보는 방법이다.

아래 내용을 복사해서 워크플로우에 넣고 확인하고 싶은 변수값으로 수정후 Test를 누르면 된다. 

{
  "nodes": [
    {
      "parameters": {
        "command": "=echo $N8N_COMMUNITY_PACKAGES_ALLOW_TOOL_USAGE"
      },
      "name": "Execute Command",
      "type": "n8n-nodes-base.executeCommand",
      "typeVersion": 1,
      "position": [
        -300,
        -120
      ],
      "id": "a9e09051-efb1-41aa-9e24-3abb73c804e5"
    }
  ],
  "connections": {},
  "pinData": {},
  "meta": {
    "instanceId": "a5c939a0e8973195caa5044e0295ff68eee15e77c6ee3fe7a51d7f9049fd48ac"
  }
}

만약 직접 생성한다고 하면, Execute Command Node를 추가해서 echo $N8N_COMMUNITY_PACKAGES_ALLOW_TOOL_USAGE 같이 넣고 Test step으로 확인하면 된다.

 

 

 

댓글