Skip to content

shahidain/mcp-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

61 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

MCP Server with SQL Database Integration

This is a Model Context Protocol (MCP) server built with TypeScript and Express.js that provides comprehensive integration with SQL databases, Jira API, and intelligent AI-powered tools for data processing and analysis. The server uses Server-Sent Events (SSE) for real-time communication and features persistent storage for enhanced user experience.

Key Features

๐Ÿ—„๏ธ SQL Database Integration

  • Complete CRUD operations for Users, Vendors, Commodities, Currencies, and Roles
  • Advanced search and pagination capabilities
  • Robust connection management with SQL Server
  • Database health monitoring and connection testing

๐ŸŽฏ Jira Integration

  • Comprehensive Jira API integration with JQL (Jira Query Language) support
  • Intelligent JQL query generation using AI
  • Persistent JQL example storage with similarity-based deduplication
  • Issue creation, searching, and management
  • Sprint and project analytics

๐Ÿค– AI-Powered Features

  • OpenAI integration for intelligent tool routing and data processing
  • Real-time streaming responses for better user experience
  • Smart JQL query generation with learning capabilities
  • Contextual data analysis and markdown formatting

๐Ÿ“Š Data Management

  • Products from DummyJSON API integration
  • Users from DummyJSON API integration
  • Real-time application status monitoring
  • Persistent storage with automatic file synchronization

๐Ÿ”„ Real-time Communication

  • Server-Sent Events (SSE) for streaming responses
  • Multiple concurrent session management
  • Graceful error handling and connection management

Available Tools

๐Ÿ—„๏ธ SQL Database Tools

User Management

  • get-users - Get a list of users with optional pagination
  • get-user-by-id - Get detailed information about a specific user by ID
  • search-users - Search for users by keyword

Vendor Management

  • get-vendors - Get a list of vendors with optional pagination
  • get-vendor-by-id - Get detailed information about a specific vendor by ID
  • search-vendors - Search for vendors by keyword

Commodity Management

  • get-commodities - Get a list of commodities with optional pagination
  • get-commodity-by-id - Get detailed information about a specific commodity by ID
  • search-commodities - Search for commodities by keyword

Currency Management

  • get-currencies - Get a list of currencies with optional pagination
  • get-currency-by-id - Get detailed information about a specific currency by ID
  • search-currencies - Search for currencies by keyword

Role Management

  • get-roles - Get a list of roles with optional pagination
  • get-role-by-id - Get detailed information about a specific role by ID
  • search-roles - Search for roles by keyword

๐ŸŽฏ Jira Integration Tools

  • get-jira-issue-by-id - Get detailed information about a specific Jira issue
  • search-jira-issues - Search for Jira issues using intelligent JQL generation
  • create-jira-issue - Create new Jira issues with specified project, summary, and issue type
  • create-jira-subtask - Create subtasks under existing Jira issues

๐Ÿ“Š Product & External API Tools

  • get-products - Get a list of products with optional pagination from DummyJSON API
  • get-product-by-id - Get detailed information about a specific product by ID
  • search-products - Search for products by keyword
  • get-products-by-category - Get all products in a specific category
  • get-categories - Get a list of all product categories

๐Ÿ” Application Monitoring

  • get-application-status - Get real-time status information for specific applications in different environments

๐Ÿ—„๏ธ SQL Database Integration

This MCP server includes comprehensive SQL Server integration for enterprise-grade data management.

Database Setup

  1. Install and Configure SQL Server

    • Ensure SQL Server is installed and running
    • Create your target database
  2. Configure Database Connection

    Create a .env file in the project root with your database credentials:

    # SQL Server Configuration
    MSSQL_USER=your_username
    MSSQL_PASSWORD=your_password
    MSSQL_HOST=your_server_host
    MSSQL_DATABASE=your_database_name
    
    # Alternative: Connection String
    MSSQL_CONNECTION_STRING=Server=yourserver;Database=yourdatabase;User Id=username;Password=password;Encrypt=false;TrustServerCertificate=true;
    
    # OpenAI Configuration (Required for AI features)
    OPENAI_API_KEY=your_openai_api_key
    LLM_MODEL=gpt-4
    
    # Jira Configuration (Optional)
    JIRA_URL=https://your-domain.atlassian.net
    JIRA_USERNAME=your_email@example.com
    JIRA_API_TOKEN=your_jira_api_token
  3. Database Schema

    The server expects the following tables in your SQL database:

    • Users - User management with roles and authentication details
    • Vendors - Vendor/supplier information
    • Commodities - Product commodities data
    • Currencies - Currency information
    • Roles - User role definitions

Testing Database Connection

Verify your database setup:

npm run build
npm run test-connection

๐ŸŽฏ Jira Integration

Setup Jira Integration

  1. Create Jira API Token

  2. Configure Jira Settings

    JIRA_URL=https://your-domain.atlassian.net
    JIRA_USERNAME=your_email@example.com
    JIRA_API_TOKEN=your_jira_api_token

Intelligent JQL Features

The server includes advanced JQL (Jira Query Language) capabilities:

  • AI-Powered JQL Generation: Converts natural language queries to JQL
  • Persistent Learning: Stores successful JQL examples for improved future queries
  • Smart Deduplication: Prevents duplicate JQL examples using similarity detection
  • Real-time Synchronization: JQL examples are immediately saved to data/jql-examples.json

Example JQL Queries

The system learns from usage and can generate JQL for queries like:

  • "Show me open bugs in the current sprint"
  • "Get all tasks assigned to John Doe"
  • "Find issues created this week with high priority"
  • "Display all closed sprints for velocity analysis"

๐Ÿค– AI Integration

OpenAI Configuration

The server uses OpenAI for intelligent data processing and query generation:

  1. Get OpenAI API Key

  2. Supported Models

    • GPT-4 (recommended)
    • GPT-3.5-turbo
    • Any OpenAI-compatible model

AI Features

  • Intelligent Tool Routing: Automatically determines which tool to use based on user queries
  • Real-time Streaming: Responses stream in real-time for better user experience
  • Context-Aware Processing: Maintains context across multiple interactions
  • Data Formatting: Automatically formats responses as markdown tables, charts, or text

๐Ÿš€ Installation & Setup

Prerequisites

  • Node.js (v16 or higher)
  • npm or yarn
  • SQL Server (for database features)
  • OpenAI API key (for AI features)
  • Jira account (optional, for Jira integration)

Installation Steps

  1. Clone the Repository

    git clone <repository-url>
    cd MCP-SERVER
  2. Install Dependencies

    npm install
  3. Environment Configuration

    Copy the example environment file and configure your settings:

    copy .env.example .env

    Edit .env with your specific configuration (see setup sections above).

  4. Build the Project

    npm run build
  5. Start the Server

    npm run start

Development Mode

For development with auto-recompilation and hot-reload:

npm run dev

๐Ÿ”ง VS Code Integration

Available Tasks

The project includes VS Code tasks for easy development:

  1. Press Ctrl+Shift+P and select "Tasks: Run Task"
  2. Choose from available tasks:
    • Build MCP Server: Compiles TypeScript code
    • Start MCP Server: Builds and starts the server
    • Dev MCP Server (Watch Mode): Development mode with auto-reload

Debugging

Debug the MCP server in VS Code:

  1. Press F5 or select "Run > Start Debugging"
  2. Choose the "Launch MCP Server" configuration
  3. View debug output in the Debug Console

Using with AI Assistants

  1. Start the MCP server using the tasks above
  2. Connect your AI assistant (like GitHub Copilot) to the server
  3. Use natural language to request data and perform operations

๐Ÿ“ Project Structure

๐Ÿ—๏ธ Architecture Overview

