tlc-portal-mcp
tlc-portal-mcp
TwolineCloud 포털의 휴가와 타임테이블 기능을 Claude Code, Codex 같은 MCP 클라이언트에서 사용할 수 있게 만든 stdio 기반 MCP 서버입니다.
패키지를 npx로 실행하면 브라우저 로그인, 휴가 조회/신청, 타임테이블 조회/입력, 버전 진단 같은 작업을 MCP 도구로 사용할 수 있습니다.
현재 지원 기능
포털 로그인과 인증 상태 확인
휴가 유형, 잔여 휴가, 휴가 신청 이력 조회
휴가 신청, 취소
타임테이블 관리 정보, 입력 가능 기간, 일별 상세 조회
타임테이블 프로젝트 목록 조회
휴가를 반영한 일별 입력 가능 시간 계산
타임테이블 단건/기간 입력 준비 및 제출
타임테이블 일별 전체 삭제
현재 서버 버전 확인 및 npm 최신 버전 비교
Related MCP server: ATimeLogger MCP Server
요구 사항
Node.js
18+포털 로그인이 가능한 브라우저 환경
설치 및 등록
Claude Code
# 사용자 전역 등록
claude mcp add tlc-portal-mcp --scope user -- npx -y tlc-portal-mcp
# 현재 프로젝트에만 등록
claude mcp add tlc-portal-mcp -- npx -y tlc-portal-mcpCodex CLI
# 사용자 전역 등록
codex mcp add tlc-portal-mcp -- npx -y tlc-portal-mcpCodex는 현재 프로젝트 전용 add 명령이 별도로 없으므로, 필요하면 프로젝트 루트의 .codex/config.toml에 직접 추가할 수 있습니다.
[mcp_servers.tlc-portal-mcp]
command = "npx"
args = ["-y", "tlc-portal-mcp"]실행 방식 메모
mcp add ... -- npx -y tlc-portal-mcp는 전역 설치가 아니라 실행 명령 등록입니다.실제 패키지 다운로드는 클라이언트가 서버를 처음 실행할 때 일어납니다.
매번 새로 설치하는 것은 아니고, 실행 환경에 따라 캐시된 버전이 재사용될 수 있습니다.
그래서 서버에는 현재 버전과 최신 버전을 확인하는
system.*도구가 포함되어 있습니다.
인증 방법
권장: auth.login
브라우저를 열어 사용자가 직접 로그인하면 localStorage['vuex']의 JWT를 자동 저장합니다.
auth.login실행브라우저에서 포털 로그인과 MFA 완료
로그인 성공 후 토큰 자동 저장
auth.status로 인증 상태 확인
로그인 성공 후 브라우저에는 안내 오버레이가 표시됩니다.
대체: auth.import_vuex
자동 로그인 흐름을 쓰기 어렵다면 브라우저에서 vuex 값을 직접 가져와 붙여넣을 수 있습니다.
브라우저에서 포털 로그인
DevTools에서
Application > Local Storage > https://portal.twolinecloud.com이동vuex값 복사auth.import_vuex실행 후 붙여넣기
도구 목록
시스템
Tool | 설명 |
| 현재 실행 중인 서버 이름, 버전, 등록된 도구 목록 반환 |
| npm 최신 버전과 현재 버전을 비교 |
인증
Tool | 설명 |
| 브라우저 로그인 후 JWT 자동 저장 |
|
|
| 현재 인증 상태 확인 |
| 로컬 세션 삭제 |
휴가
Tool | 설명 |
| 지원하는 휴가 유형 조회 |
| 잔여 휴가 조회 |
| 휴가 신청 이력 조회 |
| 휴가 신청 payload 준비 |
| 준비된 휴가 신청 제출 |
| 기존 휴가 신청 취소 |
타임테이블
Tool | 설명 |
| 타임테이블 관리/마감 정보 조회 |
| 현재 사용자의 타임테이블 현황 조회 |
| 입력 가능 기간 조회 |
| 특정 날짜 타임테이블 상세 조회 |
| 날짜 범위 전체를 타임테이블 + 공휴일/휴가 capacity와 함께 요약 |
| 타임테이블에 입력 가능한 프로젝트 목록 조회 |
| 휴가를 반영한 해당 날짜 입력 가능 시간 계산 |
| 단일 날짜 타임테이블 입력 준비 |
| 준비된 단일 날짜 입력 제출 |
| 기간 기준 일괄 입력 준비 |
| 준비된 일괄 입력 제출 |
| 특정 날짜 타임테이블 전체 삭제 |
타임테이블 규칙
기본 입력 가능 시간은 하루 8시간입니다.
반차(
AM,PM,admitAm,admitPm)가 있으면 최대 4시간만 기록할 수 있습니다.종일 휴가(
allDay,admit)가 있으면 해당 날짜에는 기록할 수 없습니다.한국 공휴일은 기본적으로 Nager.Date API에서 조회하고, 실패 시 내장 fallback 데이터를 사용합니다.
주말과 회사 공통 휴무일(
PORTAL_COMPANY_HOLIDAYS)도 입력 불가로 처리합니다.개인 휴가 overlay는 포털 overview 규칙에 맞춰
vacation-svc/request/secure의requestDt정렬 결과를 기준으로 계산합니다.workDate와taskType은 항상 필요합니다.projectId는 기본적으로 필요합니다.단,
taskType === NORMAL이면projectId없이 입력할 수 있습니다.쓰기 작업은
prepare -> submit흐름을 따릅니다.
권장 사용 순서
초기 진단
system.infosystem.check_updateauth.status필요 시
auth.login
휴가 흐름
leave.get_balancesleave.list_requestsleave.prepare_requestleave.submit_prepared_request
타임테이블 흐름
timetable.get_available_rangetimetable.get_range_overviewtimetable.list_projectstimetable.get_day_capacitytimetable.prepare_day_entry또는timetable.prepare_bulk_entriestimetable.submit_prepared_day_entry또는timetable.submit_prepared_bulk_entries
사용 예시
"현재 서버 버전이랑 최신 버전 비교해줘"
-> system.check_update
"내 휴가 잔여 일수 보여줘"
-> leave.get_balances
"이번 달 휴가 신청 이력 보여줘"
-> leave.list_requests
"4월 30일 오전 반차 신청 준비해줘"
-> leave.prepare_request
"오늘 입력 가능한 타임테이블 시간 계산해줘"
-> timetable.get_day_capacity
"2026년 2월 타임테이블 전체를 공휴일 포함해서 요약해줘"
-> timetable.get_range_overview
"2026-04-05에 프로젝트 274로 4시간, taskType EXECUTE로 입력 준비해줘"
-> timetable.prepare_day_entry
"오늘 일반업무 2시간, taskType NORMAL로 입력 준비해줘"
-> timetable.prepare_day_entry
"4월 1일부터 4월 3일까지 같은 내용으로 일괄 입력 준비해줘"
-> timetable.prepare_bulk_entries환경 변수
변수 | 기본값 | 설명 |
|
| 포털 기본 주소 |
|
| 로그인 진입 경로 |
|
| 로그인 성공 후 도달 URL |
|
| 로컬 세션 저장 파일 |
|
| API 요청 타임아웃 초 |
| `` | 쉼표로 구분한 회사 공통 휴무일 목록 ( |
|
| 한국 공휴일 조회 API base URL |
제한 사항
JWT 유효 시간은 현재 기준 약 2시간입니다.
토큰이 만료되면
auth.login또는auth.import_vuex를 다시 실행해야 합니다.Refresh token은 사용하지 않습니다.
세션 파일은 로컬에만 저장되며 서버로 업로드되지 않습니다.
system.check_update는 npm registry 접근이 가능한 환경에서만 최신 버전을 확인할 수 있습니다.공휴일 조회 API가 실패하면 내장 fallback 데이터로 판정합니다.
타임테이블의
NORMAL+projectId없음 조합은 문서 기준 허용 흐름으로 구현되어 있지만, 실제 포털 백엔드 수용 여부는 운영 환경에서 추가 확인이 필요합니다.
Available Tools
10 toolsauth.clearA
저장된 인증 세션을 삭제한다.
Inputs: no named parameters.
auth.import_vuexB
브라우저 localStorage['vuex'] 값을 붙여넣어 인증 상태를 가져온다.
Inputs: vuex_payload (required).
auth.loginC
브라우저를 열어 사용자가 직접 로그인하면 JWT를 자동 저장한다.
Inputs: timeout_seconds.
auth.statusB
현재 인증 상태를 반환한다.
Inputs: no named parameters.
leave.cancel_requestB
기존 휴가 신청을 취소한다.
Inputs: request_id (required).
leave.get_balancesB
현재 잔여 휴가를 조회한다.
Inputs: no named parameters.
leave.list_requestsC
휴가 신청 내역을 조회한다.
Inputs: statuses, from_date, to_date, limit, +1 more.
leave.list_typesA
지원하는 휴가 유형 목록을 반환한다.
Inputs: no named parameters.
leave.prepare_requestB
휴가 신청을 준비한다. 제출 전 확인 단계다.
Inputs: leave_type_code (required), start_date (required), end_date (required), unit, +3 more.
leave.submit_prepared_requestB
준비된 휴가 신청을 포탈에 제출한다.
Inputs: prepared_request_id (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 10 tools
Most tools target distinct resources and actions, especially within the leave namespace. The only possible confusion is between auth.login and auth.import_vuex, but their descriptions clearly separate browser-based login from importing an existing Vuex auth state.
Tool names consistently follow a verb_noun pattern with clear namespace prefixes like auth and leave. auth.status is a minor deviation as a noun, but overall the naming is predictable and easy to navigate.
Ten tools is a well-scoped size for a portal MCP server covering authentication and leave management. Each tool has a clear role, and the count feels neither bloated nor thin.
The leave workflow is well covered: types, balances, listing, preparing, submitting, and cancelling requests. Minor gaps include no direct request detail view or update/edit path, but cancel-and-recreate is a reasonable workaround.
Related MCP Connectors
Timetastic MCP server for ChatGPT, Claude and any AI agent: list wallchart absences, list pending leave requests, approve leave request, decline leave request, book time off, cancel booking, get monthly leave summary and get annual allowance summary in your own Timetastic account. Cotlet works in the account through your Cloud Browser, a real Chrome where you sign in to Timetastic yourself; Cotlet does not store your password and you need no Timetastic API key. About the official Timetastic API: Yes, Timetastic has a REST API with a bearer token, and no official MCP server (checked 20 Oct 2026). Only admin users can get a token, and the API has no endpoints for the monthly and annual summary reports. Setup and FAQ: https://cotlet.dev/integrations/timetastic-api-mcp-server
Shared memory MCP server for Claude Code, Codex, Gemini CLI and Cursor. Cited, editable.
CharlieHR MCP server for ChatGPT, Claude and any AI agent: list team members, list time off requests, approve time off request, deny time off request, book time off, record sick day, adjust time off allowance and cancel time off booking in your own CharlieHR account. Cotlet works in the account through your Cloud Browser, a real Chrome where you sign in to CharlieHR yourself; Cotlet does not store your password and you need no CharlieHR API key. About the official CharlieHR API: CharlieHR has an API, but a narrow one, and no official MCP server (checked 20 Oct 2026). A Super Admin creates a Client ID and Client Secret under Company > Integrations > API Access; the API covers team members, leave, offices and teams. Setup and FAQ: https://cotlet.dev/integrations/charliehr-api-mcp-server
Connect ChatGPT and Claude to your Mac, Windows or Linux with secure MCP remote access.
Related MCP Servers
- FlicenseAqualityCmaintenanceMCP server for logging and checking Jira Cloud worklogs from AI agents such as Claude Code, Claude Desktop, Cursor, or any MCP client that supports stdio.71-
- FlicenseAqualityDmaintenanceA standalone MCP server that exposes the ATimeLogger REST API to Claude Desktop/Code over stdio, enabling activity tracking (start/stop/pause/log), reports/history, and activity type management.81-
- FlicenseAqualityCmaintenanceA local MCP server that bridges Claude Desktop/Cowork to the Azure DevOps CLI, enabling full use of az devops, az repos, az boards, az pipelines, and az artifacts commands.12-
- AlicenseNot gradedqualityDmaintenanceA standalone MCP server that lets Claude Code, opencode, and other MCP clients control your real browser via the QoderWork browser connector extension, preserving login state and providing tools for navigation, clicking, typing, screenshots, and more.ISC