MCP server · Audited from source
D365FO Client MCP server
by mafzaal/d365fo-clientMIT licenceAudited 8 Oct 2026 · source 7f67cecf4d07
Is it safe? With care — CAUTION, grade B (89/100). It exposes 49 tools: 32 read, 14 write and 3 destructive. The audit recorded 7 findings (0 critical, 0 high, 2 medium, 3 low). Maintainer's description: A comprehensive Python client library and MCP server for Microsoft Dynamics 365 Finance & Operations (D365 F&O) that provides easy access to OData endpoints, metadata operations, label management, and AI assistant integration.
Cite
Cite this page
ModelsAtlas. “D365FO Client MCP server (mafzaal/d365fo-client)”. Retrieved 8 Oct 2026. https://modelsatlas.com/mcp/mafzaal/d365fo-client
Trust audit
Audit 0.4.1 · full source read 8 Oct 2026
7 findings, listed below with the file and line each was found on. Grade A needs a sandboxed behavioural run too; this audit read the source only.
What the source does
- FilesystemDeclared3 observations
- NetworkDeclared7 observations
- ShellNone observedNothing seen in the source
- DependenciesPinnedNothing floats
- SecretsNone foundNo keys in source
“Declared” means the server says it does this and the source agrees. Browser, file and shell access are expected of some kinds of server.
Five audit layers
| Layer | What we check | Result |
|---|---|---|
L0 Provenance | Repo owner, licence, archive status, activity | PASS |
L1 Static source | Secrets, path traversal, supply chain | WARN 4 findings |
L2 Instructions | Prompt injection and authority framing in docs and tool descriptions | PASS 2 findings |
L3 Inventory | Declared tools match the source | WARN 1 finding |
L4 Sandbox | Run in isolation and watch behaviour | SKIPPED |
Provenance & runtime
Who published it, and what the audit could and could not run
Provenance
- Repository owner
mafzaalUser accountAccount type recorded when we read the repository. - PackagePublished on PyPI
d365fo-clientat version 0.3.7 - LicenceMITFrom the repository, as read at the audited commit.
- Last push3 days agoActivity of the repository when we read it.
- Source commit read7f67cecf4d07The audit covers exactly this commit, read on 8 Oct 2026.
Runtime
- Sandbox runNot run yetThis audit read the source only; it did not execute the server.
- Tool inventory49 declaredRead from the source and classed read, write or destructive.
Every value here is read from the record's own repository and audit.Suggest a correction
Findings (7)
Sorted by severity
MEDIUMNetwork egressnet.raw_ip · src/d365fo_client/mcp/auth_server/auth/redirect_validation.py:64
"http://127.0.0.1:*",
- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMFilesystem / pathmcp.destructive_tools
d365fo_delete_entity_record, d365fo_delete_profile, d365fo_reset_performance_stats
- Why
- 3 tool(s) can delete or overwrite
- Fix
- prefer a read-only mode or scoped tokens; the page states the blast radius
LOWCode injectioncode.dynamic_import · tests/integration/test_runner.py:140
__import__(package.replace("-", "_"))- Why
- No further detail recorded for this rule.
- Fix
- —
LOWInsecure cryptocrypto.weak_hash · src/d365fo_client/metadata_v2/search_engine_v2.py:201
return hashlib.md5("|".join(key_parts).encode()).hexdigest()- Why
- No further detail recorded for this rule.
- Fix
- —
LOWObfuscation / stealthobf.decode_call · src/d365fo_client/client.py:1797
pdf_bytes = base64.b64decode(base64_data)
- Why
- No further detail recorded for this rule.
- Fix
- —
INFOPrompt injectionprompt.authority_framing · docs/PROFILE_CONSOLIDATION_COMPLETE.md:172
**Phase 1 Successfully Completed**: The immediate issue has been resolved. The MCP server now works correctly with existing profile configurations, and both CLI and MCP have full access to all profile
- Why
- No further detail recorded for this rule.
- Fix
- —
INFOPrompt injectionprompt.credential_read · docs/STARTUP_IMPLEMENTATION_SUMMARY.md:71
1. **Load configuration** based on environment variables
- Why
- asks the agent to read credentials
- Fix
- —
Tools it exposes
49 declared in source · 3 destructive
3 tools can delete or overwrite. An agent that can be talked into calling a tool can be talked into calling this one, so give it a token scoped to what you need.
| Tool | Risk | What it does |
|---|---|---|
d365fo_delete_entity_record | destructive | Delete a record from a D365 Finance & Operations data entity. |
d365fo_delete_profile | destructive | Delete a D365FO environment profile. |
d365fo_reset_performance_stats | destructive | Reset server performance statistics. |
d365fo_call_action | write | Execute an OData action method in D365 Finance & Operations. |
d365fo_cancel_sync | write | Cancel a running sync session. Only sessions that are currently running and marked as cancellable can be cancelled. |
d365fo_create_entity_record | write | Create a new record in a D365 Finance & Operations data entity. |
d365fo_create_profile | write | Create a new D365FO environment profile with full configuration options. |
d365fo_download_purchase_order | write | Download a purchase order report as PDF from D365 Finance & Operations. |
d365fo_execute_sql_query | write | Execute a SELECT query against the D365FO metadata database to get insights from cached metadata. |
d365fo_get_sync_history | write | Get the history of completed sync sessions including success/failure status, duration, and statistics. |
d365fo_get_sync_progress | write | Get detailed progress information for a specific sync session including current phase, completion percentage, items processed, and estimated time remaining. |
d365fo_import_profiles | write | Import D365FO environment profiles from a file. |
d365fo_list_sync_sessions | write | Get a list of all currently active sync sessions with their status, progress, and details. |
d365fo_set_default_profile | write | Set the default D365FO environment profile. |
d365fo_start_sync | write | Start a metadata synchronization session and return a session ID for tracking progress. |
d365fo_update_entity_record | write | Update an existing record in a D365 Finance & Operations data entity. |
d365fo_update_profile | write | Update an existing D365FO environment profile with full configuration options. |
d365fo_call_json_service | read | Call a D365 F&O JSON service endpoint using the /api/services pattern. |
d365fo_clone_profile | read | Clone an existing D365FO environment profile with optional modifications. |
d365fo_download_customer_invoice | read | Download a customer invoice report as PDF from D365 Finance & Operations. |
d365fo_download_debit_credit_note | read | Download a debit/credit note report as PDF from D365 Finance & Operations. |
d365fo_download_free_text_invoice | read | Download a free text invoice report as PDF from D365 Finance & Operations. |
d365fo_download_sales_confirmation | read | Download a sales confirmation report as PDF from D365 Finance & Operations. |
d365fo_download_srs_report | read | Download SQL Server Reporting Services (SSRS/SRS) reports from D365 Finance & Operations as PDF files. |
d365fo_export_profiles | read | Export all D365FO environment profiles to a file. |
d365fo_get_database_schema | read | Get comprehensive schema information for the D365FO metadata database. |
d365fo_get_database_statistics | read | Get comprehensive database statistics and analytics including: |
d365fo_get_default_profile | read | Get the current default D365FO environment profile. |
d365fo_get_entity_record | read | Get a specific record from a D365FO data entity. |
d365fo_get_entity_schema | read | Get the detailed schema for a specific D365 F&O data entity, including properties, keys, and available actions. |
d365fo_get_enumeration_fields | read | Get the detailed members (fields) and their values for a specific D365 F&O enumeration. |
d365fo_get_environment_info | read | Get D365FO environment information and version details. |
d365fo_get_installed_modules | read | Get the list of installed modules in the D365 F&O environment with their details including name, version, module ID, publisher, and display name. |
d365fo_get_label | read | Get label text by label ID. |
d365fo_get_labels_batch | read | Get multiple labels in a single request. |
d365fo_get_profile | read | Get details of a specific D365FO environment profile. |
d365fo_get_profile_names | read | Get list of all D365FO environment profile names. |
d365fo_get_server_config | read | Get current FastMCP server configuration and feature status. |
d365fo_get_server_performance | read | Get FastMCP server performance statistics and health metrics. |
d365fo_get_table_info | read | Get detailed information about a specific database table including: |
d365fo_list_profiles | read | Get list of all available D365FO environment profiles. |
d365fo_query_entities | read | Query D365FO data entities with simplified filtering capabilities. |
d365fo_search_actions | read | Search for available OData actions in D365 F&O using simple keyword-based search. |
d365fo_search_entities | read | Search for D365 F&O data entities using simple keyword-based search. |
d365fo_search_enumerations | read | Search for enumerations (enums) in D365 F&O using simple keyword-based search. |
d365fo_search_profiles | read | Search D365FO environment profiles based on criteria. |
d365fo_test_connection | read | Test connection to D365FO environment. |
d365fo_test_profile_connection | read | Test connection for a specific D365FO environment profile. |
d365fo_validate_profile | read | Validate a D365FO environment profile configuration. |
Install
Package version 0.3.7 · audited commit 7f67cec
Read the findings first. The most severe is Network egress (medium) at src/d365fo_client/mcp/auth_server/auth/redirect_validation.py.
claude mcp add d365fo-client --env D365FO_CLIENT_SECRET=${D365FO_CLIENT_SECRET} --env D365FO_CLIENT_SECRET=${D365FO_CLIENT_SECRET} -- uvx d365fo-client==0.3.7The command pins the package version recorded in the source (0.3.7); the audit covers commit 7f67cecf4d07. Transport: stdio · streamable-http. Reads these environment variables: D365FO_CLIENT_SECRET, D365FO_MCP_API_KEY_VALUE. Give it the narrowest token it needs.
Audit history
- !CAUTION B 89 / 100
First audit ·
7f67cecf4d07
README badge
For maintainers · updates on every re-audit
[](https://modelsatlas.com/mcp/mafzaal/d365fo-client/)
The badge always shows the latest audit; a maintainer cannot pin an old verdict.
Other ratings
Cited, never blended into our score
No third-party security ratings are recorded for this server yet. When they exist they appear here with their source and date, beside, not inside, our grade.
Questions about D365FO Client MCP server
What is the D365FO Client MCP server?
What tools does D365FO Client expose?
Is D365FO Client safe to connect to an agent?
What credentials does D365FO Client need?
How does D365FO Client run?
How current is this page?
Sources
- mafzaal/d365fo-client on GitHub — the source we read, its licence, stars and activityObserved · 8 Oct 2026
- ModelsAtlas trust audit — CAUTION verdict for commit 7f67cecf4d07Observed · 8 Oct 2026
Spotted something wrong? Report a correction · Methodology
Keep going in your AI
Opens with this page as the source. We add nothing else to the prompt.
- What is the D365FO Client MCP server?
- What tools does D365FO Client expose?
- Is D365FO Client safe to connect to an agent?