Claude Code
Claude Code is Anthropic's official CLI for Claude, designed to help developers with software engineering tasks. It provides a command-line interface for interacting with Claude and supports MCP (Model Context Protocol) servers.
Video
Installation
First, install Claude Code if you haven't already:
# Install Claude Code
curl -fsSL https://claude.ai/install.sh | sh
Quick Setup
To add mcp.run to Claude Code, run this command in your terminal:
claude mcp add mcp.run --transport http https://www.mcp.run/<user-name>/<profile-name>
Replace <user-name>/<profile-name>
with your actual profile. For example, if your username is benjamin
, you could use benjamin/default
.
If you belong to the org dylibso
which has a engineering
profile, you could set it to dylibso/engineering
.
See a list of your profiles here.
Usage
Once configured, you can use Claude Code with access to your mcp.run tools:
# Start Claude Code
claude
# If you see a red error when you start claude, use the mcp command and follow the instructions to authenticate it:
/mcp
Managing MCP Servers
Claude Code provides commands to manage your MCP servers:
# List configured MCP servers
claude mcp list
# Remove an MCP server
claude mcp remove mcp.run
Troubleshooting
If you encounter issues:
- Authentication errors: Make sure you're logged in to mcp.run and have access to the profile you're trying to use
- Connection issues: Verify your internet connection and that the profile URL is correct
- Tool not available: Check that the servlet you're trying to use is installed in your profile
For more help, check the Claude Code documentation or visit our support page.