MCP Client Chatbot

MCP Server Connection

Important Setup Instructions:

  1. Create a .env file in your project root
  2. Add your API key: ANTHROPIC_API_KEY=your_key_here
  3. Restart the Next.js server after adding the key
  4. Make sure your MCP server script is properly implemented

Always include node or python before the script path

Example formats (notice forward slashes for Windows paths):

  • node G:/path/to/script.js
  • node ./relative/path/script.js
  • python C:/Users/name/script.py

Chat