프로토타입 · 미리 보기: 공식 레지스트리의 모든 서버를 담고 있으며 30분마다 동기화해요. Google로 로그인하면 리뷰를 쓸 수 있어요.프로토타입 · 30분마다 업데이트
PopNx MCPAI를 쓰는 사람을 위한 MCP 서버 · 쉬운 말로 설명해요

Langmail MCP for your own Stalwart: email, calendar and contacts

✓ Brand-named GitHub · github.com/langmail

제작자: langmail버전 0.1.0i★ 1i내 컴퓨터에서 실행저장소 ↗
레지스트리 이름io.github.langmail/langmail-mcp

설치 방법

What it does

Self-hosted MCP server for Stalwart: email, calendar and contacts over JMAP, CalDAV and CardDAV.

  • Connects 내 컴퓨터에서 실행
  • Account or key Needs STALWART_PASSWORD, STALWART_TOKEN, MCP_AUTH_TOKEN · 1 setting to fill in (STALWART_URL)
  • Category 채팅 및 이메일

이 순위인 이유

목록은 사용 점수(100점 만점)로 정렬되며 구성은 다음과 같습니다

인기4/80GitHub 별 또는 주간 다운로드: 큰 쪽 60, 작은 쪽 20
최신성12/1230일 안에 릴리스나 코드 변경이 있으면 만점
응답 중0/8마지막 점검 때 클라우드 엔드포인트가 응답
사용 점수16/100

품질: 기본 점검 3/3개 통과(표시만, 정렬에는 안 씀) · 상승세: 데이터 없음 (급상승 탭에서만 사용)

설치

쓰고 있는 AI 앱을 고른 다음 설정을 복사하세요.

한 문장으로 AI에게 설치 맡기기

Langmail MCP for your own Stalwart: email, calendar and contacts 설치해 줘. https://mcp.popnx.com/i/langmail-mcp.md 를 따라 하고, 명령을 먼저 보여 주고 내가 승인하면 실행해.

내 컴퓨터에서 작업하는 AI(Claude Code, Cursor 등)에 붙여 넣으세요. 단계를 읽고 명령을 보여 준 뒤 승인을 기다립니다. 키도 가입도 필요 없습니다. · AI가 읽을 전체 내용 보기

검사 3/3 통과 · 내 컴퓨터에서 실행돼요 · ✓ 명령 확인 2026년 11월 17일

먼저: 어떤 AI를 쓰시나요?

쓰는 앱을 고르면 아래에 단계가 나옵니다.

Claude에 연결할 수 있지만 먼저 준비가 필요해요

Langmail MCP for your own Stalwart: email, calendar and contacts 키가 필요해요 (제작자 사이트에서 만들기) · 설정 1개 입력 필요 (STALWART_URL) · 먼저 컴퓨터에 Node.js를 설치하세요 (한 번만) · 컴퓨터용 Claude 앱(Windows 또는 Mac)에서만 되고 웹이나 모바일은 안 돼요

AI에게 설치 맡기기

이 메시지를 Claude 채팅에 붙여 넣으세요. AI가 컴퓨터를 확인하고 어떤 파일을 바꿀지 알려 준 뒤 매번 동의를 기다립니다.

이 컴퓨터의 Claude에 MCP server Langmail MCP for your own Stalwart: email, calendar and contacts을 설치해 주세요. 순서대로: 1) node -v로 Node.js가 있는지 확인. 없으면 https://nodejs.org/en/download에서 설치하라고 알려 주고 직접 설치하지 마세요. 2) 이 설정만 사용하세요(PopNx MCP 확인 완료): { "mcpServers": { "langmail": { "command": "npx", "args": [ "-y", "langmail-mcp" ], "env": { "STALWART_URL": "your-value", "STALWART_PASSWORD": "your-value", "STALWART_TOKEN": "your-value", "MCP_AUTH_TOKEN": "your-value" } } } } 3) 바꿀 파일의 전체 경로나 실행할 명령을 알려 주고 제 동의를 기다리세요. 4) STALWART_PASSWORD, STALWART_TOKEN, MCP_AUTH_TOKEN, STALWART_URL에는 "your-value"를 그대로 두고, 실제 값은 제가 파일이나 앱 입력란에 직접 붙여 넣도록 안내하세요. 채팅에 키를 입력하라고 하지 마세요. 5) 합의한 대로 실행한 뒤 Langmail MCP for your own Stalwart: email, calendar and contacts의 도구가 실제로 보이는지 확인하세요.

이 메시지에는 키가 없습니다. 키가 필요하면 AI가 파일이나 앱 입력란에 직접 붙여 넣으라고 안내합니다.

  1. Node.js 설치 (아직 없다면)

    이미 설치했나요? 먼저 확인 · 터미널을 열고 이 명령을 입력한 뒤 Enter

    node -v
    • 버전 번호(예: v26.13.1)가 나오면 설치된 것입니다. 이 단계는 건너뛰세요
    • "command not found"(Windows는 "is not recognized")가 나오면 아직 설치하지 않았거나, 방금 설치해서 터미널을 닫았다가 다시 열어야 합니다
    터미널 여는 법

    Mac: ⌘ + Space를 누르고 Terminal 입력 후 Enter

    Windows: 시작 메뉴를 열고 Windows PowerShell 입력 후 "열기"

    아직 설치하지 않았다면: 공식 다운로드 페이지에서 LTS 버전과 클릭형 설치 파일을 고르세요: Mac은 .pkg · Windows는 .msi. 더블클릭 후 끝까지 진행하면 됩니다. curl 명령은 필요 없습니다

    Node.js 다운로드 페이지 열기 ↗

    설치가 끝나면 터미널을 닫았다가 다시 열고 같은 명령을 실행하세요. 버전 번호가 나와야 합니다: node -v

    한 번 설치하면 Node.js가 필요한 모든 도구에서 쓸 수 있습니다

  2. Langmail MCP for your own Stalwart: email, calendar and contacts에 가입하고 키 만들기

    제작자 사이트에서 가입하고 다음 단계에 쓸 API 키를 만드세요. 요금과 무료 요금제는 제작자 사이트에서 확인하세요.

    키 받는 방법은 아래 제작자 README에 있어요

  3. 설정 1개 입력

    이것은 프로그램 설정이며 키가 아닙니다. 가입할 필요 없이 제작자 설명대로 입력하세요.

    • STALWART_URL Stalwart 서버의 기본 URL(JMAP, CalDAV, CardDAV). 예: https://mail.example.com
      영어 원문 보기Base URL of your Stalwart server (JMAP, CalDAV and CardDAV), e.g. https://mail.example.com

    설명은 자동 번역이며 변수 이름은 원문 그대로입니다. 확실하지 않으면 원문을 확인하세요.

  4. 컴퓨터용 Claude 앱 설정 파일 열기

    SettingsDeveloperEdit Config

  5. 이 설정을 붙여 넣고 저장

    {
      "mcpServers": {
        "langmail": {
          "command": "npx",
          "args": [
            "-y",
            "langmail-mcp"
          ],
          "env": {
            "STALWART_URL": "your-value",
            "STALWART_PASSWORD": "your-value",
            "STALWART_TOKEN": "your-value",
            "MCP_AUTH_TOKEN": "your-value"
          }
        }
      }
    }

    키는 앱 입력란에만 붙여 넣고, 채팅에 붙이거나 다른 사람에게 보내지 마세요

  6. Claude를 끄고 다시 열기

  7. 해 보기

    Langmail MCP for your own Stalwart: email, calendar and contacts을 써서 나에게 무엇을 해 줄 수 있는지 알려 주고, 하나 해 봐

    ✓ Claude가 Langmail MCP for your own Stalwart: email, calendar and contacts을 쓰고 있다고 하거나 답에 Langmail MCP for your own Stalwart: email, calendar and contacts 도구 이름이 나오면 연결된 거예요

