MCP ERPNext
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| GITLAB_URL | No | Optional GitLab instance URL for software releases | |
| ERPNEXT_URL | Yes | Your ERPNext instance URL | |
| REDMINE_URL | No | Optional Redmine URL for auto-fetching ticket titles | |
| GITLAB_TOKEN | No | Optional GitLab personal access token | |
| REDMINE_API_KEY | No | Optional Redmine API key | |
| ERPNEXT_PASSWORD | Yes | Your ERPNext password | |
| ERPNEXT_USERNAME | Yes | Your ERPNext email/username | |
| ERPNEXT_TOTP_SECRET | No | Optional TOTP secret for 2FA |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {} |
| resources | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| erpnext_loginA | Login to ERPNext with username/password and optional TOTP. Call this first before other operations. |
| erpnext_get_current_employeeB | Get the employee record linked to the currently logged in user |
| erpnext_list_activity_typesA | List all available activity types for timesheets |
| erpnext_list_projectsC | List all projects |
| erpnext_list_tasksC | List tasks for a specific project |
| erpnext_create_timesheetC | Create a new timesheet with time logs. |
| erpnext_quick_timesheetB | Create a timesheet for today with a single entry |
| erpnext_list_timesheetsC | List timesheets with optional filters |
| erpnext_get_timesheetC | Get details of a specific timesheet |
| erpnext_get_my_draft_timesheetsB | Get all draft timesheets for current employee |
| erpnext_add_time_logB | Add time log to existing draft timesheet |
| erpnext_submit_timesheetC | Submit a draft timesheet |
| erpnext_cancel_timesheetB | Cancel a submitted timesheet |
| erpnext_create_weekly_timesheetC | Create weekly timesheet: 7h Billable + 2h Non-Billable per day, Mon-Fri |
| erpnext_create_custom_timesheetC | Create timesheet with custom entries |
| erpnext_update_time_logA | Update a specific time log in a draft timesheet. Use this to edit hours, times, project, activity type, or description of an existing time entry. |
| erpnext_remove_time_logA | Remove a specific time log from a draft timesheet. Cannot remove the last time log. |
| erpnext_update_timesheet_noteB | Update the note on a draft timesheet |
| erpnext_delete_timesheetA | Delete a draft timesheet. Only works on timesheets that have not been submitted. |
| erpnext_list_leave_typesB | List all available leave types |
| erpnext_get_leave_balanceC | Get leave balance for employee |
| erpnext_list_leave_applicationsC | List leave applications with filters |
| erpnext_get_leave_applicationC | Get details of a specific leave application |
| erpnext_get_my_pending_leavesA | Get pending leave applications for current employee |
| erpnext_get_my_approved_leavesB | Get approved leave applications for current employee |
| erpnext_apply_leaveC | Apply for leave (single or multiple days) |
| erpnext_submit_leave_applicationC | Submit leave application for approval |
| erpnext_cancel_leave_applicationC | Cancel a leave application |
| erpnext_create_software_releaseB | Create a software release document in ERPNext from GitLab merge request URL(s). When template_release_url is provided, auto-fills Product, Customer, and Reviewer from that release. Also auto-fetches: Redmine IDs from MR description (#123456), patch/test report URLs from MR notes, and Redmine ticket titles if REDMINE_API_KEY configured. All links in release notes are clickable. |
| erpnext_preview_software_releaseA | Preview what a software release will look like BEFORE creating it. Shows all auto-detected fields, their sources, and any missing required fields. Use this to review the release details before calling erpnext_create_software_release. |
| erpnext_list_productsB | List available products (Brands) for software release selection |
| erpnext_list_customers_for_releaseC | List available customers for software release selection |
| erpnext_get_mr_detailsA | Get details from a GitLab merge request URL including auto-detected customer, version, Redmine IDs from description, and auto-fetched patch/test report URLs from MR notes |
| erpnext_get_redmine_issueB | Get Redmine issue details (title/subject) from issue ID or URL. Requires REDMINE_API_KEY to be configured. |
| erpnext_get_redmine_issue_detailsA | Get FULL Redmine issue details from an ID or URL: description, status, priority, assignee, done ratio, comments/journal notes, attachments, sub-tasks (children) and relations. Use this (not erpnext_get_redmine_issue) when you need the actual issue content, reported bugs, or discussion. Requires REDMINE_API_KEY. |
| erpnext_update_redmine_issueB | Update a Redmine issue: add a comment/note and/or change fields (status, assignee, priority, done ratio, subject, description, dates). Provide either status_id or status_name (name is resolved automatically). Requires REDMINE_API_KEY with write permission on the project. |
| erpnext_create_redmine_issueA | Create a NEW Redmine issue in a project. Use this to open a fresh ticket (e.g. a Clarification/tracking ticket) — distinct from erpnext_update_redmine_issue, which only edits an existing issue. Some projects require assignee (yourself), due date and certain custom fields (e.g. Complexity); pass assign_to_current_user:true to auto-assign to the API-key user, and custom_fields for any required custom field. Requires REDMINE_API_KEY with create permission on the project. |
| erpnext_get_software_releaseC | Get details of an existing software release (can be used as template reference) |
| erpnext_list_software_releasesC | List recent software releases with optional filters |
| erpnext_download_redmine_attachmentA | Download a file attachment from a Redmine issue to local disk (e.g. an issue's SQL script, spreadsheet, or document). Accepts the attachment id or a Redmine attachment download URL. Returns the saved file path, metadata, and — for text-like files — a content preview. Requires REDMINE_API_KEY. |
| erpnext_list_merge_requestsA | List merge requests from a GitLab project with filters (state, author, date range). Returns a list of MRs that can be selected for task creation analysis. |
| erpnext_analyze_merge_requestA | Analyze one or multiple GitLab merge requests and generate intelligent task breakdown. Extracts commits, groups them by type (features/fixes/refactors), and identifies Redmine issues from MR descriptions. Returns suggested tasks for user review before creation. |
| erpnext_create_tasks_from_analysisB | Create tasks in ERPNext from previously analyzed merge request data. Tasks are created with "Completed" status and automatically assigned to the current employee. |
| erpnext_get_developer_tasksB | Get Developer Tasks assigned to a developer (defaults to the logged-in user) with optional filters by date range, status, product, or subject search. Returns the tasks plus a breakdown of task counts per client/project (SBI, ICICI, TCIL/Mudra 2, etc.). Useful for building a delivery footprint or activity report. |
| erpnext_validate_user_storyA | Validate a Taiga User Story by its URL and return its id, title and project. Use this before creating tasks to confirm the user story exists and to obtain the user_story_id. |
| erpnext_create_user_storyA | Create a new User Story in a Taiga project. Returns the created user story id, ref and URL. Use the returned user_story_id with erpnext_create_taiga_tasks to add tasks under it. |
| erpnext_create_taiga_tasksA | Create one or more tasks in Taiga under a given User Story. Resolves assignees from project members and sets custom attributes (complexity, task_type) when those attributes exist on the project. Returns created task refs/ids and any failures. |
| erpnext_export_tasks_to_erpB | Export tasks to ERPNext as "Developer Task" documents. Resolves the developer (employee code) from a name when not provided, maps the Taiga task_type to an ERP category, and normalizes complexity. Returns created ids, in-batch skips, and failures. |
| erpnext_get_taiga_tasksA | Get Taiga tasks assigned to a user (defaults to the authenticated user), with each task's description and attachment metadata. Optionally filter by project (slug or name) and status; by default only OPEN tasks are returned. Use this to read a task's description and see its attachments (download them with erpnext_download_taiga_attachment). |
| erpnext_get_user_story_tasksA | Get ALL tasks under a Taiga user story (any assignee) with their FULL descriptions, plus the merge-commit SHAs and Redmine issue ids referenced in each description. Use this — not erpnext_get_taiga_tasks — when working from a user story URL/ref, e.g. to collect the 'Ready for test' points of a sprint and trace them to the commits to cherry-pick into a release branch. |
| erpnext_update_taiga_taskA | Update a Taiga task's status and/or description. Identify the task by numeric task_id, or by ref + project (slug or name). Status names are resolved to the project's status ids automatically. |
| erpnext_download_taiga_attachmentA | Download a Taiga task attachment to local disk. Provide the attachment url (from erpnext_get_taiga_tasks) or a numeric attachment_id. Returns the saved file path and — for text-like files — a content preview. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| Draft Timesheets | List of all draft timesheets for current employee |
| Activity Types | Available activity types for timesheets |
| Projects | List of all projects |
| Leave Types | Available leave types |
| Pending Leaves | List of pending leave applications |
TDQS
Scored across 52 tools
Several clusters overlap heavily: four separate ways to create a timesheet (create/quick/create_weekly/create_custom), and pairs like get_redmine_issue vs get_redmine_issue_details or get_taiga_tasks vs get_user_story_tasks. Descriptions do explicitly disambiguate most of these (e.g. 'use this, not X'), but the sheer number of near-synonyms makes misselection likely under time pressure.
All tools share the erpnext_ prefix and snake_case with consistent verb_noun phrasing (list_/get_/create_/update_/delete_/submit_/cancel_/download_). Minor deviations exist, such as erpnext_quick_timesheet and erpnext_apply_leave, which break the verb_noun pattern slightly.
At 52 tools the surface is very heavy, well past the 25+ threshold, and several tools are near-duplicates that could be collapsed into parameters. Even granting that the server spans five systems (ERP timesheets/leave, releases, Redmine, GitLab, Taiga), the count is unwieldy for reliable tool selection.
Coverage is broad and deep: full timesheet lifecycle (create variants, logs, submit, cancel, delete, note), full leave lifecycle, release creation/preview/listing, and read/write Redmine plus Taiga task flows. Gaps remain around ERP project/task CRUD (no create/update project, no update/delete developer task) and no update/delete for software releases.