Skip to content

ragingwind/mcp-host-node-simple

Repository files navigation

MCP Simple Host

A simple host application for MCP that show how easy integration with generateText, experimental_createMCPClient of @ai-sdk. Currently, only tested for Anthropic LLM.

Environment

Before running the application, you need to set up the following environment variables.:

ANTHROPIC_API_KEY=your_api_key_here

Running the Application

  1. Install dependencies:
npm install
  1. Build & Start the application:
npm build && npm start

For development mode:

npm run dev

Configuration

The MCP server list can be configured through the mcp-server.json file. Example for simple MCP servers are listed at 'fixtures/servers'.

About

MCP Host App Simple Demo

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published