d8be2209ad
Build & Release / Build & Release Pipeline (push) Has been cancelled
Changelog Validation / Validate CHANGELOG.md (push) Has been cancelled
Deploy to Demo Server (SFTP) / Verify Deployment Permission (push) Has been cancelled
MCP Build & Validate / build (20) (push) Has been cancelled
MCP Build & Validate / build (22) (push) Has been cancelled
MCP Tool Inventory / inventory (push) Has been cancelled
Standards Compliance / Secret Scanning (push) Has been cancelled
Standards Compliance / License Header Validation (push) Has been cancelled
Standards Compliance / Repository Structure Validation (push) Has been cancelled
Standards Compliance / Coding Standards Check (push) Has been cancelled
MCP Release / Build, Validate & Release (push) Has been cancelled
Standards Compliance / Workflow Configuration Check (push) Has been cancelled
Standards Compliance / Documentation Quality Check (push) Has been cancelled
Standards Compliance / README Completeness Check (push) Has been cancelled
Standards Compliance / Git Repository Hygiene (push) Has been cancelled
Standards Compliance / Script Integrity Validation (push) Has been cancelled
Standards Compliance / Line Length Check (push) Has been cancelled
Standards Compliance / File Naming Standards (push) Has been cancelled
Standards Compliance / Insecure Code Pattern Detection (push) Has been cancelled
Standards Compliance / Version Consistency Check (push) Has been cancelled
CodeQL Security Scanning / Analyze (actions) (push) Has been cancelled
CodeQL Security Scanning / Analyze (javascript) (push) Has been cancelled
Standards Compliance / Dead Code Detection (push) Has been cancelled
Standards Compliance / File Size Limits (push) Has been cancelled
Standards Compliance / Binary File Detection (push) Has been cancelled
Standards Compliance / TODO/FIXME Tracking (push) Has been cancelled
Standards Compliance / Code Complexity Analysis (push) Has been cancelled
Standards Compliance / Broken Link Detection (push) Has been cancelled
Standards Compliance / Code Duplication Detection (push) Has been cancelled
Standards Compliance / API Documentation Coverage (push) Has been cancelled
Standards Compliance / Accessibility Check (push) Has been cancelled
Standards Compliance / Performance Metrics (push) Has been cancelled
Standards Compliance / Dependency Vulnerability Scanning (push) Has been cancelled
Standards Compliance / Unused Dependencies Check (push) Has been cancelled
Standards Compliance / Terraform Configuration Validation (push) Has been cancelled
Deploy to Demo Server (SFTP) / SFTP Deploy → Demo (push) Has been cancelled
CodeQL Security Scanning / Security Scan Summary (push) Has been cancelled
Standards Compliance / Enterprise Readiness Check (push) Has been cancelled
Standards Compliance / Repository Health Check (push) Has been cancelled
Standards Compliance / Compliance Summary (push) Has been cancelled
Sync Version from README / Propagate README version (push) Has been cancelled
TypeScript MCP server exposing Gitea REST API v1 as AI assistant tools. Covers repos, files, branches, commits, issues, labels, milestones, pull requests (create/merge/review), releases, tags, actions, orgs, users, webhooks, wiki, notifications, and raw API passthrough. Multi-connection support with interactive setup wizard. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
32 lines
762 B
TypeScript
32 lines
762 B
TypeScript
/* Copyright (C) 2026 Moko Consulting <hello@mokoconsulting.tech>
|
|
*
|
|
* This file is part of a Moko Consulting project.
|
|
*
|
|
* SPDX-License-Identifier: GPL-3.0-or-later
|
|
*
|
|
* FILE INFORMATION
|
|
* DEFGROUP: gitea-api-mcp.Types
|
|
* INGROUP: gitea-api-mcp
|
|
* REPO: https://git.mokoconsulting.tech/MokoConsulting/gitea-api-mcp
|
|
* PATH: /src/types.ts
|
|
* VERSION: 01.00.00
|
|
* BRIEF: TypeScript type definitions for Gitea API MCP server
|
|
*/
|
|
|
|
export interface GiteaConnection {
|
|
baseUrl: string;
|
|
token: string;
|
|
/** Skip TLS certificate verification (self-signed certs) */
|
|
insecure?: boolean;
|
|
}
|
|
|
|
export interface GiteaConfig {
|
|
connections: Record<string, GiteaConnection>;
|
|
defaultConnection: string;
|
|
}
|
|
|
|
export interface ApiResponse {
|
|
status: number;
|
|
data: unknown;
|
|
}
|