EzGYM MCP Server
Free remote MCP server for gym management, ZKTeco ADMS biometric access control, turnstiles, memberships, and OCPP 1.6J EV chargers via OAuth 2.1 for Claude, ChatGPT, Codex & Cursor.
Hosted MCP Server
npx add-mcp 'https://www.ezgym.net/mcp'Installs into Claude Code, Codex, Cursor and more
Documentation
Connect ZKTeco to Codex, ChatGPT and Claude with EzGYM
Query your account and prepare actions from an MCP-compatible AI, with your permissions and confirmation before each change.
Connect ZKTeco and set up each AI
Reviewed November 26, 2026. Provider menu labels and plans may change.
Before you start
You need a brand account, a user with attendance permissions and an account with your chosen AI. MCP is available by default to all accounts; administrators can disable it in Tools → Connected AIs. AI access follows your permissions. Creating employees, correcting punches and clock commands require attendance management and read and write authorization. Reports only require read-only access.
First connect your clock: check ADMS / PUSH, the account timezone and a punch arriving in Attendance. USB or PULL devices without ADMS need file imports in the app; your AI can then query the imported punches. MCP does not configure clock networking or firmware.
Create or sign in to an official provider account. Organization users may need administrator permission for MCP connectors; plans and interfaces vary. Authorizing this server with OAuth does not require an AI API key.
https://www.ezgym.net/mcp
In the browser opened by your client, enter your brand account address, email and password. Review the AI and account, choose access and approve. Return to your AI and check the tools. Enter credentials only on our sign-in screen, never in chat, configuration files or a client token field.
Codex
Sign up or sign in at ChatGPT/Codex. Open MCP server settings in Codex, add a remote HTTP server with the address below and authorize with OAuth. Alternatively, use the Codex CLI commands below. Configuration sharing between Codex surfaces depends on your installation.
codex mcp add zkteco --url https://www.ezgym.net/mcp
codex mcp login zkteco --oauth-client-registration dcr
codex mcp list
ChatGPT
Sign in to ChatGPT. Open Plugins → + → Add custom MCP server, enter a name and the HTTPS address, select OAuth with automatic client registration (DCR), sign in and review the tools. Older interfaces use Settings → Apps → Create and Scan Tools. If unavailable, check your plan, workspace permissions and the official guide. Select the connector in your conversation; pasting its URL into chat is insufficient.
Claude
Sign in to Claude. Open Customize → Connectors → Add → Custom → Web; older interfaces use Settings → Connectors. Enter a name and the full URL, select OAuth and Register automatically for DCR, sign in and enable the connector in your conversation. Team/Enterprise owners may need to add it to the organization first.
Claude Code
Install and sign in to Claude Code. Add the HTTP server with the command below. Inside Claude Code, use /mcp, select the server and authenticate in your browser.
claude mcp add --transport http zkteco https://www.ezgym.net/mcp
Gemini CLI
Install Gemini CLI and follow its Google sign-in setup. Add the HTTP server below, then run /mcp auth zkteco inside Gemini CLI. This guide covers Gemini CLI; it does not imply that Gemini web accepts arbitrary MCP URLs.
gemini mcp add --transport http zkteco https://www.ezgym.net/mcp
/mcp auth zkteco
VS Code
In VS Code, sign in with access to an AI agent. Run MCP: Add Server → HTTP in the command palette, enter the URL and choose a configuration location. Start the server, authorize OAuth and enable its tools in agent chat. Other editors require HTTP, OAuth with PKCE and DCR; use the exact callback shown by the client.
{
"servers": {
"zkteco": {
"type": "http",
"url": "https://www.ezgym.net/mcp"
}
}
}
Test the complete workflow
- Ask for employees and available schedules (
list_staff,list_shift_templates). Choose an unused clock employee number; attendance managers can checklist_clock_users. - Create an employee with a name, number and schedule (
create_staff). Review the preview and confirm. The existing service sends employees to compatible clocks according to synchronization state. Resending all active employees withsync_clock_staffrequires independent approval. - Record an entry and exit on the clock. Query
list_punchesandget_attendance_dayand verify the local date and timezone. - Ask who was absent or late. Without a schedule, absence cannot be determined. Distinguish rest days, current shifts, missing punches and excused leave from unexcused absence.
- Use
get_staff_attendancefor a daily employee report orget_attendance_summaryfor totals. Each query supports 31 days; split longer periods and follow every page. The AI can make a table or file if its client supports it; MCP returns data and does not itself generate PDFs. - Record justified leave with
add_absenceand review it withlist_absences. Correct punches usingadd_manual_punchorvoid_punch, with a reason and confirmation.
Troubleshooting
-
No tools: check OAuth authorization, connector enablement and user permissions. Users without attendance management cannot create staff or send commands.
-
Disabled account / 401: check Connected AIs and reconnect from the client if revoked or expired. Suspended accounts cannot use MCP.
-
Missing employees or punches: check
get_clockandlist_clock_commands.pendingawaits connection;sentmeans delivered;donemeans firmware acknowledgement;failedmeans rejected;unknownis uncertain. Verify received data before repeating. Preparerequest_clock_users,request_clock_info,request_clock_punchesorsync_clock_timeas needed. -
Pending confirmation: all writes require explicit confirmation. Critical actions also need app, email or WhatsApp approval according to account settings. Requests expire after ten minutes; never guess codes or create a new request to bypass approval.
-
Privacy and disconnecting: review activity and revoke access in Connected AIs. Synchronization uses existing photos through the clock service; MCP never gives photos or biometric templates to the AI. New absence queries exclude private notes and attachments.
Official client documentation
How to connect
Add the HTTPS address below to your MCP client and choose OAuth. Sign in with your EzGYM account address, email and password; then choose read only or read and act.
https://www.ezgym.net/mcp
Availability
MCP is enabled by default for all accounts. An administrator can disable it in Connected AIs. Your AI client may require its own plan or permissions.
You stay in control
Every action returns a preview to review and explicitly confirm in chat. Critical actions also require approval in Connected AIs, or a one-time email or WhatsApp code according to account settings. Requests expire after ten minutes.
Permissions and privacy
The AI receives the data you query from the account you connected. It does not receive passwords or access to other accounts. Revoke connections in Connected AIs; an administrator can disable them for the account. Further use of data by the AI provider is governed by its terms and privacy policy.
Clear limits
Lists are paginated. GPS history supports up to seven days per query; attendance and charging reports up to thirty-one days. A sent command does not prove that an engine or charger changed state: verify the outcome before repeating it.
MCP data and retention
We record the user, connection, tool and call outcome without copying arguments into the query log. Requests store encrypted parameters for confirmation; those details are purged after ninety days. Minimal request identifiers are retained to prevent duplicate execution.
Available tools
Read tools
list_vehicles: Vehicles and positionsget_vehicle_history: GPS historylist_fleet_alerts: Fleet alertslist_geofences: Geofencesget_attendance_day: Daily attendancelist_staff: Employeesget_attendance_summary: Attendance summarylist_punches: Puncheslist_shift_templates: Shared scheduleslist_absences: Recorded absencesget_staff_attendance: Daily employee reportlist_clock_users: People loaded on the clockget_clock: Clock diagnosislist_clock_commands: Clock command statuslist_clocks: Time clockslist_chargers: Chargersget_charger: Charger detailslist_charging_sessions: Charging sessionslist_rfid_cards: RFID cards
Actions with previews
-
share_vehicle_location: Share location -
stop_sharing_location: Stop sharing location -
request_vehicle_position: Request position -
create_geofence: Create geofence -
update_geofence: Edit geofence -
delete_geofence: Delete geofence -
update_fleet_alert_settings: Configure fleet alerts -
engine_stop: Stop engine -
engine_resume: Enable engine -
sync_clock_time: Set clock time -
request_clock_info: Refresh clock information -
request_clock_users: Read clock employees -
request_clock_punches: Recover clock punches -
sync_clock_staff: Send active employees to clock -
add_manual_punch: Add manual punch -
void_punch: Void punch -
add_absence: Add absence -
delete_absence: Delete absence -
create_staff: Create employee -
update_staff: Edit employee -
delete_staff: Delete employee -
start_charging: Start charging -
stop_charging: Stop charging -
set_power_limit: Change current limit -
add_rfid_card: Assign RFID card -
remove_rfid_card: Remove RFID card -
reset_charger: Reset charger -
unlock_connector: Unlock connector -
confirm_pending_action: Action confirmation
Documentation and support
Connecting does not publish your account data to search engines or guarantee AI recommendations.