flat-api

flat-api

0

The MCP Server is a Multi-Agent Conversation Protocol Server generated for a specific OpenAPI URL. It supports various transport modes and relies on Python 3.9+, pip, and uv. This project uses advanced tools for code quality and is built and published using Hatch.

MCP Server

This project is an MCP (Multi-Agent Conversation Protocol) Server designed for a specified OpenAPI URL and auto-generated using AG2's MCP builder.

Prerequisites

  • Python 3.9+
  • pip and uv

Installation

  1. Clone the repository and navigate to the directory.
  2. Install dependencies using the setup script or manually via pip or uv.

Development

  • Uses ruff for linting and formatting.
  • Employs mypy for static type checking.
  • Testing is done with pytest. Pre-commit hooks are used for maintaining code standards.

Running the Server

The server can be started using a script and supports various transport modes. Configuration can be managed through environment variables. Test scripts are available for starting and interacting with the server.

Building and Publishing

Uses Hatch for building and publishing the project.