feat: pass LANGWATCH_API_KEY to MCP server config#84
Merged
rogeriochaves merged 4 commits intomainfrom Feb 22, 2026
Merged
Conversation
The LangWatch MCP server now requires the API key to be passed via the env field. Since .mcp.json now contains secrets, gitignore it and generate a .mcp.json.example with placeholders for team sharing.
…istants Replace single-line input with raw-stdin textarea that supports bracketed paste (multiline paste without submitting) and Shift+Enter for newlines. Also move Kilocode after Cursor in the assistant list.
Warp (and likely other terminals) sends 0x0a for Shift+Enter vs 0x0d for Enter. Use this to reliably detect Shift+Enter for newlines.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
LANGWATCH_API_KEYvia theenvfield in the LangWatch MCP server config, as required by the updated docs.mcp.json(and.cursor/mcp.json) since it now contains API key secrets.mcp.json.examplewith placeholder values so the config shape is committed for team reference.mcp.json.examplecopy instructions in the project README\nvs\r— works in Warp and other terminals)Test plan
better-agents initand verify.mcp.jsoncontains the real API key inenv.LANGWATCH_API_KEY.mcp.json.exampleis generated with"your_langwatch_api_key_here"placeholder.gitignoreincludes.mcp.jsonand.cursor/mcp.json.gitignoreand confirm.mcp.jsonentry is appended