추가 설정 8개 (입력하지 않아도 사용 가능)

위 명령은 이 값들 없이도 동작합니다. 바꾸고 싶을 때만 제작자 설명대로 추가하세요.

  • STALWART_USERNAME 계정 로그인 이름(보통 이메일 주소). STALWART_PASSWORD와 함께 사용합니다.
    영어 원문 보기Account login name, usually the mail address; use together with STALWART_PASSWORD
  • MCP_TRANSPORT 전송 방식: stdio(기본값) 또는 http. http는 /mcp에서 Streamable HTTP를 제공합니다
    영어 원문 보기Transport: stdio (the default) or http, which serves Streamable HTTP at /mcp
    · 기본값 stdio
  • MCP_HOST HTTP 전송: 수신 대기할 주소
    영어 원문 보기HTTP transport: address to listen on
    · 기본값 127.0.0.1
  • MCP_PORT HTTP 전송: 서버가 수신 대기할 포트
    영어 원문 보기HTTP transport: port to listen on
    · 기본값 8080
  • MCP_PUBLIC_URL HTTP 전송: 호출자가 서버에 접근하는 주소(예: TLS를 종료하는 리버스 프록시 뒤)
    영어 원문 보기HTTP transport: the address callers reach the server under, e.g. behind a TLS-terminating reverse proxy
  • LOG_LEVEL stderr 로그 수준: fatal, error, warn, info, debug, trace 또는 silent
    영어 원문 보기Log level for stderr: fatal, error, warn, info, debug, trace or silent
    · 기본값 warn
  • LANGMAIL_MCP_ALLOW_UNSUBSCRIBE_POST 1로 설정하면 unsubscribe_from_list가 발신자 URL로 RFC 8058 원클릭 수신거부 요청을 보낼 수 있습니다. 기본값은 꺼짐입니다
    영어 원문 보기Set to 1 to let unsubscribe_from_list send the RFC 8058 one-click request to the sender's URL; off by default
  • LANGMAIL_MCP_ALLOW_REMOTE_IMAGES 1로 설정하면 preview_email이 이 서버를 통해 메시지의 원격 이미지를 불러올 수 있습니다. 기본값은 꺼짐입니다
    영어 원문 보기Set to 1 to let preview_email load a message's remote images through this server; off by default

설명은 자동 번역이며 변수 이름은 원문 그대로입니다. 확실하지 않으면 원문을 확인하세요.

메뉴 이름은 2026년 11월 11일에 Anthropic 도움말에서 확인 · 앱 버전에 따라 화면이 조금 다를 수 있어요

ChatGPT는 아직 Langmail MCP for your own Stalwart: email, calendar and contacts에 연결할 수 없어요

Langmail MCP for your own Stalwart: email, calendar and contacts는 내 컴퓨터에 설치해서 쓰지만 ChatGPT는 웹에서 도는 서버만 연결할 수 있어요

대신 이렇게 할 수 있어요

A · Langmail MCP for your own Stalwart: email, calendar and contacts에 연결되는 앱 쓰기

  • Langmail MCP for your own Stalwart: email, calendar and contacts 키가 필요해요 (제작자 사이트에서 만들기) · 설정 1개 입력 필요 (STALWART_URL) · 먼저 컴퓨터에 Node.js를 설치하세요 (한 번만) · 컴퓨터용 Claude 앱(Windows 또는 Mac)에서만 되고 웹이나 모바일은 안 돼요
  • Langmail MCP for your own Stalwart: email, calendar and contacts 키가 필요해요 (제작자 사이트에서 만들기) · 설정 1개 입력 필요 (STALWART_URL) · 먼저 컴퓨터에 Node.js를 설치하세요 (한 번만)
  • Langmail MCP for your own Stalwart: email, calendar and contacts 키가 필요해요 (제작자 사이트에서 만들기) · 설정 1개 입력 필요 (STALWART_URL) · 먼저 컴퓨터에 Node.js를 설치하세요 (한 번만)
  • Langmail MCP for your own Stalwart: email, calendar and contacts 키가 필요해요 (제작자 사이트에서 만들기) · 설정 1개 입력 필요 (STALWART_URL) · 먼저 컴퓨터에 Node.js를 설치하세요 (한 번만)

B · 채팅 및 이메일에서 ChatGPT에 연결되는 다른 서버

같은 분류에서 많이 쓰는 것 중 키 없이 주소만으로 연결되는 것을 골랐어요

Claude Code에 연결할 수 있지만 먼저 준비가 필요해요

Langmail MCP for your own Stalwart: email, calendar and contacts 키가 필요해요 (제작자 사이트에서 만들기) · 설정 1개 입력 필요 (STALWART_URL) · 먼저 컴퓨터에 Node.js를 설치하세요 (한 번만)

AI에게 설치 맡기기

이 메시지를 Claude Code 채팅에 붙여 넣으세요. AI가 컴퓨터를 확인하고 어떤 파일을 바꿀지 알려 준 뒤 매번 동의를 기다립니다.

이 컴퓨터의 Claude Code에 MCP server Langmail MCP for your own Stalwart: email, calendar and contacts을 설치해 주세요. 순서대로: 1) node -v로 Node.js가 있는지 확인. 없으면 https://nodejs.org/en/download에서 설치하라고 알려 주고 직접 설치하지 마세요. 2) 이 설정만 사용하세요(PopNx MCP 확인 완료): claude mcp add --scope user langmail --env STALWART_URL=your-value --env STALWART_PASSWORD=your-value --env STALWART_TOKEN=your-value --env MCP_AUTH_TOKEN=your-value -- npx -y langmail-mcp 3) 바꿀 파일의 전체 경로나 실행할 명령을 알려 주고 제 동의를 기다리세요. 4) STALWART_PASSWORD, STALWART_TOKEN, MCP_AUTH_TOKEN, STALWART_URL에는 "your-value"를 그대로 두고, 실제 값은 제가 파일이나 앱 입력란에 직접 붙여 넣도록 안내하세요. 채팅에 키를 입력하라고 하지 마세요. 5) 합의한 대로 실행한 뒤 Langmail MCP for your own Stalwart: email, calendar and contacts의 도구가 실제로 보이는지 확인하세요.

