Replies: 1 comment
-
|
Hi! @Ishang22 Sorry for the late response. I'm the PM of RAGFlow. Could you create a feature request and link this discussion under it? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am using RAGFlow connected to a Spring Boot MCP server.
My agent flow is simple:
Begin node → collects inputs (auth_token, tenant_id, x_request_status)
Agent (gpt-4o) → connected to
MCP Tool (server) → exposes Spring methods annotated with @tool.
Example tool method on the server:
@tool(name = "createAttribute", description = "Create Attributes for sylius") public SyliusAttribute createAttributes(String syliusAttribute) throws JsonProcessingException { log.info("syliusAttribute={}", syliusAttribute); // I also need Authorization / Tenant / RequestStatus values here ... }
Question:
👉 How can I send extra headers (like Authorization, x-tenant-id, x-request-status) from RAGFlow Agent into my Spring Boot MCP tool?
Is there a way to configure RAGFlow MCP connection to inject them as real HTTP headers (so they arrive in Spring filters/controllers)?
Any working example or best practice for this integration would be greatly appreciated.
Beta Was this translation helpful? Give feedback.
All reactions