graph TD
    A[๐ŸŽฏ MCP Server] --> B[๐ŸŽฎ Controllers Layer]
    A --> C[๐Ÿข Services Layer]
    A --> D[๐Ÿ“‹ Models Layer]
    A --> E[โš™๏ธ Configuration Layer]
    
    B --> B1[๐Ÿ‘ฅ User Controller]
    B --> B2[๐ŸŽซ Jira Controller]
    B --> B3[๐Ÿ“ฆ Product Controller]
    B --> B4[๐Ÿช Vendor Controller]
    B --> B5[๐Ÿ“Š Commodity Controller]
    B --> B6[๐Ÿ’ฐ Currency Controller]
    B --> B7[๐Ÿ” Role Controller]
    
    C --> C1[๐Ÿ—„๏ธ SQL Services]
    C --> C2[๐ŸŽซ Jira Service]
    C --> C3[๐Ÿ“ฆ Product Service]
    C --> C4[๐Ÿ‘ฅ User Service]
    
    C1 --> C1A[SQL User Service]
    C1 --> C1B[SQL Vendor Service]
    C1 --> C1C[SQL Commodity Service]
    C1 --> C1D[SQL Currency Service]
    C1 --> C1E[SQL Role Service]
    
    D --> D1[๐Ÿ—ƒ๏ธ Database Models]
    D --> D2[๐ŸŒ API Models]
    D --> D3[๐Ÿ“ Type Definitions]
    
    E --> E1[๐Ÿ’พ Database Config]
    E --> E2[๐ŸŒ API Config]
    E --> E3[๐Ÿ—„๏ธ MSSQL Config]
    
    F[๐ŸŒ External Systems] --> F1[๐Ÿ—„๏ธ SQL Server Database]
    F --> F2[๐ŸŽซ Jira API]
    F --> F3[๐Ÿ“ฆ DummyJSON API]
    F --> F4[๐Ÿค– OpenAI API]
    
    G[๐Ÿ’พ Data Storage] --> G1[๐Ÿ“„ JQL Examples JSON]
    G --> G2[๐Ÿ“Š Application Data]
    
    style A fill:#e1f5fe
    style B fill:#f3e5f5
    style C fill:#e8f5e8
    style D fill:#fff3e0
    style E fill:#fce4ec
    style F fill:#e0f2f1
    style G fill:#f1f8e9
Loading

๐Ÿ”„ Data Flow Architecture

sequenceDiagram
    participant ๐Ÿ‘ค Client
    participant ๐ŸŒ SSE Transport
    participant ๐Ÿค– AI Router
    participant ๐ŸŽฎ Controller
    participant ๐Ÿข Service
    participant ๐Ÿ—„๏ธ Database
    participant ๐Ÿง  OpenAI
    
    ๐Ÿ‘ค->>๐ŸŒ: ๐Ÿ“ Natural Language Request
    ๐ŸŒ->>๐Ÿค–: ๐Ÿ”€ Route Message
    ๐Ÿค–->>๐Ÿง : ๐Ÿ” Analyze Intent
    ๐Ÿง -->>๐Ÿค–: ๐ŸŽฏ Tool Selection
    ๐Ÿค–->>๐ŸŽฎ: โšก Execute Tool
    ๐ŸŽฎ->>๐Ÿข: ๐Ÿ› ๏ธ Business Logic
    ๐Ÿข->>๐Ÿ—„๏ธ: ๐Ÿ“Š Data Query
    ๐Ÿ—„๏ธ-->>๐Ÿข: ๐Ÿ“ˆ Raw Data
    ๐Ÿข-->>๐ŸŽฎ: ๐Ÿ”ง Processed Data
    ๐ŸŽฎ->>๐Ÿง : ๐Ÿ“‹ Format Request
    ๐Ÿง -->>๐ŸŽฎ: ๐Ÿ“„ Formatted Response
    ๐ŸŽฎ-->>๐ŸŒ: ๐ŸŒŠ Stream Response
    ๐ŸŒ-->>๐Ÿ‘ค: โšก Real-time Output
Loading

๐Ÿ“‚ Detailed File Structure