이 메시지에는 키가 없습니다. 키가 필요하면 AI가 파일이나 앱 입력란에 직접 붙여 넣으라고 안내합니다.

  1. Node.js 설치 (아직 없다면)

    이미 설치했나요? 먼저 확인 · 터미널을 열고 이 명령을 입력한 뒤 Enter

    node -v
    • 버전 번호(예: v26.13.1)가 나오면 설치된 것입니다. 이 단계는 건너뛰세요
    • "command not found"(Windows는 "is not recognized")가 나오면 아직 설치하지 않았거나, 방금 설치해서 터미널을 닫았다가 다시 열어야 합니다
    터미널 여는 법

    Mac: ⌘ + Space를 누르고 Terminal 입력 후 Enter

    Windows: 시작 메뉴를 열고 Windows PowerShell 입력 후 "열기"

    아직 설치하지 않았다면: 공식 다운로드 페이지에서 LTS 버전과 클릭형 설치 파일을 고르세요: Mac은 .pkg · Windows는 .msi. 더블클릭 후 끝까지 진행하면 됩니다. curl 명령은 필요 없습니다

    Node.js 다운로드 페이지 열기 ↗

    설치가 끝나면 터미널을 닫았다가 다시 열고 같은 명령을 실행하세요. 버전 번호가 나와야 합니다: node -v

    한 번 설치하면 Node.js가 필요한 모든 도구에서 쓸 수 있습니다

  2. Langmail MCP for your own Stalwart: email, calendar and contacts에 가입하고 키 만들기

    제작자 사이트에서 가입하고 다음 단계에 쓸 API 키를 만드세요. 요금과 무료 요금제는 제작자 사이트에서 확인하세요.

    키 받는 방법은 아래 제작자 README에 있어요

  3. 설정 1개 입력

    이것은 프로그램 설정이며 키가 아닙니다. 가입할 필요 없이 제작자 설명대로 입력하세요.

    • STALWART_URL Stalwart 서버의 기본 URL(JMAP, CalDAV, CardDAV). 예: https://mail.example.com
      영어 원문 보기Base URL of your Stalwart server (JMAP, CalDAV and CardDAV), e.g. https://mail.example.com

    설명은 자동 번역이며 변수 이름은 원문 그대로입니다. 확실하지 않으면 원문을 확인하세요.

  4. 터미널 열기

    Mac: Command+스페이스를 누르고 Terminal 입력 · Windows: PowerShell 열기

  5. 이 명령을 붙여 넣고 Enter

    claude mcp add --scope user langmail --env STALWART_URL=your-value --env STALWART_PASSWORD=your-value --env STALWART_TOKEN=your-value --env MCP_AUTH_TOKEN=your-value -- npx -y langmail-mcp

    Enter 전에 “your-value”를 내 키로 바꾸세요

    키는 앱 입력란에만 붙여 넣고, 채팅에 붙이거나 다른 사람에게 보내지 마세요

  6. Claude Code에서 /mcp 입력

    Langmail MCP for your own Stalwart: email, calendar and contacts이 목록에 있고 연결됨으로 보이면 돼요

  7. 해 보기

    Langmail MCP for your own Stalwart: email, calendar and contacts을 써서 나에게 무엇을 해 줄 수 있는지 알려 주고, 하나 해 봐

    ✓ Claude Code가 Langmail MCP for your own Stalwart: email, calendar and contacts을 쓰고 있다고 하거나 답에 Langmail MCP for your own Stalwart: email, calendar and contacts 도구 이름이 나오면 연결된 거예요

추가 설정 8개 (입력하지 않아도 사용 가능)

위 명령은 이 값들 없이도 동작합니다. 바꾸고 싶을 때만 제작자 설명대로 추가하세요.

  • STALWART_USERNAME 계정 로그인 이름(보통 이메일 주소). STALWART_PASSWORD와 함께 사용합니다.
    영어 원문 보기Account login name, usually the mail address; use together with STALWART_PASSWORD
  • MCP_TRANSPORT 전송 방식: stdio(기본값) 또는 http. http는 /mcp에서 Streamable HTTP를 제공합니다
    영어 원문 보기Transport: stdio (the default) or http, which serves Streamable HTTP at /mcp
    · 기본값 stdio
  • MCP_HOST HTTP 전송: 수신 대기할 주소
    영어 원문 보기HTTP transport: address to listen on
    · 기본값 127.0.0.1
  • MCP_PORT HTTP 전송: 서버가 수신 대기할 포트
    영어 원문 보기HTTP transport: port to listen on
    · 기본값 8080
  • MCP_PUBLIC_URL HTTP 전송: 호출자가 서버에 접근하는 주소(예: TLS를 종료하는 리버스 프록시 뒤)
    영어 원문 보기HTTP transport: the address callers reach the server under, e.g. behind a TLS-terminating reverse proxy
  • LOG_LEVEL stderr 로그 수준: fatal, error, warn, info, debug, trace 또는 silent
    영어 원문 보기Log level for stderr: fatal, error, warn, info, debug, trace or silent
    · 기본값 warn
  • LANGMAIL_MCP_ALLOW_UNSUBSCRIBE_POST 1로 설정하면 unsubscribe_from_list가 발신자 URL로 RFC 8058 원클릭 수신거부 요청을 보낼 수 있습니다. 기본값은 꺼짐입니다
    영어 원문 보기Set to 1 to let unsubscribe_from_list send the RFC 8058 one-click request to the sender's URL; off by default
  • LANGMAIL_MCP_ALLOW_REMOTE_IMAGES 1로 설정하면 preview_email이 이 서버를 통해 메시지의 원격 이미지를 불러올 수 있습니다. 기본값은 꺼짐입니다
    영어 원문 보기Set to 1 to let preview_email load a message's remote images through this server; off by default

설명은 자동 번역이며 변수 이름은 원문 그대로입니다. 확실하지 않으면 원문을 확인하세요.

메뉴 이름은 2026년 11월 11일에 Anthropic 도움말에서 확인 · 앱 버전에 따라 화면이 조금 다를 수 있어요

Cursor에 연결할 수 있지만 먼저 준비가 필요해요

Langmail MCP for your own Stalwart: email, calendar and contacts 키가 필요해요 (제작자 사이트에서 만들기) · 설정 1개 입력 필요 (STALWART_URL) · 먼저 컴퓨터에 Node.js를 설치하세요 (한 번만)

AI에게 설치 맡기기

이 메시지를 Cursor 채팅에 붙여 넣으세요. AI가 컴퓨터를 확인하고 어떤 파일을 바꿀지 알려 준 뒤 매번 동의를 기다립니다.

이 컴퓨터의 Cursor에 MCP server Langmail MCP for your own Stalwart: email, calendar and contacts을 설치해 주세요. 순서대로: 1) node -v로 Node.js가 있는지 확인. 없으면 https://nodejs.org/en/download에서 설치하라고 알려 주고 직접 설치하지 마세요. 2) 이 설정만 사용하세요(PopNx MCP 확인 완료): { "mcpServers": { "langmail": { "command": "npx", "args": [ "-y", "langmail-mcp" ], "env": { "STALWART_URL": "your-value", "STALWART_PASSWORD": "your-value", "STALWART_TOKEN": "your-value", "MCP_AUTH_TOKEN": "your-value" } } } } 3) 바꿀 파일의 전체 경로나 실행할 명령을 알려 주고 제 동의를 기다리세요. 4) STALWART_PASSWORD, STALWART_TOKEN, MCP_AUTH_TOKEN, STALWART_URL에는 "your-value"를 그대로 두고, 실제 값은 제가 파일이나 앱 입력란에 직접 붙여 넣도록 안내하세요. 채팅에 키를 입력하라고 하지 마세요. 5) 합의한 대로 실행한 뒤 Langmail MCP for your own Stalwart: email, calendar and contacts의 도구가 실제로 보이는지 확인하세요.

