Skip to content

feat: mcp server - #25

Merged
brunozoric merged 16 commits into
mainfrom
bruno/feat/mcp-server
Aug 3, 2026
Merged

feat: mcp server#25
brunozoric merged 16 commits into
mainfrom
bruno/feat/mcp-server

Conversation

@brunozoric

Copy link
Copy Markdown
Contributor

No description provided.

@brunozoric brunozoric self-assigned this Aug 3, 2026
brunozoric and others added 10 commits August 3, 2026 14:11
All 27 transformers and all 18 filter predicates are now part of the
public API surface. Users can import and compose them in custom presets.

Also saves MCP server implementation plan.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Adds a stdio-based MCP server (webiny-data-transfer-mcp bin) exposing
list_topics and get_topic tools that serve markdown docs from docs/mcp/.
discoverDocs parses YAML front-matter (name/description/category) and
builds a per-category catalog; first-match-wins on duplicate names.

Build system: ArtifactCopier now copies docs/mcp/ to dist, and
BuildOrchestrator's shebang step covers dist/mcp/bin.js in addition to
dist/cli.js.

Includes a local ambient-module override for front-matter's types: its
shipped index.d.ts uses `export default` but the real runtime export is
plain CommonJS, which is unusable under moduleResolution: nodenext given
this package's own "type": "module". The override restates the same
shape with `export =`, which interops correctly.
DEFAULT_DOCS_DIR previously always resolved to `<thisDir>/../docs/mcp`,
which is correct in production (dist/mcp/server.js -> dist/docs/mcp)
but resolves to the nonexistent src/docs/mcp when run in dev via tsx
(src/mcp/server.ts). Now tries both candidates and picks whichever
exists, falling back to the production path if neither does.
Documents DdbProcessor, OsProcessor, S3Processor, AuditLogProcessor,
DdbScanner, and OsScanner: context slices, commands handled, onEnd
behavior, and usage in pipelineBuilderFactory.create().
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@brunozoric
brunozoric force-pushed the bruno/feat/mcp-server branch from 7ff5ed9 to 7432c97 Compare August 3, 2026 12:13
brunozoric and others added 6 commits August 3, 2026 14:18
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Scaffolded projects now include .mcp.json that auto-configures the
webiny-data-transfer MCP server. Agents supporting MCP discovery
(Claude, Cursor, Kiro, Copilot, etc.) get access to all 44 docs
topics with zero setup.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
With multiple bin entries, npx @webiny/data-transfer can't auto-select
which to run — it looks for a bin matching the unscoped package name
(data-transfer). Add the alias so npx resolves correctly.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@brunozoric
brunozoric merged commit 3cab748 into main Aug 3, 2026
5 checks passed
@brunozoric
brunozoric deleted the bruno/feat/mcp-server branch August 3, 2026 13:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant