feat: improve axanta-erp MCP server with lazy auth and new tools#6
Draft
vidaunited wants to merge 1 commit into
Draft
feat: improve axanta-erp MCP server with lazy auth and new tools#6vidaunited wants to merge 1 commit into
vidaunited wants to merge 1 commit into
Conversation
- Lazy authentication: server starts without connecting, authenticates on first tool call. Prevents crash if ERP is unreachable at startup. - New tools: list_models (discover available data), get_model_fields (inspect field definitions), count_records, get_pos_orders, get_accounting_summary (payments/journal entries/vendor bills) - Support pagination via offset parameter in search_records - Support batch reads (multiple IDs) in get_record - Refactored dispatch into separate function for clarity Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CtScfT7iyhuTPV5rd8mQ5W
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
list_models(discover available data),get_model_fields(inspect field definitions),count_records,get_pos_orders,get_accounting_summary(payments/journal entries/vendor bills)offsetparameter insearch_recordsget_recordSetup
Available Tools (17 total)
list_modelsget_model_fieldssearch_recordscount_recordsget_recordget_sales_summaryget_inventoryget_customersget_invoicesget_purchase_ordersget_employeesget_stock_movementsget_pos_ordersget_accounting_summarycreate_recordupdate_recordget_report_dataTest plan
list_modelsto discover available datasearch_recordswith domain filters🤖 Generated with Claude Code
https://claude.ai/code/session_01CtScfT7iyhuTPV5rd8mQ5W
Generated by Claude Code