LibreChat with Markup AI MCP
Chat
Overview
Enable Markup AI agents in LibreChat by adding the hosted MCP server at https://api.markup.ai/mcp/ to your librechat.yaml.
Get Your API Key
- Visit https://console.markup.ai/signup and create an account.
- Copy your API key from the console.
Store your key securely. LibreChat supports ${VAR} environment-variable placeholders in headers, so you can reference an env var instead of pasting the key.
Configure librechat.yaml (MCP Server)
Add the Markup AI server under the top-level mcpServers key. Merge with any existing entries.
Notes:
- Keep YAML valid and merge with existing
mcpServersentries. streamable-httpis the recommended production transport (stateless, multi-user).- Prefer to log in instead of using a key? Replace
headerswith anoauth:block (authorization_url,token_url,client_id,client_secret,redirect_uri,scope) and users are prompted to authenticate.
Restart & Verify
- Restart LibreChat (or your container/service) to load the updated config.
- Open a new chat and confirm the Markup AI tools are available or check the console logs.
Test Your Setup
- “Check this paragraph for brand-voice drift: [paste text]”
- “List the available Markup AI agents.”
You should see LibreChat call Markup AI tools to analyze your text.
Troubleshooting
- Ensure your YAML is valid (check indentation and quotes).
- Verify the
Authorizationheader is set and your API key is correct. - Confirm the URL is
https://api.markup.ai/mcp/. - Fully restart LibreChat after changing configuration.
Links
- LibreChat MCP servers reference: https://www.librechat.ai/docs/configuration/librechat_yaml/object_structure/mcp_servers