MCP-SERVER/
โ”œโ”€โ”€ ๐Ÿ“ data/                          # ๐Ÿ’พ Persistent Data Storage
โ”‚   โ””โ”€โ”€ ๐Ÿ“„ ...                        # ๐Ÿ“„ Configuration files
โ”‚
โ”œโ”€โ”€ ๐Ÿ“ src/                           # ๐Ÿ’ป Source Code
โ”‚   โ”œโ”€โ”€ ๐Ÿ“„ ...                        # ๐Ÿ“„ TypeScript files
โ”‚   โ”‚
โ”‚   โ”œโ”€โ”€ ๐Ÿ“ app-data/                  # ๐Ÿ“Š Application Data
โ”‚   โ”‚   โ””โ”€โ”€ ๐Ÿ“„ ...                    # ๐Ÿ“„ TypeScript files
โ”‚   โ”‚
โ”‚   โ”œโ”€โ”€ ๐Ÿ“ config/                    # โš™๏ธ Configuration Files
โ”‚   โ”‚   โ”œโ”€โ”€ ๐Ÿ“„ ...                    # ๐Ÿ“„ TypeScript files
โ”‚   โ”‚   โ”œโ”€โ”€ ๐Ÿ“„ ...                    # ๐Ÿ“„ TypeScript files
โ”‚   โ”‚   โ”œโ”€โ”€ ๐Ÿ“„ ...                    # ๐Ÿ“„ TypeScript files
โ”‚   โ”‚   โ””โ”€โ”€ ๐Ÿ“„ ...                    # ๐Ÿ“„ TypeScript files
โ”‚   โ”‚
โ”‚   โ”œโ”€โ”€ ๐Ÿ“ controllers/               # ๐ŸŽฎ MCP Tool Controllers
โ”‚   โ”‚   โ”œโ”€โ”€ ๐Ÿ“„ ...                    # ๐Ÿ“„ TypeScript files
โ”‚   โ”‚   โ”œโ”€โ”€ ๐Ÿ“„ ...                    # ๐Ÿ“„ TypeScript files
โ”‚   โ”‚   โ”œโ”€โ”€ ๐Ÿ“„ ...                    # ๐Ÿ“„ TypeScript files
โ”‚   โ”‚   โ”œโ”€โ”€ ๐Ÿ“„ ...                    # ๐Ÿ“„ TypeScript files
โ”‚   โ”‚   โ”œโ”€โ”€ ๐Ÿ“„ ...                    # ๐Ÿ“„ TypeScript files
โ”‚   โ”‚   โ”œโ”€โ”€ ๐Ÿ“„ ...                    # ๐Ÿ“„ TypeScript files
โ”‚   โ”‚   โ””โ”€โ”€ ๐Ÿ“„ ...                    # ๐Ÿ“„ TypeScript files
โ”‚   โ”‚
โ”‚   โ”œโ”€โ”€ ๐Ÿ“ db-models/                 # ๐Ÿ—ƒ๏ธ Database Models
โ”‚   โ”‚   โ”œโ”€โ”€ ๐Ÿ“„ ...                    # ๐Ÿ“„ TypeScript files
โ”‚   โ”‚   โ”œโ”€โ”€ ๐Ÿ“„ ...                    # ๐Ÿ“„ TypeScript files
โ”‚   โ”‚   โ”œโ”€โ”€ ๐Ÿ“„ ...                    # ๐Ÿ“„ TypeScript files
โ”‚   โ”‚   โ”œโ”€โ”€ ๐Ÿ“„ ...                    # ๐Ÿ“„ TypeScript files
โ”‚   โ”‚   โ””โ”€โ”€ ๐Ÿ“„ ...                    # ๐Ÿ“„ TypeScript files
โ”‚   โ”‚
โ”‚   โ”œโ”€โ”€ ๐Ÿ“ llm-api/                   # ๐Ÿค– AI Integration
โ”‚   โ”‚   โ”œโ”€โ”€ ๐Ÿ“„ ...                    # ๐Ÿ“„ TypeScript files
โ”‚   โ”‚   โ””โ”€โ”€ ๐Ÿ“„ ...                    # ๐Ÿ“„ TypeScript files
โ”‚   โ”‚
โ”‚   โ”œโ”€โ”€ ๐Ÿ“ models/                    # ๐Ÿ“‹ Data Models
โ”‚   โ”‚   โ”œโ”€โ”€ ๐Ÿ“„ ...                    # ๐Ÿ“„ TypeScript files
โ”‚   โ”‚   โ”œโ”€โ”€ ๐Ÿ“„ ...                    # ๐Ÿ“„ TypeScript files
โ”‚   โ”‚   โ””โ”€โ”€ ๐Ÿ“„ ...                    # ๐Ÿ“„ TypeScript files
โ”‚   โ”‚
โ”‚   โ”œโ”€โ”€ ๐Ÿ“ modules/                   # ๐Ÿ”ง Core Server Modules
โ”‚   โ”‚   โ””โ”€โ”€ ๐Ÿ“„ ...                    # ๐Ÿ“„ TypeScript files
โ”‚   โ”‚
โ”‚   โ”œโ”€โ”€ ๐Ÿ“ services/                  # ๐Ÿข Business Logic Services
โ”‚   โ”‚   โ”œโ”€โ”€ ๐Ÿ“„ ...                    # ๐Ÿ“„ TypeScript files
โ”‚   โ”‚   โ”œโ”€โ”€ ๐Ÿ“„ ...                    # ๐Ÿ“„ TypeScript files
โ”‚   โ”‚   โ”œโ”€โ”€ ๐Ÿ“„ ...                    # ๐Ÿ“„ TypeScript files
โ”‚   โ”‚   โ”œโ”€โ”€ ๐Ÿ“„ ...                    # ๐Ÿ“„ TypeScript files
โ”‚   โ”‚   โ”œโ”€โ”€ ๐Ÿ“„ ...                    # ๐Ÿ“„ TypeScript files
โ”‚   โ”‚   โ”œโ”€โ”€ ๐Ÿ“„ ...                    # ๐Ÿ“„ TypeScript files
โ”‚   โ”‚   โ”œโ”€โ”€ ๐Ÿ“„ ...                    # ๐Ÿ“„ TypeScript files
โ”‚   โ”‚   โ””โ”€โ”€ ๐Ÿ“„ ...                    # ๐Ÿ“„ TypeScript files
โ”‚   โ”‚
โ”‚   โ”œโ”€โ”€ ๐Ÿ“ types/                     # ๐Ÿ“ TypeScript Definitions
โ”‚   โ”‚   โ”œโ”€โ”€ ๐Ÿ“„ ...                    # ๐Ÿ“„ TypeScript files
โ”‚   โ”‚   โ””โ”€โ”€ ๐Ÿ“„ ...                    # ๐Ÿ“„ TypeScript files
โ”‚   โ”‚
โ”‚   โ””โ”€โ”€ ๐Ÿ“ utils/                     # ๐Ÿ› ๏ธ Utility Functions
โ”‚       โ””โ”€โ”€ ๐Ÿ“„ ...                    # ๐Ÿ“„ TypeScript files
โ”‚
โ”œโ”€โ”€ ๐Ÿ“ scripts/                       # ๐Ÿ”จ Build & Deployment
โ”‚   โ””โ”€โ”€ ๐Ÿ“„ ...                        # ๐Ÿ“„ JavaScript files
โ”‚
โ”œโ”€โ”€ ๐Ÿ“„ ...                            # ๐Ÿ“„ HTML files
โ”œโ”€โ”€ ๐Ÿ“„ ...                            # ๐Ÿ“„ Configuration files
โ”œโ”€โ”€ ๐Ÿ“„ ...                            # ๐Ÿ“„ Configuration files
โ”œโ”€โ”€ ๐Ÿ“„ ...                            # ๐Ÿ“„ Configuration files
โ””โ”€โ”€ ๐Ÿ“„ ...                            # ๐Ÿ“„ Documentation files