이 메시지에는 키가 없습니다. 키가 필요하면 AI가 파일이나 앱 입력란에 직접 붙여 넣으라고 안내합니다.

  1. Node.js 설치 (아직 없다면)

    이미 설치했나요? 먼저 확인 · 터미널을 열고 이 명령을 입력한 뒤 Enter

    node -v
    • 버전 번호(예: v26.13.1)가 나오면 설치된 것입니다. 이 단계는 건너뛰세요
    • "command not found"(Windows는 "is not recognized")가 나오면 아직 설치하지 않았거나, 방금 설치해서 터미널을 닫았다가 다시 열어야 합니다
    터미널 여는 법

    Mac: ⌘ + Space를 누르고 Terminal 입력 후 Enter

    Windows: 시작 메뉴를 열고 Windows PowerShell 입력 후 "열기"

    아직 설치하지 않았다면: 공식 다운로드 페이지에서 LTS 버전과 클릭형 설치 파일을 고르세요: Mac은 .pkg · Windows는 .msi. 더블클릭 후 끝까지 진행하면 됩니다. curl 명령은 필요 없습니다

    Node.js 다운로드 페이지 열기 ↗

    설치가 끝나면 터미널을 닫았다가 다시 열고 같은 명령을 실행하세요. 버전 번호가 나와야 합니다: node -v

    한 번 설치하면 Node.js가 필요한 모든 도구에서 쓸 수 있습니다

  2. Langmail MCP for your own Stalwart: email, calendar and contacts에 가입하고 키 만들기

    제작자 사이트에서 가입하고 다음 단계에 쓸 API 키를 만드세요. 요금과 무료 요금제는 제작자 사이트에서 확인하세요.

    키 받는 방법은 아래 제작자 README에 있어요

  3. 설정 1개 입력

    이것은 프로그램 설정이며 키가 아닙니다. 가입할 필요 없이 제작자 설명대로 입력하세요.

    • STALWART_URL Stalwart 서버의 기본 URL(JMAP, CalDAV, CardDAV). 예: https://mail.example.com
      영어 원문 보기Base URL of your Stalwart server (JMAP, CalDAV and CardDAV), e.g. https://mail.example.com

    설명은 자동 번역이며 변수 이름은 원문 그대로입니다. 확실하지 않으면 원문을 확인하세요.

  4. 이 버튼으로 Cursor 열기

    Cursor에서 열기

    Cursor가 설치를 확인하면 Install을 누르세요

  5. 키 입력

    Langmail MCP for your own Stalwart: email, calendar and contacts 설정에서 STALWART_PASSWORD, STALWART_TOKEN, MCP_AUTH_TOKEN, STALWART_URL가 비어 있어요. 내 키를 넣고 저장하세요

    키는 앱 입력란에만 붙여 넣고, 채팅에 붙이거나 다른 사람에게 보내지 마세요

  6. Cursor에서 AI 채팅을 Agent 모드로 열기

  7. 해 보기

    Langmail MCP for your own Stalwart: email, calendar and contacts을 써서 나에게 무엇을 해 줄 수 있는지 알려 주고, 하나 해 봐

    ✓ Cursor가 Langmail MCP for your own Stalwart: email, calendar and contacts을 쓰고 있다고 하거나 답에 Langmail MCP for your own Stalwart: email, calendar and contacts 도구 이름이 나오면 연결된 거예요

추가 설정 8개 (입력하지 않아도 사용 가능)

위 명령은 이 값들 없이도 동작합니다. 바꾸고 싶을 때만 제작자 설명대로 추가하세요.

  • STALWART_USERNAME 계정 로그인 이름(보통 이메일 주소). STALWART_PASSWORD와 함께 사용합니다.
    영어 원문 보기Account login name, usually the mail address; use together with STALWART_PASSWORD
  • MCP_TRANSPORT 전송 방식: stdio(기본값) 또는 http. http는 /mcp에서 Streamable HTTP를 제공합니다
    영어 원문 보기Transport: stdio (the default) or http, which serves Streamable HTTP at /mcp
    · 기본값 stdio
  • MCP_HOST HTTP 전송: 수신 대기할 주소
    영어 원문 보기HTTP transport: address to listen on
    · 기본값 127.0.0.1
  • MCP_PORT HTTP 전송: 서버가 수신 대기할 포트
    영어 원문 보기HTTP transport: port to listen on
    · 기본값 8080
  • MCP_PUBLIC_URL HTTP 전송: 호출자가 서버에 접근하는 주소(예: TLS를 종료하는 리버스 프록시 뒤)
    영어 원문 보기HTTP transport: the address callers reach the server under, e.g. behind a TLS-terminating reverse proxy
  • LOG_LEVEL stderr 로그 수준: fatal, error, warn, info, debug, trace 또는 silent
    영어 원문 보기Log level for stderr: fatal, error, warn, info, debug, trace or silent
    · 기본값 warn
  • LANGMAIL_MCP_ALLOW_UNSUBSCRIBE_POST 1로 설정하면 unsubscribe_from_list가 발신자 URL로 RFC 8058 원클릭 수신거부 요청을 보낼 수 있습니다. 기본값은 꺼짐입니다
    영어 원문 보기Set to 1 to let unsubscribe_from_list send the RFC 8058 one-click request to the sender's URL; off by default
  • LANGMAIL_MCP_ALLOW_REMOTE_IMAGES 1로 설정하면 preview_email이 이 서버를 통해 메시지의 원격 이미지를 불러올 수 있습니다. 기본값은 꺼짐입니다
    영어 원문 보기Set to 1 to let preview_email load a message's remote images through this server; off by default

설명은 자동 번역이며 변수 이름은 원문 그대로입니다. 확실하지 않으면 원문을 확인하세요.

메뉴 이름은 2026년 11월 11일에 Cursor 도움말에서 확인 · 앱 버전에 따라 화면이 조금 다를 수 있어요

VS Code에 연결할 수 있지만 먼저 준비가 필요해요

Langmail MCP for your own Stalwart: email, calendar and contacts 키가 필요해요 (제작자 사이트에서 만들기) · 설정 1개 입력 필요 (STALWART_URL) · 먼저 컴퓨터에 Node.js를 설치하세요 (한 번만)

AI에게 설치 맡기기

이 메시지를 VS Code 채팅에 붙여 넣으세요. AI가 컴퓨터를 확인하고 어떤 파일을 바꿀지 알려 준 뒤 매번 동의를 기다립니다.

이 컴퓨터의 VS Code에 MCP server Langmail MCP for your own Stalwart: email, calendar and contacts을 설치해 주세요. 순서대로: 1) node -v로 Node.js가 있는지 확인. 없으면 https://nodejs.org/en/download에서 설치하라고 알려 주고 직접 설치하지 마세요. 2) 이 설정만 사용하세요(PopNx MCP 확인 완료): { "servers": { "langmail": { "type": "stdio", "command": "npx", "args": [ "-y", "langmail-mcp" ], "env": { "STALWART_URL": "your-value", "STALWART_PASSWORD": "your-value", "STALWART_TOKEN": "your-value", "MCP_AUTH_TOKEN": "your-value" } } } } 3) 바꿀 파일의 전체 경로나 실행할 명령을 알려 주고 제 동의를 기다리세요. 4) STALWART_PASSWORD, STALWART_TOKEN, MCP_AUTH_TOKEN, STALWART_URL에는 "your-value"를 그대로 두고, 실제 값은 제가 파일이나 앱 입력란에 직접 붙여 넣도록 안내하세요. 채팅에 키를 입력하라고 하지 마세요. 5) 합의한 대로 실행한 뒤 Langmail MCP for your own Stalwart: email, calendar and contacts의 도구가 실제로 보이는지 확인하세요.

