MCP Chat With Claude MCP Server

A typescript example for web app as the host connecting node mcp server

Local serverstdioTypeScript

What is the MCP Chat With Claude MCP Server?

A typescript example for web app as the host connecting node mcp server

The short version

A full-stack application demonstrating the integration of Model Context Protocol (MCP) with Anthropic's Claude LLM, providing an interactive chat interface that leverages MCP tools.

  • Interactive chat interface with Claude AI
  • Two-panel UI showing conversation and tool execution details
  • Dynamic tool discovery from multiple MCP servers
  • Support for specialized tools with different parameters from each server
  • Proper handling of Claude's tool use via MCP

What it needs from you

  • Node.js 17 or higher - npm or yarn - Anthropic API key

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Configuration

  • Node.js 17 or higher - npm or yarn - Anthropic API key
VariableDescriptionRequired
ANTHROPIC_API_KEYCredential the server authenticates with.Yes
MCP_SERVER_TODOPLAN_URLEndpoint or connection string the server talks to.Yes
MCP_SERVER_PROJECT_URLEndpoint or connection string the server talks to.Yes

Example prompts to try

  • “Use MCP Chat With Claude to Parameters.”

Frequently asked questions

Two servers are provided: the TodoPlan MCP server (tools: `get-todo`, `get-plan`) and the Project MCP server (tool: `get-project-details`).