๐Ÿ”€ Component Interaction Map

graph LR
    subgraph "๐ŸŒ External APIs"
        EXT1[๐Ÿ—„๏ธ SQL Server]
        EXT2[๐ŸŽซ Jira API]
        EXT3[๐Ÿ“ฆ DummyJSON]
        EXT4[๐Ÿค– OpenAI]
    end
    
    subgraph "๐ŸŽฏ MCP Server Core"
        SSE[๐ŸŒ SSE Transport]
        ROUTE[๐Ÿค– AI Router]
        CTRL[๐ŸŽฎ Controllers]
        SVC[๐Ÿข Services]
    end
    
    subgraph "๐Ÿ’พ Data Layer"
        DB[(๐Ÿ—„๏ธ Database)]
        FILES[๐Ÿ“„ JSON Files]
    end
    
    CLIENT[๐Ÿ‘ค Client] --> SSE
    SSE --> ROUTE
    ROUTE --> CTRL
    CTRL --> SVC
    
    SVC --> EXT1
    SVC --> EXT2
    SVC --> EXT3
    SVC --> EXT4
    
    SVC --> DB
    SVC --> FILES
    
    style CLIENT fill:#e3f2fd
    style SSE fill:#f1f8e9
    style ROUTE fill:#fff3e0
    style CTRL fill:#fce4ec
    style SVC fill:#e8f5e8
    style DB fill:#e0f2f1
    style FILES fill:#f3e5f5
Loading

๐Ÿ” API Reference & Data Sources

External APIs

Response Formats

The server supports multiple response formats:

  • Markdown Tables: Structured data in table format
  • Markdown Text: Formatted text with analysis
  • Charts: Data visualization using chart libraries
  • JSON: Raw structured data

๐Ÿšฆ Server Communication

Server-Sent Events (SSE)

