home / mcp / redeal analytics mcp server
MCP Server generated by mcp.ag2.ai
Configuration
View docs{
"mcpServers": {
"ag2-mcp-servers-redeal-analytics-api": {
"command": "python",
"args": [
"mcp_server/main.py",
"stdio"
],
"env": {
"CONFIG": "{\"version\":1}",
"SECURITY": "<SECURITY>",
"CONFIG_PATH": "mcp_server/mcp_config.json"
}
}
}
}You run an MCP (Model Context Protocol) Server that bridges your OpenAPI-defined data source to MCP clients. It lets you serve the redeal analytics API in a standardized, protocol-friendly way, enabling efficient local development, testing, and integration with other MCP tools.
You connect to the server from an MCP client by launching the local MCP server in stdio mode and then pointing the client to the running process. The server exposes the configured API based on the provided OpenAPI source, so your client can request data, actions, or context as defined by that API.
Prerequisites must be present on your system before you install and run the server. You need Python 3.9 or newer, along with pip and uv.
Step 1: Clone the project directory and navigate into it.
Step 2: Install the development dependencies.
pip install -e ".[dev]"If you prefer to use uv instead of the dev environment, you can install editable dependencies with uv.
uv pip install --editable ".[dev]"Run the MCP server using the Python entry point for the local runtime in stdio mode. This starts the server as a local process that communicates via stdio with your MCP client.
python mcp_server/main.py stdioThe server can be configured via environment variables. The following keys are supported and can be set to tailor the runtime without modifying code.
Linting and formatting tool used to enforce code quality and style.
Static type checker to verify type correctness across the codebase.
Testing framework used to run unit and integration tests.
Custom script to run static analysis tools such as bandit and semgrep.
Pre-commit hooks to run linting, formatting, and basic checks before commits.
Build and publish tooling for the project.