GAIIA Expert Proxy (MCP Server)
This server is a Model Context Protocol (MCP) server that provides AI-powered code auditing, refactoring, API schema discovery, and business process automation through GAIIA's remote LLM experts. Capabilities include:
Expert Management: Browse and select specialized AI experts (e.g., security, Clean Architecture) for subsequent tasks.
Code Transformation: Send code blocks with instructions to an active expert for audit, refactor, or generation.
Project Analysis: Perform deep architectural audits or automated repository-wide refactors on local directories (refactor mode overwrites files; clean Git state advised).
Context Ingestion: Scan and ingest a local codebase into an expert's memory for improved context in future tasks.
API Discovery: Intelligently fuzz unknown endpoints (REST, GraphQL, gRPC, SOAP, OData, JSON-RPC, ISO 8583, EDI, CSV) to discover schemas and generate MCP tools.
Spec Synchronization: Push locally discovered API specs from the
specs/directory to the GAIIA Registry.Workflow Management: List and start BPMN business process blueprints with custom JSON payloads for automation.
Authentication: Supports user login to access GAIIA services.
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., "@GAIIA Expert Proxy (MCP Server)audit my project for code smells"
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.
GAIIA Unified MCP Server (v2.0.0)
The GAIIA Unified MCP Server is an enterprise-grade Model Context Protocol (MCP) server that connects AI coding assistants and autonomous agents to the GAIIA ecosystem. It enables expert-guided code audits, project transformations, BPMN process triggering, and multi-protocol API interrogation.
π Capabilities & Features
Expert Selection & Manifest Routing: Browse and select from a registry of Proxy Experts (e.g. Clean Architecture, Security, Performance, Transit domain).
Code Transformation & Auditing: Transform individual code blocks or conduct repository-wide audits against immutable architectural standards.
Multi-Protocol API Interrogation: Fuzz and discover schemas across diverse protocols:
REST (JSON): OpenAPI v3 synthesis.
GraphQL: Schema introspection and automatic tool generation.
gRPC (Protobuf): Server reflection inspection (
src/mock/mock-grpc-server.ts).ISO 8583 (TCP Sockets): Raw socket communication for payment gateways (
src/mock/mock-tcp-server.ts).XML / SOAP: Automatic
.xsdand.wsdlparsing.EDI (ANSI X12): Segment repair for legacy enterprise supply chain formats.
OData & ERP: Enterprise metadata resolution (
src/mock/mock-erp-server.ts).
BPMS Process Orchestration: List BPMN blueprints and trigger workflow executions in gaiia-process-management.
Telemetry & Context Retention: In-memory context tracking and telemetry logging via
src/services/telemetry-service.ts.
Related MCP server: docsgrep
βοΈ Installation & Build
Prerequisites
Node.js: v20+ LTS
npm: v9+
A registered GAIIA account for cloud registry sync
Setup
# 1. Navigate to directory
cd gaiia-mcp-server
# 2. Install dependencies
npm install
# 3. Build TypeScript
npm run buildπ Authentication
Authenticate with the GAIIA platform to cache session tokens locally:
npm run loginTokens are cached securely at ~/.gaiia/auth.json.
π§ Environment Configuration (.env)
GAIIA_GRAPHQL_ENDPOINT=https://<api-id>.appsync-api.ap-southeast-2.amazonaws.com/graphql
AWS_REGION=ap-southeast-2
USER_POOL_ID=ap-southeast-2_xxxxxxxxx
APP_CLIENT_ID=xxxxxxxxxxxxxxxxxxxxxxxxxxπ MCP Client Configuration (e.g., Claude Desktop)
Add the server to your claude_desktop_config.json:
{
"mcpServers": {
"gaiia-unified-mcp": {
"command": "node",
"args": ["c:/programming/aiia/gaiia-mcp-server/build/index.js"]
}
}
}π οΈ Available MCP Tools Reference
Tool Name | Purpose | Key Arguments |
| Lists all available AI experts in the registry |
|
| Sets the active expert for transformations |
|
| Audits, refactors, or generates code with the active expert |
|
| Performs deep architectural audit or automated refactor on a directory |
|
| Ingests directory code samples into active expert memory |
|
| Multi-protocol API fuzzing and schema synthesis |
|
| Synchronizes locally discovered schemas in | None |
| Lists registered BPMN templates in the workspace | None |
| Triggers a BPMN workflow run with initial context |
|
π§ͺ Local Testing & Multi-Protocol Mock Servers
The server includes standalone mock servers in src/mock/ for testing complex protocols without external dependencies:
# Start mock gRPC server
npx tsx src/mock/mock-grpc-server.ts
# Start mock ISO 8583 TCP socket server
npx tsx src/mock/mock-tcp-server.ts
# Start mock ERP / OData server
npx tsx src/mock/mock-erp-server.tsπ License
MIT Β© 2026 GAIIA Engineering
Available Tools
8 toolsgaiia_analyze_projectC
Perform a deep architectural audit of an entire local project directory.
Inputs: directory_path (required), mode.
gaiia_list_expertsC
List available AI experts and their specialties.
Inputs: query.
gaiia_list_processesA
List all registered BPMN process blueprints/templates in the GAIIA registry for the authenticated tenant.
Inputs: no named parameters.
gaiia_set_active_expertC
Select an expert to use for code transformations.
Inputs: email (required).
gaiia_start_processB
Starts/triggers an instance of a registered BPMN process blueprint with an optional custom payload.
Inputs: process_type (required), payload.
gaiia_transformC
Audit, refactor, or generate code using the active GAIIA expert.
Inputs: code (required), instructions (required).
interrogate_endpointB
Intelligently interrogates a REST endpoint to discover its schema via reinforcement learning loop.
Inputs: url (required), method (required), auth_header, base_payload, +1 more.
sync_specsA
Synchronizes all locally discovered API specifications in the 'specs/' directory to the GAIIA Registry.
Inputs: no named parameters.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
TDQS
Scored across 8 tools
Each tool has a clearly distinct purpose: project analysis, expert listing/selection, process listing/starting, code transformation, API interrogation, and spec syncing. No significant overlap.
Six of eight tools use the consistent 'gaiia_' prefix with verb_noun pattern, but two tools ('interrogate_endpoint', 'sync_specs') lack the prefix, creating a mixed naming convention.
With 8 tools, the set is well-scoped for a proxy server providing GAIIA platform operations, covering multiple areas without being overwhelming.
The tool surface covers core workflows (expert management, project analysis, process execution, code transformation, API spec handling), but lacks a get_active_expert tool and some CRUD operations, leaving minor gaps.
Maintenance
Related MCP Connectors
An MCP server for deep research or task groups
Audit your MCP servers for poisoned tools and leaked secrets, and check AI-generated code for flaws.
Independent trust scores, tool surfaces and change history for MCP servers.
A MCP server built for developers enabling Git based project management with project and personalβ¦
Related MCP Servers
- AlicenseAqualityDmaintenanceMCP server for comprehensive code analysis, navigation, and quality assessment across 25+ programming languages.988MIT
- AlicenseBqualityDmaintenanceA high-performance MCP server for intelligent documentation search, proactive bug detection, and semantic analysis of codebases.2515 npmMIT
- AlicenseNot gradedqualityDmaintenanceAn MCP server that transforms Claude Code into an intelligent refactoring assistant, enabling code scanning, hotspot detection, optimization reports, and safe refactoring for large repositories.199 npm9MIT
- AlicenseAqualityDmaintenanceAn MCP server that extracts complete knowledge from any codebase β architecture, patterns, dependencies, API surface. Combines static analysis with AI-powered deep interpretation.8MIT