bc-geographical-names-web-service---rest-api

bc-geographical-names-web-service---rest-api

0

This project is a server utilizing the Multi-Agent Conversation Protocol (MCP) designed for interaction with a specified OpenAPI. It supports various configurations and testing environments, focusing on development efficiency with tools like ruff and pytest.

MCP Server

This project is an MCP (Multi-Agent Conversation Protocol) Server designed for a specific OpenAPI URL. It is auto-generated using AG2's MCP builder and utilizes Python 3.9+.

Features

  • Utilizes ruff for linting and formatting, mypy for type checking, and pytest for testing.
  • Supports different transport modes such as stdio and sse.
  • Configurable via environment variables for custom server configurations.

Installation

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

Development and Testing

  • Pre-commit hooks ensure code quality.
  • Static analysis includes checks with mypy, bandit, and semgrep.
  • Run tests with coverage using provided scripts.

Building and Publishing

  • Uses Hatch for build and publish processes.

Running the Server

  • Execute mcp_server/main.py with desired mode, configuring via environment variables.