home / mcp / chitkara mcp server
MCP Server generated by mcp.ag2.ai
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.
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.
#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]"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).
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 stdioLints and formats Python code; you can check with ruff check and format with ruff format.
Runs static analysis tools (mypy, bandit, semgrep) via a single script to improve code quality.
Executes the test suite with pytest and generates a coverage report; use the provided scripts for convenient execution.