이 메시지에는 키가 없습니다. 키가 필요하면 AI가 파일이나 앱 입력란에 직접 붙여 넣으라고 안내합니다.

  1. Node.js 설치 (아직 없다면)

    이미 설치했나요? 먼저 확인 · 터미널을 열고 이 명령을 입력한 뒤 Enter

    node -v
    • 버전 번호(예: v26.13.1)가 나오면 설치된 것입니다. 이 단계는 건너뛰세요
    • "command not found"(Windows는 "is not recognized")가 나오면 아직 설치하지 않았거나, 방금 설치해서 터미널을 닫았다가 다시 열어야 합니다
    터미널 여는 법

    Mac: ⌘ + Space를 누르고 Terminal 입력 후 Enter

    Windows: 시작 메뉴를 열고 Windows PowerShell 입력 후 "열기"

    아직 설치하지 않았다면: 공식 다운로드 페이지에서 LTS 버전과 클릭형 설치 파일을 고르세요: Mac은 .pkg · Windows는 .msi. 더블클릭 후 끝까지 진행하면 됩니다. curl 명령은 필요 없습니다

    Node.js 다운로드 페이지 열기 ↗

    설치가 끝나면 터미널을 닫았다가 다시 열고 같은 명령을 실행하세요. 버전 번호가 나와야 합니다: node -v

    한 번 설치하면 Node.js가 필요한 모든 도구에서 쓸 수 있습니다

  2. Langmail MCP for your own Stalwart: email, calendar and contacts에 가입하고 키 만들기

    제작자 사이트에서 가입하고 다음 단계에 쓸 API 키를 만드세요. 요금과 무료 요금제는 제작자 사이트에서 확인하세요.

    키 받는 방법은 아래 제작자 README에 있어요

  3. 설정 1개 입력

    이것은 프로그램 설정이며 키가 아닙니다. 가입할 필요 없이 제작자 설명대로 입력하세요.

    • STALWART_URL Stalwart 서버의 기본 URL(JMAP, CalDAV, CardDAV). 예: https://mail.example.com
      영어 원문 보기Base URL of your Stalwart server (JMAP, CalDAV and CardDAV), e.g. https://mail.example.com

    설명은 자동 번역이며 변수 이름은 원문 그대로입니다. 확실하지 않으면 원문을 확인하세요.

  4. 이 버튼으로 VS Code 열기

    VS Code에서 열기

    VS Code가 설치를 확인하면 Install을 누르세요

  5. 키 입력

    Langmail MCP for your own Stalwart: email, calendar and contacts 설정에서 STALWART_PASSWORD, STALWART_TOKEN, MCP_AUTH_TOKEN, STALWART_URL가 비어 있어요. 내 키를 넣고 저장하세요

    키는 앱 입력란에만 붙여 넣고, 채팅에 붙이거나 다른 사람에게 보내지 마세요

  6. VS Code에서 AI 채팅을 Agent 모드로 열기

  7. 해 보기

    Langmail MCP for your own Stalwart: email, calendar and contacts을 써서 나에게 무엇을 해 줄 수 있는지 알려 주고, 하나 해 봐

    ✓ VS Code가 Langmail MCP for your own Stalwart: email, calendar and contacts을 쓰고 있다고 하거나 답에 Langmail MCP for your own Stalwart: email, calendar and contacts 도구 이름이 나오면 연결된 거예요

추가 설정 8개 (입력하지 않아도 사용 가능)

위 명령은 이 값들 없이도 동작합니다. 바꾸고 싶을 때만 제작자 설명대로 추가하세요.

  • STALWART_USERNAME 계정 로그인 이름(보통 이메일 주소). STALWART_PASSWORD와 함께 사용합니다.
    영어 원문 보기Account login name, usually the mail address; use together with STALWART_PASSWORD
  • MCP_TRANSPORT 전송 방식: stdio(기본값) 또는 http. http는 /mcp에서 Streamable HTTP를 제공합니다
    영어 원문 보기Transport: stdio (the default) or http, which serves Streamable HTTP at /mcp
    · 기본값 stdio
  • MCP_HOST HTTP 전송: 수신 대기할 주소
    영어 원문 보기HTTP transport: address to listen on
    · 기본값 127.0.0.1
  • MCP_PORT HTTP 전송: 서버가 수신 대기할 포트
    영어 원문 보기HTTP transport: port to listen on
    · 기본값 8080
  • MCP_PUBLIC_URL HTTP 전송: 호출자가 서버에 접근하는 주소(예: TLS를 종료하는 리버스 프록시 뒤)
    영어 원문 보기HTTP transport: the address callers reach the server under, e.g. behind a TLS-terminating reverse proxy
  • LOG_LEVEL stderr 로그 수준: fatal, error, warn, info, debug, trace 또는 silent
    영어 원문 보기Log level for stderr: fatal, error, warn, info, debug, trace or silent
    · 기본값 warn
  • LANGMAIL_MCP_ALLOW_UNSUBSCRIBE_POST 1로 설정하면 unsubscribe_from_list가 발신자 URL로 RFC 8058 원클릭 수신거부 요청을 보낼 수 있습니다. 기본값은 꺼짐입니다
    영어 원문 보기Set to 1 to let unsubscribe_from_list send the RFC 8058 one-click request to the sender's URL; off by default
  • LANGMAIL_MCP_ALLOW_REMOTE_IMAGES 1로 설정하면 preview_email이 이 서버를 통해 메시지의 원격 이미지를 불러올 수 있습니다. 기본값은 꺼짐입니다
    영어 원문 보기Set to 1 to let preview_email load a message's remote images through this server; off by default

설명은 자동 번역이며 변수 이름은 원문 그대로입니다. 확실하지 않으면 원문을 확인하세요.

메뉴 이름은 2026년 11월 11일에 VS Code 도움말에서 확인 · 앱 버전에 따라 화면이 조금 다를 수 있어요

Windsurf, Zed, Gemini CLI 같은 다른 MCP 앱은 추가 방법이 저마다 달라요. 앱 목록에서 확인하세요

MCP를 쓰는 앱 모두 보기 →

JSON 설정은 아래 “개발자용”에 있어요

막혔나요? Langmail MCP for your own Stalwart: email, calendar and contacts을 쓰는 사람에게 물어보세요💬 토론 →
개발자용: 터미널 명령과 JSON 설정

컴퓨터에 설치

Claude Code

