Scan your whole stack
Are you using structx-mcp?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v0.5.0
structx-mcp was last scanned on 28 Nov 2026 at version 0.5.0. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 0.5.0 LATEST | 28 Nov 2026 | No rules fired |
| 0.4.0 | 27 Nov 2026 | No rules fired |
Findings for v0.5.0. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.
The score describes 0.5.0; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
Model Context Protocol (MCP) server for struct-x — install in Claude Desktop, Cursor, Windsurf, or any MCP-compatible client and give your agent first-class structured-extraction tools.
You: extract the product details from this Aeron chair page →
[pastes URL or HTML]
Agent: [calls structx_extract under the hood, returns typed JSON]
{
"title": "Aeron Chair",
"price_cents": 179500,
"brand": "Herman Miller",
…
}
No HTTP plumbing, no schema-writing detours — the agent just uses extraction.
pip install structx-mcp
Then add to your MCP client's config.
Edit ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):
{
"mcpServers": {
"structx": {
"command": "structx-mcp",
"env": {
"STRUCTX_API_KEY": "sx_..."
}
}
}
}
Restart Claude Desktop. Confirm by typing /mcp and verifying structx is listed.
.cursor/mcp.json (project-scope) or ~/.cursor/mcp.json (user-scope):
{
"mcpServers": {
"structx": {
"command": "structx-mcp",
"env": { "STRUCTX_API_KEY": "sx_..." }
}
}
}
Same pattern — command: "structx-mcp", env: { STRUCTX_API_KEY: ... }. The server speaks the standard MCP stdio protocol.
26 tools, grouped below.
| Tool | What it does |
|---|---|
structx_extract |
Extract structured JSON from raw content (HTML / markdown / text / JSON / emails) using a JSON Schema you provide OR a pre-built template slug. Returns per-field confidence scores. |
structx_extract_batch |
Extract from up to 100 content items in one call — each with its own schema/template + tier, shared options. Per-item billing is metered server-side; surfaces total_credits_used. |
structx_extract_from_url |
Fetch a URL and extract in one call. Sandboxed (HTTPS only, public DNS only, 10MB cap, no redirects). Replaces the two-call fetch_url → extract pattern. |
structx_extract_document |
Extract from a PDF (text, tables or scanned pages): pass a local file_path or document_base64, plus a schema or template. Per-field confidence is reported by the model. PDF only (5-20 MB by plan); not enabled on every account yet. Uses structx-sdk 0.6.0+, which installs with this package. |
structx_infer_schema |
Don't have a schema yet? Paste raw content, get a draft schema back with per-field rationales. Plus matching templates from the public catalog. |
| Tool | What it does |
|---|---|
structx_list_templates |
Page through the public catalog (25 per page, at most 50), filtered by tag words (q) and category, so the agent can reuse a template for a common format (Stripe events, GitHub issues, product pages, news articles) instead of writing a schema. Items carry no schema; structx_get_template returns one. |
structx_get_template |
Fetch one template's full JSON Schema + metadata by slug. |
structx_template_cost_estimate |
Estimate field count, tokens, and credits for a template at a given tier — no model call. Returns a per-tier breakdown. |
structx_template_versions |
List the version history of a template family by its bare slug. |
structx_list_categories |
Browse the catalog's category → family → vendor hierarchy. |
structx_recommend_templates |
Find existing templates (platform + community + your own) matching content or a draft schema. |
structx_augment_schema |
Refine a schema from structx_infer_schema with natural-language guidance. Takes that call's event_id and the same content (the server rejects different content); content_type is optional. Returns the refined schema with a new event_id. |
| Tool | What it does |
|---|---|
structx_canonical_frameworks |
List the canonical normalization frameworks (OTel, OCSF, …) with versions. |
structx_canonical_project |
Project an extracted record onto one or more frameworks — deterministic, never re-runs the model, reports unmapped fields. |
These use the server's API key, so they create, change and delete personal schemas only. Binding a schema to an organization or sharing it is done in the struct-x dashboard, and so is offering a schema to the public community catalog (publishable_consent).
| Tool | What it does |
|---|---|
structx_list_my_schemas |
List schemas saved to the caller's account. |
structx_get_my_schema |
Fetch one saved schema by slug. |
structx_save_my_schema |
Persist a JSON Schema to the account as a personal schema. |
structx_update_my_schema |
Patch a saved schema (pass only changed fields). |
structx_delete_my_schema |
Permanently delete a saved schema. |
| Tool | What it does |
|---|---|
structx_synthesize_dataset |
Generate an anonymized, schema-valid synthetic dataset from a template or inline schema, shaped by free-text directives. |
structx_list_datasets |
List the caller's saved synthetic datasets (metadata only). |
structx_get_dataset |
Fetch one saved dataset in full (records + manifest). |
structx_export_dataset |
Download a saved dataset as json / jsonl / csv. |
structx_delete_dataset |
Delete one of the caller's saved datasets. |
| Tool | What it does |
|---|---|
structx_usage |
Current credit usage for the account that owns the API key. Pre-flight check before batches, or post-mortem after a RateLimitError. |
structx_request_withdrawal |
Request removal of a community template the caller authored. |
The Python SDK (structx-sdk) is for building applications. This MCP package is for putting struct-x inside the AI tools you already use — Claude Desktop, Cursor, Windsurf. The agent calls these tools natively, no app code required.
Both are first-party; they share the same backend, same credit pool, same API key.
structx_extract_from_url is sandboxed at the network layer:
http://, file://, ftp://, etc.)169.254.169.254, metadata.google.internal, etc.).internal, .local, .cluster.local, .consul)This matches the defenses on the struct-x backend's webhook outbound-URL validator. See src/structx_mcp/_url_safety.py for the implementation.
git clone https://github.com/struct-x-ai/struct-x-sdks
cd struct-x/mcp
# Install editable + the SDK from the local checkout (the SDK is in
# the same monorepo at python/).
pip install -e "../python" -e ".[dev]"
pytest -q
MIT — see LICENSE.
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.
The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.