The server uses SSE for real-time communication:

  • Endpoint: /sse/stream
  • Message Endpoint: /messages
  • Session Management: Automatic session handling with IDs
  • Streaming Responses: Real-time data streaming for better UX

CORS Configuration

The server is configured to handle cross-origin requests with appropriate CORS headers.

๐Ÿ’ก Usage Examples

Basic Queries

# Get all users with pagination
curl "http://localhost:3000/messages" -X POST \
  -H "Content-Type: application/json" \
  -d '{"message": "show me all users"}'

# Search for specific vendor
curl "http://localhost:3000/messages" -X POST \
  -H "Content-Type: application/json" \
  -d '{"message": "find vendor with name containing Microsoft"}'

# Get Jira issues
curl "http://localhost:3000/messages" -X POST \
  -H "Content-Type: application/json" \
  -d '{"message": "show me open bugs in current sprint"}'

Natural Language Queries

The AI-powered server understands natural language:

  • "Show me all high-priority bugs assigned to John"
  • "Get the last 10 vendors created this month"
  • "Find all USD currency transactions"
  • "Display sprint velocity chart for closed sprints"
  • "List all users with admin role"

JQL Learning Examples

The server learns from JQL usage:

User Query: "show me open bugs"
Generated JQL: project = SCRUM AND issuetype = Bug AND status != "Done" ORDER BY priority DESC
Saved: โœ… (New example learned)

User Query: "get open bugs"  
Generated JQL: project = SCRUM AND issuetype = Bug AND status != "Done" ORDER BY priority DESC
Saved: โŒ (Duplicate detected - 85% similarity)

๐Ÿ› ๏ธ Customization

Adding New Tools

  1. Create Controller

    // src/controllers/myController.ts
    export function registerMyTools(server: McpServer) {
      server.tool('my-tool', 'Description', schema, handler);
    }
  2. Register in Main

    // src/index.ts
    import { registerMyTools } from './controllers/myController.js';
    registerMyTools(server);

Extending Database Models

  1. Add Interface

    // src/db-models/myModel.ts
    export interface MyModel {
      Id: number;
      Name: string;
      // ... other fields
    }
  2. Create Service

    // src/services/myService.ts
    export class MyService {
      async getAll(): Promise<MyModel[]> {
        // Implementation
      }
    }

Customizing AI Prompts

Edit prompts in src/llm-api/prompts.ts:

export const MyCustomPrompt = `
Your custom system prompt here...
Format responses as markdown tables.
`;

๐Ÿ› Troubleshooting

Common Issues

  1. Database Connection Failed

    • Verify SQL Server is running
    • Check credentials in .env file
    • Test with npm run test-connection
  2. OpenAI API Errors

    • Verify API key is valid
    • Check model availability
    • Monitor API usage limits
  3. Jira Authentication Failed

    • Ensure API token is correct
    • Verify Jira URL format
    • Check user permissions
  4. Port Already in Use

    • Change port in configuration
    • Kill existing processes: npx kill-port 3000

Debug Mode

Enable detailed logging:

DEBUG=mcp:* npm run start

Log Files

Check logs in:

  • Console output for real-time logs
  • data/jql-examples.json for JQL learning progress
  • SQL Server logs for database issues

๐Ÿ“ˆ Performance Monitoring

Metrics Available

  • Database connection health
  • API response times
  • JQL query success rates
  • Memory usage patterns
  • Active session counts

Health Checks

# Database health
curl "http://localhost:3000/messages" -X POST \
  -H "Content-Type: application/json" \
  -d '{"message": "check database health"}'

# Application status
curl "http://localhost:3000/messages" -X POST \
  -H "Content-Type: application/json" \
  -d '{"message": "get application status for MyApp in production"}'

๐Ÿค Contributing

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes
  4. Add tests if applicable
  5. Submit a pull request

Development Guidelines

  • Follow TypeScript best practices
  • Add proper error handling
  • Include JSDoc comments
  • Test database operations
  • Validate all inputs with Zod schemas

๐Ÿ“„ License

This project is licensed under the ISC License - see the package.json file for details.

๐Ÿ†˜ Support

For support and questions:

  • Check the troubleshooting section above
  • Review the project issues on GitHub
  • Consult the MCP Protocol documentation
  • Check OpenAI API documentation for AI-related issues

Built with โค๏ธ using the Model Context Protocol (MCP)

About

Sample MCP Server written in TypeScript

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published