feat: mcp server - #25
Merged
Merged
Conversation
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
force-pushed
the
bruno/feat/mcp-server
branch
from
August 3, 2026 12:13
7ff5ed9 to
7432c97
Compare
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.