Metadata-Version: 2.4
Name: aif-mcp
Version: 0.4.7
Summary: AIF MCP adapters (Normbase, EDA, Schemo) — Platform integrator clients for MCP hosts
License: Proprietary License
        
        Copyright (c) 2026 LangXAI. All rights reserved.
        
        The Agent Information Field (AIF) software, documentation, and related
        materials in this repository are proprietary and confidential.
        
        No part of this software may be copied, modified, merged, published,
        distributed, sublicensed, or sold without prior written permission from
        LangXAI.
        
        Access and use are permitted only for authorized users under applicable
        service terms, license agreements, or other written authorization from
        LangXAI.
        
        THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
        OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
        FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
        LANGXAI BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
        ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
        WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
        
Requires-Python: >=3.11
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: mcp>=1.0.0
Requires-Dist: httpx>=0.26.0
Dynamic: license-file

# aif-mcp

PyPI distribution for **AIF MCP adapters** (`aif-mcp-normbase`, `aif-mcp-eda`, `aif-mcp-schemo`, `aif-mcp-all`).

This package is a thin layer over remote AIF HTTP APIs. It does **not** ship Normbase, EDA, Platform, or Facilitator server code.

Sibling package: [`aif-normative-agent`](../normative-agent/README.md) (Python SDK / Host loop over the same HTTP APIs).

## Install / run

```bash
uvx --from aif-mcp aif-mcp-all --transport stdio
uvx --from aif-mcp aif-mcp-normbase --transport stdio
uvx --from aif-mcp aif-mcp-eda --transport stdio
uvx --from aif-mcp aif-mcp-schemo --transport stdio
```

Node wrapper (same MCP entrypoints):

```bash
npx -y --package @langxai/aif-mcp aif-mcp-all
```

Tool names align with Norm-Native SDK (`norm_*`, `eda_*`, `schemo_*`). See [`docs/tool-parity-matrix.md`](../../docs/tool-parity-matrix.md) and [`docs/mcp-migration-1.0.md`](../../docs/mcp-migration-1.0.md).

## Host configuration

| Variable | Required | Default |
|----------|----------|---------|
| `AIF_AGENT_API_KEY` | Yes | — |
| `AIF_PLATFORM_URL` | No | `https://www.norm.xin` |

See [`.env.example`](.env.example). Local dev: set `AIF_PLATFORM_URL=http://127.0.0.1:8020`.

## Monorepo note

Source lives under `integrations/mcp` only (Platform integrator HTTP client). Full-stack development uses the monorepo root editable install.

Publishing guide: [`docs/mcp-publishing.md`](../../docs/mcp-publishing.md).

## Legacy PyPI name

Do **not** use `aif-normbase` on PyPI for MCP installs — older releases mistakenly bundled the full backend. Prefer `aif-mcp`.
