home / mcp / chitkara mcp server

Chitkara MCP Server

MCP Server generated by mcp.ag2.ai

Installation
Add the following to your MCP client configuration file.

Configuration

View docs
{
  "mcpServers": {
    "ag2-mcp-servers-chitkara-university": {
      "command": "python",
      "args": [
        "mcp_server/main.py",
        "stdio"
      ],
      "env": {
        "CONFIG": "JSON string with configuration",
        "SECURITY": "Security parameters such as API keys",
        "CONFIG_PATH": "Path to a JSON config file (e.g., mcp_server/mcp_config.json)"
      }
    }
  }
}

You can run an MCP server that exposes the Chitkara University API specification to MCP clients. This server acts as a bridge between your OpenAPI-based API and MCP clients, enabling standardized interactions and context-aware queries through the MCP protocol.

How to use

To use the MCP server, first start it in stdio mode and then connect your MCP client to the runtime. The server will handle requests according to the configured MCP interface and relay data from the underlying API as defined by the provided OpenAPI spec. You can configure security, provide a JSON config, and control the server’s lifecycle from your client or orchestration tooling.

How to install

#Prerequisites
- Python 3.9+
- pip
- uv (optional for running servers) 

#1. Clone the MCP server repository
git clone <repository-url>
cd mcp-server

#2. Install dependencies (dev dependencies included)
pip install -e ".[dev]"

# Alternatively, use uvx to install and run
uv pip install --editable ".[dev]"

Configuration and running

You can configure and run the MCP server using environment variables or a JSON configuration file. The key variables are used to point the server at its configuration and to apply security controls.

Environment variables you may use: - CONFIG_PATH: Path to a JSON configuration file (for example, mcp_server/mcp_config.json). - CONFIG: A JSON string containing the configuration. - SECURITY: Environment variables for security parameters (for example, API keys).

Starting the server

Run the MCP server in stdio mode with the following command and then interact with it using an MCP client.

python mcp_server/main.py stdio

Available tools

ruff

Lints and formats Python code; you can check with ruff check and format with ruff format.

static-analysis

Runs static analysis tools (mypy, bandit, semgrep) via a single script to improve code quality.

tests

Executes the test suite with pytest and generates a coverage report; use the provided scripts for convenient execution.

Chitkara MCP Server - ag2-mcp-servers/chitkara-university