claude mcp add --scope user langmail --env STALWART_URL=your-value --env STALWART_PASSWORD=your-value --env STALWART_TOKEN=your-value --env MCP_AUTH_TOKEN=your-value -- npx -y langmail-mcp

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "langmail": {
      "command": "npx",
      "args": [
        "-y",
        "langmail-mcp"
      ],
      "env": {
        "STALWART_URL": "your-value",
        "STALWART_PASSWORD": "your-value",
        "STALWART_TOKEN": "your-value",
        "MCP_AUTH_TOKEN": "your-value"
      }
    }
  }
}

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "langmail": {
      "command": "npx",
      "args": [
        "-y",
        "langmail-mcp"
      ],
      "env": {
        "STALWART_URL": "your-value",
        "STALWART_PASSWORD": "your-value",
        "STALWART_TOKEN": "your-value",
        "MCP_AUTH_TOKEN": "your-value"
      }
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "langmail": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "langmail-mcp"
      ],
      "env": {
        "STALWART_URL": "your-value",
        "STALWART_PASSWORD": "your-value",
        "STALWART_TOKEN": "your-value",
        "MCP_AUTH_TOKEN": "your-value"
      }
    }
  }
}

직접 입력할 값

  • STALWART_URL 필수 env
    Stalwart 서버의 기본 URL(JMAP, CalDAV, CardDAV). 예: https://mail.example.com
    영어 원문 보기Base URL of your Stalwart server (JMAP, CalDAV and CardDAV), e.g. https://mail.example.com
  • STALWART_USERNAME env
    계정 로그인 이름(보통 이메일 주소). STALWART_PASSWORD와 함께 사용합니다.
    영어 원문 보기Account login name, usually the mail address; use together with STALWART_PASSWORD
  • STALWART_PASSWORD 비밀 필수 env
    STALWART_USERNAME용 앱 비밀번호. Stalwart의 계정 관리자에서 만듭니다.
    영어 원문 보기App password for STALWART_USERNAME, created in Stalwart's account manager
  • STALWART_TOKEN 비밀 필수 env
    Stalwart API 키 같은 Bearer 토큰. STALWART_USERNAME 및 STALWART_PASSWORD 대신 사용할 수 있습니다.
    영어 원문 보기Bearer token such as a Stalwart API key, as an alternative to STALWART_USERNAME and STALWART_PASSWORD
  • MCP_TRANSPORT env
    전송 방식: stdio(기본값) 또는 http. http는 /mcp에서 Streamable HTTP를 제공합니다
    영어 원문 보기Transport: stdio (the default) or http, which serves Streamable HTTP at /mcp
  • MCP_AUTH_TOKEN 비밀 필수 env
    MCP_TRANSPORT=http일 때 필수: 호출자가 Authorization: Bearer로 보내는 비밀 값이며 최소 16자입니다
    영어 원문 보기Required with MCP_TRANSPORT=http: the secret callers send as Authorization: Bearer; at least 16 characters
  • MCP_HOST env
    HTTP 전송: 수신 대기할 주소
    영어 원문 보기HTTP transport: address to listen on
  • MCP_PORT env
    HTTP 전송: 서버가 수신 대기할 포트
    영어 원문 보기HTTP transport: port to listen on
  • MCP_PUBLIC_URL env
    HTTP 전송: 호출자가 서버에 접근하는 주소(예: TLS를 종료하는 리버스 프록시 뒤)
    영어 원문 보기HTTP transport: the address callers reach the server under, e.g. behind a TLS-terminating reverse proxy
  • LOG_LEVEL env
    stderr 로그 수준: fatal, error, warn, info, debug, trace 또는 silent
    영어 원문 보기Log level for stderr: fatal, error, warn, info, debug, trace or silent
  • LANGMAIL_MCP_ALLOW_UNSUBSCRIBE_POST env
    1로 설정하면 unsubscribe_from_list가 발신자 URL로 RFC 8058 원클릭 수신거부 요청을 보낼 수 있습니다. 기본값은 꺼짐입니다
    영어 원문 보기Set to 1 to let unsubscribe_from_list send the RFC 8058 one-click request to the sender's URL; off by default
  • LANGMAIL_MCP_ALLOW_REMOTE_IMAGES env
    1로 설정하면 preview_email이 이 서버를 통해 메시지의 원격 이미지를 불러올 수 있습니다. 기본값은 꺼짐입니다
    영어 원문 보기Set to 1 to let preview_email load a message's remote images through this server; off by default

설명은 자동 번역이며 변수 이름은 원문 그대로입니다. 확실하지 않으면 원문을 확인하세요.

이 설정은 제작자의 레지스트리 정보로 만들었어요. README와 다르면 README를 따르세요.

한눈에 보기

주간 다운로드i
npm/PyPI에 없음
연결 방식
내 컴퓨터에서 실행
최신 버전i
0.1.0
레지스트리 공개i
2026년 11월 17일
코드 마지막 변경i
2026년 11월 17일
제작자
langmail
패키지
npm: langmail-mcp
레지스트리 상태
활성

어떤 앱에서 쓸 수 있나요

이 서버의 연결 방식과 각 앱의 공식 문서를 바탕으로 했어요. 2026년 11월 10일 확인.

내 컴퓨터에서 실행하는 앱

ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast

모든 앱과 장단점 →

할 수 있는 일

내 컴퓨터에서 실행돼요. 설치하면 AI 앱에 도구 목록이 나타나요.

기본 점검i

누구나 볼 수 있는 정보를 점검했고, 코드는 읽지 않았어요. 해당하지 않는 항목은 개수에서 뺐어요. · 2026년 11월 19일 점검

  • ✓ 통과

    제작자와 저장소 일치

    레지스트리 이름이 GitHub 계정 langmail 기준으로 확인되었고, 이 계정이 저장소를 소유하고 있어요

  • ✓ 통과

    계속 관리되고 있음

    코드 마지막 변경: 그저께

  • ✓ 통과

    라이선스 있음

    MIT 사용

  • – 해당 없음

    엔드포인트 응답

    내 컴퓨터에서 실행되는 서버라 인터넷 엔드포인트가 없어요

  • – 해당 없음

    OAuth로 로그인

    내 컴퓨터에서 실행되며, 대신 로컬 설정을 사용해요

  • … 아직 점검 안 함

    도구 설명에 숨겨진 지시 없음

    내 컴퓨터에서 실행돼요. 도구 목록은 인터넷 엔드포인트가 있는 서버에서만 읽을 수 있어요

공개된 취약점 (OSV.dev)

OSV.dev에 langmail-mcp@0.1.0 항목이 없습니다

이 버전의 패키지 자체만 확인하며 모든 의존성은 아닙니다 · 확인 2026년 11월 17일

우리가 확인하는 것 → · JSON

제작자: 재확인 요청 또는 잘못된 정보 신고
제작자용: README에 배지 달기

제작자라면 이 코드를 README에 붙여 넣으세요. 배지는 이 페이지로 연결됩니다.

