|
| 1 | +# Strale Integration |
| 2 | + |
| 3 | +[Strale](https://strale.dev) is trust and quality infrastructure for AI agents. It provides 250+ quality-scored data capabilities — IBAN validation, company registry lookups across 27 countries, sanctions and PEP screening, web scraping, lead enrichment, Web3 risk analysis — each continuously tested and assigned a dual-profile quality score. Every execution returns structured JSON with data provenance and an audit trail. |
| 4 | + |
| 5 | +## Register Strale as a Remote MCP Server |
| 6 | + |
| 7 | +### Prerequisites |
| 8 | + |
| 9 | +1. A running ContextForge gateway |
| 10 | +2. A Strale API key — sign up at [strale.dev/signup](https://strale.dev/signup) (free EUR 2.00 trial credits, no card required) |
| 11 | + |
| 12 | +### Register via API |
| 13 | + |
| 14 | +```bash |
| 15 | +export STRALE_API_KEY=sk_live_your_key_here |
| 16 | + |
| 17 | +curl -X POST http://localhost:4444/gateways \ |
| 18 | + -H "Content-Type: application/json" \ |
| 19 | + -H "Authorization: Bearer $MCPGATEWAY_BEARER_TOKEN" \ |
| 20 | + -d '{ |
| 21 | + "name": "strale", |
| 22 | + "url": "https://api.strale.io/mcp", |
| 23 | + "transport": "STREAMABLEHTTP", |
| 24 | + "description": "Trust and quality infrastructure for AI agents — 250+ quality-scored capabilities", |
| 25 | + "auth_config": { |
| 26 | + "type": "bearer", |
| 27 | + "token": "'"${STRALE_API_KEY}"'" |
| 28 | + }, |
| 29 | + "tags": ["compliance", "validation", "company-data", "sanctions", "kyb", "web3"] |
| 30 | + }' |
| 31 | +``` |
| 32 | + |
| 33 | +ContextForge will automatically discover all 8 meta-tools from Strale's MCP endpoint. |
| 34 | + |
| 35 | +### Discovered Tools |
| 36 | + |
| 37 | +After registration, these tools become available through the gateway: |
| 38 | + |
| 39 | +| Tool | Auth Required | Description | |
| 40 | +|------|:---:|---| |
| 41 | +| `strale_search` | No | Search 250+ capabilities by keyword or category | |
| 42 | +| `strale_execute` | Yes | Run any capability by slug | |
| 43 | +| `strale_trust_profile` | No | Check quality score before calling a capability | |
| 44 | +| `strale_balance` | Yes | Check wallet balance | |
| 45 | +| `strale_ping` | No | Health check | |
| 46 | +| `strale_getting_started` | No | Free capabilities with example inputs | |
| 47 | +| `strale_methodology` | No | Quality scoring methodology | |
| 48 | +| `strale_transaction` | Partial | Retrieve past execution records | |
| 49 | + |
| 50 | +### Verify |
| 51 | + |
| 52 | +Search for capabilities through the gateway: |
| 53 | + |
| 54 | +```bash |
| 55 | +curl -X POST http://localhost:4444/servers/{SERVER_ID}/mcp \ |
| 56 | + -H "Content-Type: application/json" \ |
| 57 | + -d '{ |
| 58 | + "jsonrpc": "2.0", |
| 59 | + "method": "tools/call", |
| 60 | + "params": { |
| 61 | + "name": "strale_search", |
| 62 | + "arguments": {"query": "IBAN validation"} |
| 63 | + }, |
| 64 | + "id": 1 |
| 65 | + }' |
| 66 | +``` |
| 67 | + |
| 68 | +Execute a free capability (no API key needed for IBAN validation): |
| 69 | + |
| 70 | +```bash |
| 71 | +curl -X POST http://localhost:4444/servers/{SERVER_ID}/mcp \ |
| 72 | + -H "Content-Type: application/json" \ |
| 73 | + -d '{ |
| 74 | + "jsonrpc": "2.0", |
| 75 | + "method": "tools/call", |
| 76 | + "params": { |
| 77 | + "name": "strale_execute", |
| 78 | + "arguments": { |
| 79 | + "slug": "iban-validate", |
| 80 | + "inputs": {"iban": "DE89370400440532013000"} |
| 81 | + } |
| 82 | + }, |
| 83 | + "id": 2 |
| 84 | + }' |
| 85 | +``` |
| 86 | + |
| 87 | +### Create a Virtual Server |
| 88 | + |
| 89 | +Compose Strale tools with other sources into a single MCP endpoint: |
| 90 | + |
| 91 | +```bash |
| 92 | +# Get tool IDs after registration |
| 93 | +TOOL_IDS=$(curl -s http://localhost:4444/tools | python3 -c " |
| 94 | +import sys, json |
| 95 | +tools = json.load(sys.stdin) |
| 96 | +strale_tools = [t['id'] for t in tools if 'strale' in t.get('name', '')] |
| 97 | +print(json.dumps(strale_tools)) |
| 98 | +") |
| 99 | + |
| 100 | +# Create a virtual server combining Strale with other tools |
| 101 | +curl -X POST http://localhost:4444/servers \ |
| 102 | + -H "Content-Type: application/json" \ |
| 103 | + -H "Authorization: Bearer $MCPGATEWAY_BEARER_TOKEN" \ |
| 104 | + -d '{ |
| 105 | + "server": { |
| 106 | + "name": "compliance-toolkit", |
| 107 | + "description": "Compliance and validation tools powered by Strale", |
| 108 | + "associated_tools": '"$TOOL_IDS"' |
| 109 | + } |
| 110 | + }' |
| 111 | +``` |
| 112 | + |
| 113 | +## Free Tier |
| 114 | + |
| 115 | +Five capabilities work without an API key (10 calls/day per IP): |
| 116 | + |
| 117 | +- `email-validate` — verify email deliverability |
| 118 | +- `iban-validate` — validate international bank account numbers |
| 119 | +- `dns-lookup` — DNS records for any domain |
| 120 | +- `url-to-markdown` — convert any URL to markdown |
| 121 | +- `json-repair` — fix malformed JSON |
| 122 | + |
| 123 | +## Links |
| 124 | + |
| 125 | +- [Strale Documentation](https://strale.dev/docs) |
| 126 | +- [Capability Catalog](https://api.strale.io/v1/capabilities) |
| 127 | +- [Quality Methodology](https://strale.dev/trust/methodology) |
| 128 | +- [MCP Server on npm](https://www.npmjs.com/package/strale-mcp) |
0 commit comments