Skip to content

Add document filters to MCP and n8n APIs#1047

Merged
SachaProbo merged 1 commit intomainfrom
SachaProbo/mcp-n8n-filters
Apr 15, 2026
Merged

Add document filters to MCP and n8n APIs#1047
SachaProbo merged 1 commit intomainfrom
SachaProbo/mcp-n8n-filters

Conversation

@SachaProbo
Copy link
Copy Markdown
Contributor

@SachaProbo SachaProbo commented Apr 15, 2026

Align MCP and n8n document listing endpoints with the GraphQL console API so every document filter is available across all three interfaces.

MCP:

  • listDocuments: add status filter (ACTIVE/ARCHIVED)
  • listDocumentVersions: add statuses filter (DRAFT/PENDING_APPROVAL/PUBLISHED)
  • DocumentOrderField: add UPDATED_AT

n8n:

  • document getAll: add query, documentTypes, classifications, status filters
  • document getAllVersions: add statuses filter
  • document getAllSignatures: add states and activeContract filters

Summary by cubic

Aligns MCP and n8n document listing APIs with the GraphQL console so the same filters are available across all interfaces. Adds document/version filters and an UPDATED_AT sort option; returns ACTIVE documents by default unless a status is provided.

  • New Features
    • MCP: listDocuments adds status filter (defaults ACTIVE); listDocumentVersions adds statuses filter; DocumentOrderField supports UPDATED_AT.
    • n8n: document getAll adds query, documentTypes, classifications, and status filters (defaults ACTIVE); getAllVersions adds statuses filter; getAllSignatures adds states and activeContract filters.

Written for commit 891bc02. Summary will update on new commits.

Copy link
Copy Markdown
Contributor

@cubic-dev-ai cubic-dev-ai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 5 files

@SachaProbo SachaProbo force-pushed the SachaProbo/mcp-n8n-filters branch 2 times, most recently from 840f09f to e416690 Compare April 15, 2026 09:13
@SachaProbo SachaProbo requested a review from a team April 15, 2026 11:13
Align MCP and n8n document listing endpoints with the GraphQL console
API so every document filter is available across all three interfaces.

MCP:
- listDocuments: add status filter, default to ACTIVE
- listDocumentVersions: add statuses filter
- DocumentOrderField: add UPDATED_AT

n8n:
- document getAll: add query, documentTypes, classifications, status filters (default ACTIVE)
- document getAllVersions: add statuses filter
- document getAllSignatures: add states and activeContract filters

Signed-off-by: Sacha Al Himdani <sacha@getprobo.com>
@SachaProbo SachaProbo force-pushed the SachaProbo/mcp-n8n-filters branch from e416690 to 891bc02 Compare April 15, 2026 11:14
@SachaProbo SachaProbo merged commit 891bc02 into main Apr 15, 2026
17 checks passed
@SachaProbo SachaProbo deleted the SachaProbo/mcp-n8n-filters branch April 15, 2026 11:38
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