@philip.luke.thomas/support-intelligence-mcp
v0.1.1
Published
Tecman Support Intelligence MCP server — prompts, role context, and domain knowledge for Microsoft Dynamics 365 Business Central support consultants, delivered to VS Code via the Model Context Protocol.
Maintainers
Readme
Tecman Support Intelligence MCP Server
An MCP (Model Context Protocol) server that delivers Tecman's Business Central support prompts, role context, and domain knowledge to GitHub Copilot Chat in VS Code.
The server replaces the previous manual copy-paste distribution of Copilot prompt files with a single NPM package that consultants configure once and that updates automatically.
What it provides
Slash commands (Support Consultant role):
/tecman.sc-investigate— Support case analysis and investigation/tecman.sc-communicate— Customer-facing email drafting/tecman.sc-escalate— Structured escalation handover to a Support Developer/tecman.sc-document— AL extension technical documentation generation/tecman.sc-work-request— Work Request preparation
Knowledge resources (available via "Add Context > MCP Resources" in Copilot Chat):
- Support Consultant core instructions
- Business Central version knowledge
- Common error patterns
- Tecman standards
- External MCP tools reference
Role core instructions are automatically embedded in every role prompt — the consultant does not need to attach anything. Knowledge resources are exposed separately in case the consultant wants to add them to a free-form conversation that does not start with a slash command.
For consultants (setup)
Consultants install the Tecman Support Consultant VS Code profile, which bundles the required extensions, settings, and the MCP server registration into one one-click import. See docs/setup-guide.md for the walkthrough.
Prerequisite: Node.js 18 or later. If you already develop AL in VS Code you almost certainly have it.
For maintainers (first-time profile build)
The profile is built from the specification in profile/ and shared via a GitHub Gist. Follow profile/how-to-build.md after publishing the NPM package.
For maintainers (ongoing)
See docs/maintainer-guide.md for instructions on updating prompts, updating knowledge content, cutting releases, and adding new roles.
Architecture
- Local stdio MCP server, Node.js + TypeScript.
- Built against
@modelcontextprotocol/sdk. - Convention-based multi-role layout: each role owns a directory under
src/prompts/<role>/andknowledge/roles/<role>/, with shared knowledge underknowledge/shared/. - Prompt bodies live as Markdown in the
knowledge/tree so they can be edited without touching TypeScript. - All content is bundled inside the NPM package — no remote infrastructure, no hosted API, no ongoing server costs.
Project layout
tecman-support-intelligence-mcp/
├── src/
│ ├── index.ts Entry point (shebang; launches the server)
│ ├── server.ts Server setup; loads knowledge, registers handlers, connects stdio
│ ├── prompts/
│ │ ├── index.ts Flattens role prompts; registers list/get handlers
│ │ ├── types.ts RolePrompt type
│ │ ├── build-messages.ts Constructs prompts/get responses
│ │ └── support-consultant/ One file per SC prompt + index.ts
│ ├── resources/
│ │ ├── index.ts Registers list/read handlers
│ │ └── knowledge.ts Knowledge-resource helpers
│ ├── tools/
│ │ └── index.ts Stub for Phase 8
│ └── utils/
│ └── knowledge-loader.ts Loads Markdown from knowledge/ at startup
├── knowledge/
│ ├── shared/ bc-versions.md, common-errors.md, tecman-standards.md, external-tools.md
│ └── roles/
│ └── support-consultant/
│ ├── core-instructions.md
│ └── prompts/ investigate.md, communicate.md, escalate.md, document.md, work-request.md
├── profile/ VS Code profile specification and build-and-share guide
├── docs/ setup-guide.md, maintainer-guide.md
├── .github/workflows/publish.yml Automated NPM publish on tagged releases
├── package.json
├── tsconfig.json
└── README.mdDevelopment
npm install
npm run buildTo test locally against VS Code, configure a file: path instead of the published package:
{
"servers": {
"tecman-local": {
"command": "node",
"args": ["/absolute/path/to/tecman-support-intelligence-mcp/dist/index.js"]
}
}
}Licence
Proprietary — Technology Management Limited (Tecman). All rights reserved.
