Metadata-Version: 2.4
Name: mcpsquared-base
Version: 0.1.2
Summary: Base package for MCPSquared - provides universal loaders/runners and chain selection MCP server
Project-URL: Homepage, https://github.com/sancovp/mcpsquared-base
Project-URL: Repository, https://github.com/sancovp/mcpsquared-base.git
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Requires-Python: >=3.8
Description-Content-Type: text/markdown
Requires-Dist: mcp-use
Requires-Dist: langchain-openai
Requires-Dist: fastmcp
Dynamic: requires-python

# Chain Selection MCP Server

Provides tools for MCPSquared selector/executor handoff coordination.

## Features

- **write_chain_selection_tool**: Write chain selections to handoff files
- Agent-specific file naming with timestamps for parallel execution
- Automatic cleanup utilities for long-running systems

## Installation

```bash
pip install -r requirements.txt
```

## Usage

Run as MCP server:

```bash
python server.py
```

Or use the entry point:

```bash
chain-selection-mcp-server
```

## Configuration

Add to your MCP client config:

```json
{
  "command": "python",
  "args": ["server.py"],
  "transport": "stdio"
}
```

## File Storage

Chain selections are stored in `/tmp/mcpsquared/chain_selections/` with format:
`{agent_name}_{timestamp}.json`
