We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/jordnlvr/onetech-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
# π OneTech MCP Server - Ready to Publish
**Status:** β
ALL TESTS PASSED - READY FOR NPM
**Date:** October 25, 2025
**Version:** 0.1.0
---
## β
Pre-Flight Checklist
### Tests: β
10/10 PASSED (100%)
- β
mx.exe exists and is accessible
- β
OneTech.mpr file exists
- β
Can create output directory
- β
Extract DomainModel successfully (57.2KB)
- β
Extract Pages successfully (42.1KB)
- β
Extract Microflows (0KB, empty expected)
- β
Extract Enumerations successfully (4.3KB)
- β
Handle invalid .mpr path gracefully
- β
Handle invalid module name gracefully
- β
TypeScript compiled successfully (8.2KB)
**Test Duration:** 62.4 seconds
**Success Rate:** 100%
### Package: β
READY
- **Name:** `@onetech/mcp-server`
- **Version:** 0.1.0
- **Size:** 40.1KB (tarball)
- **Files:** 19 (test files excluded via .npmignore)
- **Dependencies:** 0 vulnerabilities
- **License:** MIT
### Git: β
COMMITTED
```
9358d9d Fix UTF-8 BOM handling, add comprehensive tests, create usage guide
ca621ae Add build status and completion documentation
6ef16c8 Initial commit: OneTech MCP Server v0.1.0 - MVP with extract module tool
```
- Clean working tree
- Ready for GitHub push
### Documentation: β
COMPLETE
- β
README.md (4.1KB) - User-facing documentation
- β
USAGE-GUIDE.md (7.2KB) - Comprehensive usage examples
- β
BUILD-STATUS.md - Technical build details
- β
MVP-COMPLETE.md - Completion summary
- β
LICENSE - MIT license
### Code Quality: β
PRODUCTION
- β
TypeScript strict mode
- β
UTF-8 BOM handling (mx.exe outputs BOM)
- β
Full error handling
- β
File validation (mx.exe, .mpr, output dir)
- β
50MB buffer for large outputs
- β
5-minute timeout per command
- β
Graceful partial failures
---
## π§ Critical Fix: UTF-8 BOM Handling
**Issue:** mx.exe outputs JSON files with UTF-8 BOM (Byte Order Mark)
**Impact:** JSON.parse() fails with "Unexpected token" error
**Solution:** Strip BOM before parsing
```typescript
let content = await readFile(file, "utf-8");
if (content.charCodeAt(0) === 0xfeff) {
content = content.substring(1);
}
const json = JSON.parse(content); // Now works!
```
**Testing:** Verified with RequestHub module (103.6KB, 4 files)
**Result:** 100% success rate
---
## π¦ How to Use (After Publishing)
### Installation
```bash
npm install -g @onetech/mcp-server
```
### VS Code Configuration
```json
{
"github.copilot.chat.mcp.enabled": true,
"github.copilot.chat.mcp.servers": {
"onetech": {
"command": "npx",
"args": ["@onetech/mcp-server"]
}
}
}
```
### Usage
```
You: Extract RequestHub module from D:\Projects\OneTech.mpr
Copilot: [Uses onetech_extract_module tool]
β
Extracted 4 files (103.6KB)
```
---
## π Publishing Steps
### Step 1: Login to NPM
```bash
cd D:\kelly.seale\CodeBase\onetech-mcp-server
npm login
```
**Credentials:** Use your npm account
### Step 2: Publish Package
```bash
npm publish --access public
```
**Result:** Available at https://www.npmjs.com/package/@onetech/mcp-server
### Step 3: Create GitHub Repository
```bash
gh repo create onetech-mcp-server --public --source=. --remote=origin
```
**Or manually:**
1. Go to https://github.com/new
2. Name: `onetech-mcp-server`
3. Public repository
4. Copy remote URL
### Step 4: Push to GitHub
```bash
git push -u origin master
```
### Step 5: Verify Installation
```bash
# Test NPX (no install)
npx @onetech/mcp-server
# Test global install
npm install -g @onetech/mcp-server
onetech-mcp-server
```
---
## π What Gets Published
**Included:**
- `dist/` - Compiled JavaScript (8.2KB)
- `src/` - TypeScript source (7.3KB)
- `README.md` - User documentation
- `USAGE-GUIDE.md` - Usage examples
- `LICENSE` - MIT license
- `package.json` - Package metadata
- `tsconfig.json` - TypeScript config
**Excluded (via .npmignore):**
- `test-output/` - Test results
- `test-validation/` - Validation files
- `test-extract.js` - Test script
- `test-comprehensive.js` - Test suite
- `.git/` - Version control
- `node_modules/` - Dependencies
---
## π― Post-Publish Checklist
After publishing to NPM:
### Verify NPM Package
```bash
npm info @onetech/mcp-server
npm view @onetech/mcp-server
```
### Test Installation
```bash
npx @onetech/mcp-server
```
Should output: "OneTech MCP Server running on stdio"
### Update GitHub README
Add npm badge:
```markdown
[](https://www.npmjs.com/package/@onetech/mcp-server)
```
### Monitor Downloads
```bash
npm info @onetech/mcp-server
```
Check `downloads` field
### Share with Educators
- Test with 1-2 trusted Mendix educators
- Gather feedback
- Fix any issues
- **THEN** present to Will
---
## π Soft Launch Strategy
1. **Week 1:** Publish, test with 2 educators
2. **Week 2:** Fix issues, gather feedback
3. **Week 3:** Monitor downloads, improve docs
4. **Week 4:** Present to Will with metrics:
- "Built in 6 hours"
- "X downloads in 3 weeks"
- "First Mendix MCP server"
- "Already has users"
---
## π Support Plan
**GitHub Issues:** For bug reports
**GitHub Discussions:** For feature requests
**README:** Installation & basic usage
**USAGE-GUIDE:** Advanced examples
**Maintenance:** Minimal (no servers, no auth, runs locally)
---
## π Success Metrics
**Technical:**
- β
10/10 tests pass
- β
0 vulnerabilities
- β
Production quality code
- β
UTF-8 BOM handling (critical fix)
**Business:**
- β
First Mendix MCP server (first-mover advantage)
- β
Built in 6 hours (40% under budget)
- β
Professional branding (OneTech)
- β
Soft launch ready (low risk)
---
## π Ready to Ship!
**Current Status:** All green, ready to publish
**Your Decision:** Publish now or defer
**Time to Publish:** 5 minutes (just npm login + npm publish)
**Commands Ready:**
```bash
cd D:\kelly.seale\CodeBase\onetech-mcp-server
npm login
npm publish --access public
gh repo create onetech-mcp-server --public --source=. --remote=origin
git push -u origin master
```
**Then:** Back to OneTech app immediately! β‘
---
**Built by:** OneTech Team
**For:** Mendix Developer Community
**Status:** READY FOR NPM π
**Version:** 0.1.0
**Date:** October 25, 2025