MCP
A collection of MCP (Model Context Protocol) tools and examples for wandb and weave
Overview
MCP (Model Context Protocol) is a collection of tools and examples designed to enhance the functionality of wandb and weave, facilitating better model management and context handling.
To use MCP, clone the repository from GitHub, and explore the provided tools and examples to integrate with your wandb and weave projects.
- A comprehensive set of tools for managing model contexts. - Examples demonstrating the integration with wandb and weave. - Support for various model management tasks.
- Streamlining model training workflows with context management.
- Enhancing data visualization in wandb projects.
- Facilitating collaboration on model development using shared contexts.
Add to your AI client
Use these steps to connect MCP in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.
Cursor
Add this to your .cursor/mcp.json file in your project root, then restart Cursor.
.cursor/mcp.json
{
"mcpServers": {
"mcp-server-wandb": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-server-wandb"
]
}
}
}Claude Desktop
Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
{
"mcpServers": {
"mcp-server-wandb": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-server-wandb"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"mcp-server-wandb": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-server-wandb"
]
}
}
}VS Code (Copilot)
Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.
.vscode/mcp.json
{
"servers": {
"mcp-server-wandb": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-server-wandb"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"mcp-server-wandb": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-server-wandb"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"mcp-server-wandb": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-server-wandb"
]
}
}
}FAQ
What is the purpose of MCP?
MCP aims to provide tools that simplify the management of model contexts in machine learning projects.
Is MCP compatible with all versions of wandb?
Yes! MCP is designed to work with the latest versions of wandb and weave.
How can I contribute to MCP?
Contributions are welcome! Please check the GitHub repository for guidelines.