NAV 2015 FastMCP Server
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
NAV 2015 FastMCP Server
Production-ready FastMCP server for read-only Dynamics NAV 2015 analytics. The external MCP tool behavior is preserved while the code is split into Clean Architecture layers.
Tools
get_user_detail(emp_no: str)get_user_permissions()list_accessible_tables()get_table_schema(navision_table_name: str)execute_autonomous_readonly_query(sql_query: str)
Related MCP server: MSSQL MCP Server
Architecture
core/: configuration, database context manager, structured logging, exceptions, sessions, cachemodels/: immutable dataclass domain modelsrepositories/: database and metadata accessservices/: workflow rules, validation, and application behaviororchestrator/: JSON contract preservation and service coordinationtools/: FastMCP tool registrationresources/: NAV object whitelist metadatatests/: regression tests for workflow and SQL safety behavior
Configuration
Copy .env.example to .env and set the NAV SQL Server connection details.
Copy-Item .env.example .envImportant variables:
NAV_CONNECTION_STRING: pyodbc SQL Server connection stringNAV_COMPANY_PREFIX: NAV company table prefix used in metadata responsesMCP_HOSTandMCP_PORT: SSE host and portQUERY_ROW_LIMIT: maximum rows returned by read-only query execution
Run
Install with Python 3.13.5:
python -m pip install -e ".[dev]"Run local stdio transport:
python app.pyRun SSE transport:
python app.py sseThe legacy launcher still works:
python nav2015_auto_sql_fastapi.py sseTest And Quality
python -m unittest discover -s tests -v
python -m ruff format .
python -m ruff check .Docker
docker build -t nav-2015-fastmcp .
docker run --env-file .env -p 8000:8000 nav-2015-fastmcpTool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Securely query and analyze business data, dashboards, projections, alerts, and knowledge.
Read-only NuMetric.work accounting & ERP data: statements, KPIs, reports, invoices, documents.
Query your own databases and Data Sets with read-only SQL, and build hosted dashboards.
Explore, query, and inspect SQLite databases with ease. List tables, preview results, and view det…
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceProvides database interaction and business intelligence capabilities, enabling users to run SQL queries, analyze business data, and automatically generate business insight memos for Microsoft SQL Server databases.39MIT
- AlicenseNot gradedqualityDmaintenanceEnables read-only exploration and querying of Microsoft SQL Server databases through a standardized interface.2ISC
- FlicenseNot gradedqualityDmaintenanceEnables read-only analysis of Soft1 ERP databases through guarded T-SQL queries, schema discovery, knowledge search, and CSV/XLSX exports.-
- AlicenseAqualityDmaintenanceEnables querying SAP Business One HANA databases through direct SQL, including read-only safeguards and tools for inspecting schemas, tables, and table structures.5MIT