Skip to content

Agent Fabric: Need Authentication & Custom headers injection examples #530

@sravannerella

Description

@sravannerella

While reviewing the documentation at https://docs.mulesoft.com/anypoint-code-builder/af-project-files, I noticed that there are authentication examples for Agents and LLM, but not for MCP Servers.

Additionally, the documentation doesn’t explain how to include custom headers—either for Agents or for MCP Servers. This is important for scenarios where additional metadata, tokens, or integration headers are required.

Requested Improvements:

  • Add authentication examples for MCP Servers, similar to the existing Agent examples.
  • Document how to configure custom headers - Agents & MCP Servers
  • Clarify whether header injection differs between Agents and MCP Servers, and provide code samples for both.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions