@langwatch/mcp-server
v0.3.3
Published
An MCP server for Langwatch.
Keywords
Readme
LangWatch 🏰 MCP Server
The LangWatch MCP Server makes your AI coding assistant an expert in both LangWatch, for automatically instrumenting your code, managing versioned prompts and creating evaluations; and Scenario, for automatically testing your agents via simulations.
Setup in your Coding Assistant 👩💻
- Open Cursor/Claude Code/your editor Settings
- Navigate to the MCP settings
- Set the "name" as "LangWatch"
- Add the LangWatch MCP:
{
"mcpServers": {
"langwatch": {
"command": "npx",
"args": ["-y", "@langwatch/mcp-server"]
}
}
}Tools
The MCP Server provides the following tools:
fetch_langwatch_docs
- Description: Fetches the LangWatch docs for understanding how to implement LangWatch in your codebase.
- Parameters:
url: (Optional) The full url of the specific doc page. If not provided, the docs index will be fetched.
fetch_scenario_docs
- Description: Fetches Scenario docs for understanding how to write agent simulations to test the agents on your codebase.
- Parameters:
url: (Optional) The full url of the specific doc page. If not provided, the docs index will be fetched.
Example Usage
Ask your coding assistant to instrument your code:
"Can you instrument my LLM code with LangWatch"
Or ask it to write a scenario test:
"Can you implement a scenario test for my agent?"
🛟 Support
If you have questions or need help, join our community:
