1. Conduid
  2. Developer Tools
  3. TestPortal Backend
MCP server · Developer Tools

TestPortal Backend

Backend API and MCP server for TestPortal, managing automated test results, manual test runs, test scenarios, issues, and analytics.

Unclaimed Apache-2.0 devtools
39Low

Scored 29 days ago · breakdown

About TestPortal Backend

TestPortal Backend is an MCP server published by VENTIONINC in the Developer Tools category: backend API and MCP server for TestPortal, managing automated test results, manual test runs, test scenarios, issues, and analytics.

The repository has 29 stars and 1 forks, with the last commit 2 days ago. Recent commit activity is the strongest signal that reported issues will get attention.

Install

From source
git clone https://github.com/VENTIONINC/TestPortal-backend

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Ask AI

✦

Ask AI about TestPortal Backend

Powered by Claude · Grounded in docs

I know everything about TestPortal Backend. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

Static checks derived from the repository 4 days ago. Heuristics on the source, not an audit.

  • ✓README presentThe repository ships documentation.
  • ✓License declaredUsable under a stated license.
  • ✓Tests presentA test suite exists in the repository.
  • ✓Dependencies pinnedA lockfile pins dependency versions.
  • ✓No dynamic code executionSource scan found no eval, dynamic Function, or shell execution.

1 check has not been run yet.

Releases

v0.12.0v0.12.0 · 3 Sep 2026What's Changed Add Cartodex map guidance and managed skill assets by @iharMikailau in https://github.com/VENTIONINC/TestPortal-backend/pull/49 fix/testng ctrf import deduplication by @iharMikailau in…
v0.11.2v0.11.2 · 1 Jul 2026What's Changed Sync by @iharMikailau in https://github.com/VENTIONINC/TestPortal-backend/pull/46 Fix/dashboard result dates by @iharMikailau in https://github.com/VENTIONINC/TestPortal-backend/pull/45 Release/0.11.2 by @iharMikailau in…
v0.11.1v0.11.1 · 30 Jun 2026What's Changed chore/license update by @iharMikailau in https://github.com/VENTIONINC/TestPortal-backend/pull/39 Fix/project delete daily metrics by @iharMikailau in https://github.com/VENTIONINC/TestPortal-backend/pull/37 Release/0.11.1…
v0.11.0v0.11.0 · 27 May 2026What's Changed chore/switch-to-apache-20-license by @iharMikailau in https://github.com/VENTIONINC/TestPortal-backend/pull/8 chore/security-check by @iharMikailau in https://github.com/VENTIONINC/TestPortal-backend/pull/11 Skills hub by…
v0.10.3v0.10.3 · 22 May 2026What's Changed Release/0.10.3 by @iharMikailau in https://github.com/VENTIONINC/TestPortal-backend/pull/21 Full Changelog: https://github.com/VENTIONINC/TestPortal-backend/compare/v0.10.2...v0.10.3

README

Test Results Manager - TypeScript Edition

A comprehensive Node.js Express server for managing test results with TypeScript, Prisma database operations, MVC architecture, and Model Context Protocol (MCP) integration.

Features

  • 🚀 TypeScript: Full type safety and modern development experience
  • 🏗️ MVC Architecture: Clean separation with models, controllers, and services
  • 🗄️ Prisma ORM: Type-safe database operations with PostgreSQL
  • 🔧 MCP Integration: Model Context Protocol for advanced tool interactions
  • 📊 Test Analytics: Comprehensive test result tracking and analysis
  • 🔍 Error Analysis: Automated error pattern recognition and categorization
  • 🎯 RESTful API: Well-structured API endpoints for all operations
  • 🐳 Docker Support: PostgreSQL database with Docker Compose

Setup Instructions

Prerequisites

  • Node.js 18+
  • npm 8+
  • Docker and Docker Compose

Installation

  1. Clone and install dependencies:

    git clone <repository-url>
    cd test-portal-be
    npm install
    
  2. Start PostgreSQL with Docker:

    docker-compose up -d postgres
    
  3. Create a .env file in the root of the project:

    DATABASE_URL="postgresql://postgres:postgres@localhost:5433/test_portal"
    PORT=3001
    NODE_ENV=development
    AUTH_PROVIDER=local
    
  4. Initialize Prisma and set up the database:

    npx prisma migrate dev --name "initial-postgresql-migration"
    
  5. Build and run the server:

    # Development mode with hot reloading
    npm run dev
    
    # Production build
    npm run build
    npm run server
    
  6. Seed persisted skill packages (optional):

    npm run seed
    

    This command idempotently seeds the system skill packages. Container-based deployments run the same seeder automatically at startup.

  7. Verify installation:

    Open http://localhost:3001/api/v2/results in your browser

Development Scripts

# Development with hot reloading
npm run dev

# Type checking
npm run type-check

# Unit tests
npm test # runs Jest via ts-jest

# Build for production
npm run build

# Production server
npm run server

# Linting and code quality
npm run lint

# Database operations
npm run migrate
npm run db:generate

# Docker operations
docker-compose up -d postgres     # Start PostgreSQL
docker-compose down               # Stop all services
docker-compose logs postgres      # View PostgreSQL logs

Prompt Tests

Datasets must be generated first.

See prompts-tests/README.md for prompt test commands.

TypeScript Features

  • Strict type checking with comprehensive type definitions
  • Path aliases (@/*) for clean imports
  • ES modules support with proper Node.js configuration
  • Prisma integration with generated types
  • ESLint configuration with TypeScript rules
  • Development experience optimized with tsx and nodemon

Project Structure

src/
├── controllers/     # Express route handlers
├── services/        # Business logic layer
├── models/          # Database access layer
├── routes/          # API route definitions
├── handlers/        # MCP request handlers
├── mcp/             # Model Context Protocol integration
│   ├── tools/       # MCP tool definitions
│   ├── schemas/     # Zod validation schemas
│   └── helpers/     # MCP utility functions
├── lib/             # Utility libraries
├── types/           # TypeScript type definitions
└── middleware/      # Express middleware

API Endpoints

Authentication

  • GET /api/v2/auth/config - Discover the active auth provider and capability flags
  • POST /api/v2/auth/signup - Sign up through the configured provider
  • POST /api/v2/auth/login - Login through the configured provider
  • POST /api/v2/auth/refresh-token - Exchange a refresh token for new internal JWTs
  • POST /api/v2/auth/logout - Logout through the configured provider

Core Resources

  • GET /api/v2/results - Get test results with filtering
  • GET /api/v2/executions - Get test executions
  • GET /api/v2/specs - Get test specifications
  • GET /api/v2/issues - Get identified issues
  • GET /api/v2/assumptions - Get error assumptions

Analysis & Reports

  • POST /api/v2/upload-json-report - Upload a JSON test report using JWT authentication
  • POST /api/v2/upload-json-report-api-key - Upload a JSON test report using API key authentication
  • POST /api/v2/result-errors/:id/review - Analyze error patterns
  • PUT /api/v2/result-errors/:id/assign - Assign issue to error

Status & Health

  • GET /api/v2/status - System health check

Documentation

Contributing

See CONTRIBUTING.md for the contributor workflow, including the npm run new:file -- <path> command for supported new source files.

To backfill the standard Apache 2.0 header across existing supported files in src, __tests__, and __prompts-tests__, run npm run headers:add.

This project uses TypeScript with strict type checking. Please ensure:

  1. All code passes TypeScript compilation (npm run type-check)
  2. ESLint passes without errors (npm run lint)
  3. Follow the established patterns for types and interfaces
  4. Use path aliases (@/*) for internal imports

License

This project is licensed under the Apache License 2.0. See LICENSE for the full text and NOTICE for the project copyright notice.

README fetched from the repository 4 days ago. The original is authoritative.

Questions

About TestPortal Backend

How do I install TestPortal Backend?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is TestPortal Backend safe to use with an AI agent?

Its trust score is 39 out of 100 (low). It passes 5 of the 5 static security checks run so far. It has no ConduID identity yet, so agent calls to it are not receipted.

Is TestPortal Backend still maintained?

Yes — the latest release is v0.12.0 (3 Sep 2026), and the last commit was 2 days ago. The repository has 29 stars and 31 open issues.