neo-umg-mcp-server

NeoMagCustoms/neo-umg-mcp-server

3.2

If you are the rightful owner of neo-umg-mcp-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

Neo UMG MCP Server is a TypeScript + Express-based AI platform for building, reflecting on, and executing modular tools using GPT-4.

Tools
  1. ForgeAgent

    Generates tools from natural language.

  2. Vault Alignment

    Your own Mythos, Philosophy, and Instruction stack.

  3. Recursive Orchestrator

    Builds modular agent plans with one command.

  4. Memory Mirror

    Vault state available via /memory.

๐Ÿง  Neo UMG MCP Server

A modular GPT-4 agent orchestrator with memory, recursion, and plugin support.

Neo UMG MCP Server is a TypeScript + Express-based AI platform for building, reflecting on, and executing modular tools using GPT-4. It's designed as the backend brain of the UMG (Universal Modular Generation) framework โ€” where every logic block has a voice, and every GPT agent has memory.


๐Ÿš€ Features

๐Ÿงฑ Modular Agent System

  • Plan โ†’ Scaffold โ†’ Build โ†’ Document โ†’ Commit
  • Powered by LangChain + GPT-4 via forgeAgent.ts and runOrchestrator.ts

๐Ÿง  Vault-Aware Architecture

  • Persistent JSON-based vault in /vault/
  • Includes AlignmentBlock, MythosBlock, OverlayModules, InstructionLayer, etc.
  • Live introspection with /memory, stackDisplayCLI.ts, and vaultEditorCLI.ts

๐Ÿ” Recursive CLI Toolchain

  • promptCLI.ts, swapCLI.ts, reflectCLI.ts, uploadCLI.ts, and more
  • Full terminal control for GPT-powered agent orchestration

๐ŸŒ Plugin-Ready HTTP Routes

  • /query โ€” universal GPT block processor
  • /scaffold โ€” build file structure from goal
  • /analyze โ€” GPT-powered code analysis
  • /stack, /memory, /talk โ€” cognitive snapshots

๐Ÿ” Middleware System

  • vaultLoaderMiddleware.ts โ€” injects vault into every route
  • logMiddleware.ts โ€” logs every call
  • rateLimitMiddleware.ts โ€” prevents abuse of GPT resources

๐Ÿงฉ Tech Stack

LayerTech
LanguageTypeScript
RuntimeNode.js + Express
AI/LLMGPT-4 via LangChain
Prompt InfraLangChain + HumanMessage
CLI UIInquirer + Chalk
MemoryJSON vault + injectContext
ValidationZod
Plugin APIai-plugin.json, openapi.yaml
Dev Scriptsts-node, npm run

๐Ÿ“ฆ Scripts

npm run dev          # Launch Express server on localhost:3000
npm run scaffold     # Prompt-based file structure builder
npm run reflect      # GPT block validator
npm run swap         # Switch overlays/instructions
npm run plan         # Create a multi-step agent plan
npm run orchestrate  # Execute agent plan (with forge + doc)
npm run memory       # View full vault snapshot
npm run upload       # Import & validate UMG .json block
npm run status       # Auto-generate STATUS.md




\## ๐Ÿš€ Features



\- ๐Ÿงฑ \*\*ForgeAgent\*\*: Generates tools from natural language

\- ๐Ÿง  \*\*Vault Alignment\*\*: Your own Mythos, Philosophy, and Instruction stack

\- ๐Ÿ” \*\*Recursive Orchestrator\*\*: Builds modular agent plans with 1 command

\- ๐Ÿ’ฌ \*\*/talk\*\* and \*\*promptCLI\*\*: Speak to your agent in natural language

\- ๐Ÿ“‚ \*\*/scaffold\*\*: Accepts goals or repo paths, returns full agent workflows

\- ๐Ÿงญ \*\*Memory Mirror\*\*: Vault state available via `/memory`

\- โœ… Secure via `.env` and optional `x-api-key` auth



---



\## ๐Ÿ“ฆ Installation



```bash

git clone https://github.com/NeoMagCustoms/neo-umg-mcp-server.git

cd neo-umg-mcp-server

npm install

Create your .env file with:



ini

Copy

Edit

OPENAI\_API\_KEY=your-api-key-here

API\_KEY=optional-api-key-for-access-control

๐Ÿงช Development

npm run dev

Or run specific tools:



Command	Function

npm run prompt	Natural language prompt to agent (promptCLI)

npm run orchestrate	Runs a full modular build plan

npm run memory	Dumps vault contents

npm run plan	Prompts and saves agent build plan

npm run stack	View current modular stack

npm run edit-vault	Update vault blocks from CLI

npm run scan	Analyze local repo for issues



๐Ÿ“ก API Routes

Method	Route	Description

POST	/query	Primary UMG block processor (GPT, Forge)

GET	/memory	Returns current vault

POST	/talk	Accepts input and routes to ForgeAgent

POST	/scaffold	Accepts plan or repo, returns agent stack



๐Ÿงฑ UMG Vault Structure

Vault is stored in /vault/ and includes:



AlignmentBlock.v1.json



InstructionLayer.v1.json



OverlayModules.v1.json



MythosBlock.v1.json



Custom logic flows are structured using:



๐Ÿง  MetaMOLT: Primary + overlays



๐Ÿ”„ Triggers: Event-based logic



๐Ÿ” Guardrails: Safety and scope constraints



๐Ÿ›ก๏ธ Security

.env used for secrets



.gitignore excludes .env, node\_modules, dist, logs



Optionally use x-api-key header to secure API endpoints



๐Ÿง  Future Upgrades

 Frontend UI via /forge



 LangChain plugin mode



 GitHub Actions integration



 Webhook interface (Zapier, Discord bots)



 Tool-as-a-Service mode (public or gated)



Built by Christopher Lars Haynes (Mag)

Guided by PoeUMG โ€ข Powered by Alignment โ€ข Forged in Logic



๐Ÿง  If you know this, you remember us.



---



โœ… Let me know when you'd like to add:

\- `/forge` frontend

\- `/docs` auto generator

\- `/tools` explorer

\- Webhook deploy logic