Skip to content

Add serverInstructions configuration for MCP servers #321

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

benverhees
Copy link
Contributor

@benverhees benverhees commented Jun 7, 2025

Summary

Adds documentation for the new serverInstructions configuration option for MCP servers, which allows automatic injection of contextual instructions into agent system messages. danny-avila/LibreChat#7660

Changes

  • config.mdx: Added serverInstructions to the MCP servers configuration overview with examples
  • mcp_servers.mdx: Added documentation for the serverInstructions parameter including:
    • Parameter documentation with type, description, and options
    • Usage guidance for when to use each configuration option
    • Examples showing different serverInstructions configurations
    • Additional information section explaining how server instructions work

Examples Added

  • Server using server-provided instructions (serverInstructions: true)
  • Server with custom multiline instructions for Puppeteer automation
  • Server with instructions explicitly disabled (serverInstructions: false)

Copy link

vercel bot commented Jun 7, 2025

@benverhees is attempting to deploy a commit to the LibreChat's projects Team on Vercel.

A member of the Team first needs to authorize it.

@benverhees benverhees changed the title Add documentation for MCP Server instructions Add serverInstructions configuration for MCP servers Jun 7, 2025
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