- Home
- MCP servers
- Punjab State Board of Technical Education Industrial Training
Punjab State Board of Technical Education Industrial Training
- python
0
GitHub Stars
python
Language
4 months ago
First Indexed
3 weeks ago
Catalog Refreshed
Documentation & install
Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.
Installation
Add the following to your MCP client configuration file.
Configuration
View docs{
"mcpServers": {
"ag2-mcp-servers-the-punjab-state-board-of-technical-education--industrial-training": {
"command": "python",
"args": [
"mcp_server/main.py",
"stdio"
],
"env": {
"CONFIG": "{\"example_key\":\"example_value\"} or empty",
"SECURITY": "API_KEY_OR_OTHER_SECURITY_PARAMS",
"CONFIG_PATH": "PATH_TO_JSON_CONFIG_OR_EMPTY"
}
}
}
}You run an MCP (Model Context Protocol) server to expose data sources and actions via a standardized interface you can connect to with an MCP client. This server implementation focuses on enabling a Python-based MCP endpoint that you can start locally and interact with using different transport modes.
How to use
You start the MCP server in stdio mode to communicate directly with local processes. Use a client that supports MCP to perform data queries, updates, and context-aware actions through the server. Start the server once your configuration is in place, then connect your client with the same transport mode you started.
How to install
# Prerequisites
Python 3.9+
Pip
uv
# Step 1: Prepare environment
# Install dependencies and prepare the package for development
pip install -e ".[dev]"
# Step 2: Run the server in stdio mode
python mcp_server/main.py stdio
Additional sections
Configuration is handled through environment variables and optional JSON configuration files. You can point the server to a specific configuration file or supply a JSON string with the CONFIG variable. The main options include CONFIG_PATH, CONFIG, and SECURITY for security parameters.
Available tools
lint
Uses ruff to lint and format code to ensure style and syntax conformance.
static-analysis
Runs static checks (mypy, bandit, semgrep) to identify type issues and security concerns.
tests
Executes test suites with pytest and generates coverage reports.
build
Builds the project using Hatch to create distributable artifacts.
pre-commit
Runs automated checks on commits via pre-commit hooks.
server-run
Starts the MCP server in the requested transport mode, currently demonstrated with stdio.