- Home
- MCP servers
- Authorized Buyers ABM
Authorized Buyers ABM
- python
0
GitHub Stars
python
Language
7 months ago
First Indexed
3 months 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-authorized-buyers-marketplace-api": {
"command": "python",
"args": [
"mcp_server/main.py",
"stdio"
],
"env": {
"CONFIG": "{\"example_key\":\"example_value\"}",
"SECURITY": "YOUR_SECURITY_PARAMS",
"CONFIG_PATH": "PATH_TO_CONFIG.json"
}
}
}
}You run an MCP (Model Context Protocol) Server to expose a structured, context-aware API for the Authorized Buyers Marketplace API. It lets clients connect via a simple transport and perform context-aware operations against the configured data sources. This guide walks you through installing, configuring, and using the server so you can integrate it with your MCP clients quickly and reliably.
How to use
Start a local MCP server in stdio mode to connect your MCP client directly to the server process. The server reads its configuration from environment variables or a JSON configuration file, and it can be run with different transport modes.
How to install
Prerequisites you need before installing: Python 3.9 or newer, and a working Python environment with pip. You may also use uv for running commands.
# Step 1: Clone the project repository
git clone <repository-url>
cd mcp-server
# Step 2: Install development dependencies
pip install -e ".[dev]"
# Optional: If you prefer to use uv for running commands
uv pip install --editable ".[dev]"
Additional setup and running the server
To run the MCP server in stdio mode using Python, execute the following command. This starts the MCP server process and communicates over standard input/output.
python mcp_server/main.py stdio
Environment and configuration
Configure the server using environment variables. The main configurable items are the path to a JSON configuration file, an inlined JSON config, and security-related parameters.
Environment variables you can use include:
Notes on configuration files and startup
If you provide a JSON configuration file, set CONFIG_PATH to the path of that file. If you prefer to pass the configuration directly, set CONFIG to a JSON string containing the configuration. For security-related parameters, set SECURITY to an appropriate set of environment values.
The entry point that demonstrates how these are loaded is contained within the main script’s typical execution block.
Testing and tooling
The project uses linting, static analysis, and testing tools to ensure code quality. Run these as part of your development workflow to maintain a healthy codebase.