mirror of
https://github.com/0xMassi/webclaw.git
synced 2026-04-24 15:56:23 +02:00
Sites like Bluesky emit JSON-LD with literal newline characters inside string values (technically invalid JSON). Add sanitize_json_newlines() fallback that escapes control characters inside quoted strings before retrying the parse. This recovers ProfilePage, Product, and other structured data that was previously silently dropped. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
24 lines
758 B
YAML
24 lines
758 B
YAML
# Smithery configuration — https://smithery.ai/docs/build/project-config
|
|
# webclaw MCP server: web extraction for AI agents with bot-protection bypass
|
|
|
|
startCommand:
|
|
type: stdio
|
|
configSchema:
|
|
type: object
|
|
properties:
|
|
apiKey:
|
|
type: string
|
|
description: >
|
|
webclaw API key from webclaw.io. Optional — the server works
|
|
locally without one. Set this for automatic fallback to the
|
|
webclaw cloud API when a site has bot protection or requires
|
|
JS rendering.
|
|
secret: true
|
|
commandFunction: |
|
|
(config) => ({
|
|
command: 'webclaw-mcp',
|
|
args: [],
|
|
env: config.apiKey ? { WEBCLAW_API_KEY: config.apiKey } : {}
|
|
})
|
|
exampleConfig:
|
|
apiKey: wc_your_api_key_here
|