NAV 2015 FastMCP Server
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@NAV 2015 FastMCP ServerShow me the schema of the Sales Header table."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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-fastmcpThis server cannot be deployed
Maintenance
Related MCP Connectors
- RumboOAuthcom.rumboar
Securely query and analyze business data, dashboards, projections, alerts, and knowledge.
1 Read-only NuMetric.work accounting & ERP data: statements, KPIs, reports, invoices, documents.
Explore, query, and inspect SQLite databases with ease. List tables, preview results, and view det…
Explore your Messages SQLite database to browse tables and inspect schemas with ease. Run flexible…
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
- FlicenseNot gradedqualityDmaintenanceEnables read-only exploration and querying of Microsoft SQL Server databases through a standardized interface.2-
- FlicenseNot gradedqualityCmaintenanceEnables read-only analysis of Soft1 ERP databases through guarded T-SQL queries, schema discovery, knowledge search, and CSV/XLSX exports.-
- FlicenseAqualityCmaintenanceA read-only MCP server for SQL Server and PostgreSQL that enables exploring and querying databases (schemas, tables, views, procedures, indexes, foreign keys) and running arbitrary SELECT queries.37-