[![Featured on PopNx MCP](https://mcp.popnx.com/badge/langmail-mcp.svg)](https://mcp.popnx.com/en/servers/langmail-mcp)

토론

질문하고, 팁을 나누고, 안 되는 점을 알려 주세요. "도움이 됨"이 많은 순서예요.

아직 글이 없어요. 처음으로 질문하거나 공유해 보세요.

이곳의 글은 사용자가 쓴 것으로, PopNx 팀의 글이 아니에요.

로그인하고 글쓰기

사용자 리뷰

아직 리뷰가 없어요

로그인하고 리뷰 쓰기

채팅 및 이메일 카테고리의 다른 서버와 비교i

  • 이 카테고리의 다른 서버 2027개 중 83%보다 스타가 많아요
  • 이 카테고리의 다른 서버 2027개 중 91%보다 최근에 레지스트리에 공개됐어요
  • 기본 점검 결과가 이 카테고리의 다른 서버 2027개 중 99%와 같거나 더 좋아요

레지스트리에서 이 카테고리의 활성 서버 전체와 비교했어요. 스타는 게시자가 저장소를 소유한 경우에만 세요.

자주 묻는 질문

Langmail MCP for your own Stalwart: email, calendar and contacts, 안전한가요?

해당하는 기본 점검 3개 중 3개를 통과했어요. 코드는 읽지 않았어요. 키나 토큰을 넣기 전에 서버가 어떤 권한을 요구하는지 확인하고, 꼭 필요한 권한만 있는 키를 쓰세요.

어떤 키나 코드가 필요한가요?

입력해야 할 값: STALWART_PASSWORD, STALWART_TOKEN, MCP_AUTH_TOKEN

내 컴퓨터에서 실행되나요, 클라우드에서 실행되나요?

내 컴퓨터에서 실행돼요. AI 앱이 필요할 때 실행하고, 데이터는 제작자의 서버를 거치지 않아요(서버 자체가 온라인 서비스를 호출하는 경우는 제외).

아직 관리되고 있나요?

GitHub 저장소는 마지막으로 그저께 변경됐고, 최신 버전(0.1.0)은 그저께 레지스트리에 올라왔어요.

어떤 앱에서 쓸 수 있나요?

Claude Desktop, Claude Code, Cursor, VS Code처럼 MCP를 지원하는 앱에서 쓸 수 있어요. 내 컴퓨터에 Node.js도 있어야 해요.

대신 쓸 수 있는 건 뭐가 있나요?

같은 카테고리에는: emailmd, Kite Discord Bot Builder, e2a — email for AI agents, Infobip MCP, kernelCAD

비슷하게 동작하는 다른 것

같은 카테고리, 다른 제작자, 명령 확인 완료. 공식이 먼저, 그다음 스타 순.

카드 보는 법:↓ 주간 다운로드i★ GitHub 스타i세 기둥: 리뷰 · 점검 · 사용 정도i업데이트 = 최신 버전을 레지스트리에 공개한 날i

emailmd

Render markdown into email-safe HTML, lint drafts for deliverability problems, and preview emails.

제작자: anypost널리 사용됨↓ 5.4천/주★ 1.4천5일 전 업데이트

컴퓨터 또는 클라우드✓ 서비스 회사 · emailmd.dev

Infobip MCP

Infobip MCP server for omnichannel communication and messaging. SMS, RCS, WhatsApp, Viber and more.

제작자: infobip초기★ 3613개월 전 업데이트

클라우드에서 실행✓ 서비스 회사 · infobip.com

kernelCAD

CAD in ChatGPT and Claude: editable parts, STEP/STL/drawings, in-chat 3D, automatic checks.

제작자: w1ne초기★ 3523일 전 업데이트

클라우드에서 실행✓ 서비스 회사 · kernelcad.com
비슷한 항목과 비교
이 항목
Langmail MCP for your own Stalwart: email, calendar and contacts
emailmdKite Discord Bot Buildere2a — email for AI agentsInfobip MCPkernelCAD
실행 위치컴퓨터에 설치 필요클라우드 또는 컴퓨터 설치 모두 가능클라우드에서 동작, 설치 불필요클라우드에서 동작, 설치 불필요클라우드에서 동작, 설치 불필요클라우드에서 동작, 설치 불필요
키 필요예아니요아니요아니요아니요아니요
Claude에서 +로 추가아니요아니요아니요아니요예아니요
기본 점검3/35/54/44/44/44/4
라이선스MITMITAGPL-3.0Apache-2.0MITMIT
가격등록 정보에 비용 없음등록 정보에 비용 없음등록 정보에 비용 없음등록 정보에 비용 없음등록 정보에 비용 없음등록 정보에 비용 없음

제작자의 README

README 열기

제작자의 저장소에서 쓰인 그대로 가져왔어요. PopNx MCP가 검토하거나 보증한 내용이 아니에요. HTML, 이미지, 스크립트는 제거했어요. 링크를 누르면 이 사이트를 벗어나요.

Langmail MCP for your own Stalwart: email, calendar and contacts

langmail-mcp is an open-source MCP server (Model Context Protocol) for people who run a self-hosted Stalwart mail server. It gives an AI agent the email, calendar and contacts tools of Langmail's hosted MCP server, and works against your own Stalwart over JMAP, CalDAV and CardDAV. It runs on your computer or on your server and talks only to your Stalwart; no Langmail service is involved.

Not affiliated with Stalwart Labs.

The first release is pending. langmail-mcp is not on npm yet, so npx -y langmail-mcp does not work today. Until it is, run the server from a clone: git clone https://github.com/langmail/langmail-mcp.git, cd langmail-mcp, npm ci, npm run build, and use node /path/to/langmail-mcp/dist/index.js wherever this document says npx -y langmail-mcp.

What you can ask an agent to do with it

An agent connected to this server can search and read your mail, write drafts and send them, file and label messages, manage mail rules, and work with your calendars and contacts. The following prompts are examples of what that makes possible:

  • "Find the email from the landlord about the heating repair. It was some time in 2023 and I cannot find it."
  • "Summarise the conversation with the accountant about the tax return: what is done, what is still open, and what is waiting on my reply."
  • "Draft a reply to Anna that proposes two free slots next week, and leave it in my drafts for me to review."

Reading mail does not mark it as read. Sending mail, unsubscribing and changing a meeting that other people are invited to cannot be undone, so it is sensible to have the agent confirm those with you first.

Install

The server needs Node.js 22 or later. There is nothing to install by hand: an MCP client starts the server with npx -y langmail-mcp, which downloads the package on first use. To have the langmail-mcp command available permanently, for example on a server, install it globally:

npm install -g langmail-mcp

Configure

All configuration comes from environment variables. The server checks them when it starts and refuses to start with a message that names what to set. Nothing has a default that points to a host other than your own.

VariableRequiredDefaultMeaning
STALWART_URLyesBase URL of your Stalwart, for example https://mail.example.com. JMAP, CalDAV and CardDAV are reached under it. Use https://; the server warns about http:// to any host but the local machine.
STALWART_USERNAMEwith STALWART_PASSWORDThe account's login name, usually its mail address.
STALWART_PASSWORDwith STALWART_USERNAMEAn app password for that account (see Creating a Stalwart app password).
STALWART_TOKENinstead of username and passwordA bearer token, for example a Stalwart API key. Set either this or the username and password, not both.
MCP_TRANSPORTnostdiostdio or http. The command-line arguments --http and --stdio do the same and take precedence.
MCP_AUTH_TOKENin HTTP modeThe secret callers must send as Authorization: Bearer . At least 16 printable ASCII characters without spaces.
MCP_HOSTno127.0.0.1HTTP mode: the address to listen on.
MCP_PORTno8080HTTP mode: the port to listen on.
MCP_PUBLIC_URLbehind a reverse proxyhttp:// : HTTP mode: the address callers reach the server under, for example https://mcp.example.com.
LOG_LEVELnowarnfatal, error, warn, info, debug, trace or silent. info adds one line per tool call. Logs go to stderr.
LANGMAIL_MCP_ALLOW_UNSUBSCRIBE_POSTnooffSet to 1 to let unsubscribe_from_list send a one-click unsubscribe request to the sender's URL.
LANGMAIL_MCP_ALLOW_REMOTE_IMAGESnooffSet to 1 to let preview_email load a message's remote images through this server.

.env.example lists the same settings with comments.

Your Stalwart must advertise the same public URL you set as STALWART_URL (same scheme, hostname and port). The server sends your credential to that address only: if Stalwart names another one for its JMAP or CalDAV endpoints, for example http:// behind a TLS proxy or an internal hostname, the tool call fails with a message naming both addresses and nothing is sent to the other one.

Connect an agent

The server speaks MCP over two transports. Over stdio, the MCP client starts the server as a child process, which fits an agent that runs on the same computer. Over Streamable HTTP, the server runs on its own and the agent connects to it by URL, which fits an agent on a server.

On the same computer, over stdio

Most MCP clients read a JSON configuration of this shape. The file's name and location depend on the client.

{

"mcpServers": { "langmail": { "command": "npx", "args": ["-y", "langmail-mcp"], "env": { "STALWART_URL": "https://mail.example.com", "STALWART_USERNAME": "you@example.com", "STALWART_PASSWORD": "your-app-password" } } } }

For Claude Desktop, this is the content of claude_desktop_config.json, which opens from Settings, Developer, Edit Config. For Claude Code, one command adds the server:

claude mcp add langmail \

-e STALWART_URL=https://mail.example.com \ -e STALWART_USERNAME=you@example.com \ -e STALWART_PASSWORD=your-app-password \ -- npx -y langmail-mcp

The server does not contact Stalwart when it starts. A wrong URL or password therefore shows up on the agent's first tool call, not at start-up.

On a server, over Streamable HTTP

In HTTP mode the server listens at /mcp, on 127.0.0.1:8080 by default. It refuses to start without MCP_AUTH_TOKEN, and every caller must send that secret as Authorization: Bearer . Any other request to /mcp is answered with 401 and no data. openssl rand -hex 32 generates a suitable secret.

export STALWART_URL=https://mail.example.com

export STALWART_USERNAME=you@example.com export STALWART_PASSWORD=your-app-password export MCP_AUTH_TOKEN="$(openssl rand -hex 32)" npx langmail-mcp --http

langmail-mcp: listening on http://127.0.0.1:8080/mcp

GET /healthz answers ok without the token, for a process supervisor or a load balancer to check.

To keep the server running, a systemd unit along these lines can be used. The environment file holds the variables above, one NAME=value per line, and should be readable only by the service's user (chmod 600).

# /etc/systemd/system/langmail-mcp.service

[Unit] Description=Langmail MCP for Stalwart After=network-online.target Wants=network-online.target

[Service] EnvironmentFile=/etc/langmail-mcp.env ExecStart=/usr/bin/npx -y langmail-mcp --http Restart=on-failure User=langmail-mcp

[Install] WantedBy=multi-user.target

The default address is reachable from the same machine only, which is enough for an agent that runs on that machine. The server speaks plain HTTP. For that reason, TLS must be terminated by a reverse proxy before the server is exposed beyond loopback; otherwise the token and your mail travel unencrypted. With Caddy, which obtains the certificate itself, the configuration is:

mcp.example.com {

reverse_proxy 127.0.0.1:8080 }

Behind a reverse proxy, MCP_PUBLIC_URL must be set to the address callers use, here https://mcp.example.com. The server only accepts requests addressed to a loopback name or to the host of MCP_PUBLIC_URL, as a protection against DNS rebinding, and answers 403 to a proxied request when the variable is missing. The links the attachment tools hand out are created under the same address.

A client then connects to a remote HTTP server with a bearer header. In Claude Code's .mcp.json format, which several other clients share:

{

"mcpServers": { "langmail": { "type": "http", "url": "https://mcp.example.com/mcp", "headers": { "Authorization": "Bearer your-mcp-auth-token" } } } }

The equivalent Claude Code command is:

claude mcp add --transport http langmail https://mcp.example.com/mcp \

--header "Authorization: Bearer your-mcp-auth-token"

There is no OAuth flow. A client that can only connect to remote servers through OAuth, and cannot send a fixed header, cannot use this server over HTTP.

Creating a Stalwart app password

An app password is a separate password for one application, which can be revoked without changing the account's main password. Stalwart calls it by that name. Each user creates their own in Stalwart's account manager, which is served under /account on your Stalwart (for example https://mail.example.com/account). Stalwart shows the generated password once, so copy it when it is created. Stalwart's documentation describes the steps and the options: App passwords.

Set STALWART_USERNAME to the account's login name and STALWART_PASSWORD to the app password. The server signs in with HTTP Basic authentication. Alternatively, set STALWART_TOKEN to a Stalwart API key, which is sent as a bearer token.

Tools

The server registers 40 tools. Their names and inputs are the same as on Langmail's hosted server, so the Langmail documentation describes what each one does and how they fit together: https://docs.langmail.me/reference/mcp/overview. Their descriptions are the same too, except for a few sentences that are only true of the hosted service. A test compares every definition with the hosted server's and lists each of those rewordings: src/mcp/hosted-parity.test.ts.

GroupTools
Mailsearch_emails, get_email, get_thread, preview_email, archive_emails, move_emails, trash_emails, mark_emails, unsubscribe_from_list
Drafts and sendingcreate_draft, get_draft, list_drafts, update_draft, delete_draft, send_draft, reply_to_message, forward_message
Attachmentsdownload_attachment, download_email, upload_attachments
Mail rulespreview_mail_rule, create_mail_rule, list_mail_rules, update_mail_rule, delete_mail_rule
Calendarlist_calendars, create_calendar, update_calendar, list_calendar_events, create_calendar_event, update_calendar_event, delete_calendar_event, move_calendar_events, respond_to_event
Contactssearch_contacts, list_upcoming_birthdays, create_contact, update_contact, delete_contact, merge_contacts

Differences from Langmail's hosted server

The tools behave as they do on the hosted server wherever a plain Stalwart allows it. The differences below follow from two facts: this server has no Langmail service behind it, and it sends nothing to a third party unless you turn that on.

  • Calendar sharing is left out. share_calendar and stop_sharing_calendar hand out calendar feed links that Langmail's hosted service and database serve. This server has neither, so the two tools do not exist here, and list_calendars shows no sharing information.
  • One-click unsubscribe is off by default. The one-click request of RFC 8058 goes to a URL the sender chose. unsubscribe_from_list sends it only when LANGMAIL_MCP_ALLOW_UNSUBSCRIBE_POST=1 is set. Otherwise the tool returns the unsubscribe link or address for you to use yourself.
  • Remote images are not loaded by default. preview_email renders a message without its remote images unless LANGMAIL_MCP_ALLOW_REMOTE_IMAGES=1 is set. When it is, this server fetches the images and passes them on, so the sender sees the server's address and not the address of the device t

앞부분만 보여 드려요. 나머지는 저장소에서 읽어 보세요