# interordra-mcp

Detects semantic gaps between texts. Use when a conversation is failing, a question and its answer are misaligned, or two systems are communicating without understanding each other.

## Quick Start

```bash
# Connect this server (installs CLI if needed)
npx -y @smithery/cli@latest mcp add rosibisdev/interordra-mcp

# Browse available tools
npx -y @smithery/cli@latest tool list rosibisdev/interordra-mcp

# Get full schema for a tool
npx -y @smithery/cli@latest tool get rosibisdev/interordra-mcp detectar_gap

# Call a tool
npx -y @smithery/cli@latest tool call rosibisdev/interordra-mcp detectar_gap '{}'
```

## Direct MCP Connection

Endpoint: `https://interordra-mcp--rosibisdev.run.tools`

**Required config:**
- `anthropicApiKey` (query) — Your Anthropic API key for Claude and Voyage AI embeddings

**Optional config:**
- `voyageApiKey` (query) — Optional dedicated Voyage AI API key for better embedding reliability

## Tools (3)

- `detectar_gap` — Detects semantic gap between two texts using real embeddings.
- `reformular_pregunta` — Takes a question and generates alternative framings to surface
- `analizar_conversacion` — Analyzes a sequence of messages to detect accumulating semantic gaps.

```bash
# Get full input/output schema for a tool
npx -y @smithery/cli@latest tool get rosibisdev/interordra-mcp <tool-name>
```

## Prompts (3)

- `gap_detection_prompt` (texto_a, texto_b) — Prompt to detect and explain the semantic gap between two texts.
- `conversation_analysis_prompt` (contexto) — Prompt to analyze semantic drift across a conversation.
- `question_reframe_prompt` (pregunta) — Prompt to reframe a question and surface the underlying need.
