Skip to main content
Glama
dapooleygmailcom

GAIIA Expert Proxy (MCP Server)

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 .xsd and .wsdl parsing.

    • 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.


โš™๏ธ 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 login

Tokens 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

gaiia_list_experts

Lists all available AI experts in the registry

query (optional string: name, email, or architecture keywords)

gaiia_set_active_expert

Sets the active expert for transformations

email (required string)

gaiia_transform

Audits, refactors, or generates code with the active expert

code (string), instructions (string)

gaiia_analyze_project

Performs deep architectural audit or automated refactor on a directory

directory_path (string), mode ("audit" | "refactor")

gaiia_ingest_project

Ingests directory code samples into active expert memory

directory_path (string)

interrogate_endpoint

Multi-protocol API fuzzing and schema synthesis

url (string), method (string), auth_header (optional), base_payload (optional)

sync_specs

Synchronizes locally discovered schemas in specs/ to cloud registry

None

gaiia_list_processes

Lists registered BPMN templates in the workspace

None

gaiia_start_process

Triggers a BPMN workflow run with initial context

process_type (string), payload (optional object)


๐Ÿงช 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

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/dapooleygmailcom/gaiia-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server