stereoboy
MCP Serverstereoboypublic

mcp_tools

包含多种平台和技术的MCP(机器对话协议)实现示例。

Repository Info

0
Stars
0
Forks
0
Watchers
0
Issues
TypeScript
Language
MIT License
License

About This Server

包含多种平台和技术的MCP(机器对话协议)实现示例。

Model Context Protocol (MCP) - This server can be integrated with AI applications to provide additional context and capabilities, enabling enhanced AI interactions and functionality.

Documentation

MCP Protocol Examples

This repository contains various examples of implementing the MCP (Machine Conversation Protocol) across different platforms and technologies.

Examples

1. LangChain Web Chat (JavaScript)

A web-based implementation using React, LangChain.js, and OpenAI's GPT-3.5 model. This example provides a simple chat interface for interacting with the AI model.

Location: langchain-web/

Features

  • Real-time chat interface
  • Integration with OpenAI's GPT-3.5 model via LangChain
  • Responsive design
  • Error handling and loading states

See langchain-web/README.md for setup and usage instructions.


2. OpenAI Web Chat with Tools (TypeScript)

A web-based implementation using React, TypeScript, and OpenAI's GPT API. This example demonstrates how to integrate OpenAI's function calling (tools) with a simulated manufacturing system.

Location: openai-web-ts/

Features

  • Modern React + TypeScript + Vite setup
  • OpenAI GPT-3.5/4 API integration
  • OpenAI function calling (tools) support
  • Three example tools: Rover, Picking Machine, Processing Machine
  • Tools return static responses for demonstration
  • Clean chat interface

Tools Overview

  • Rover: Simulates a mobile robot in a manufacturing system
  • Picking Machine: Simulates a machine that loads packages
  • Processing Machine: Simulates a machine that processes packages

How Function Calling Works

  • The chat UI sends user messages to OpenAI with the tool schemas
  • If the AI decides to call a tool, the app invokes the corresponding function and displays the result in the chat
  • Tools currently return static strings, but can be expanded to simulate real logic

See openai-web-ts/README.md for setup and usage instructions.


Project Structure

Each example is contained in its own directory with the following structure:

  • src/ - Source code
  • public/ - Static assets (if needed)
  • package.json - Dependencies and scripts
  • README.md - Example-specific documentation

Getting Started

Each example directory contains its own setup instructions. Please refer to the specific example's README.md for detailed setup and usage instructions.

Quick Start

1

Clone the repository

git clone https://github.com/stereoboy/mcp_tools
2

Install dependencies

cd mcp_tools
npm install
3

Follow the documentation

Check the repository's README.md file for specific installation and usage instructions.

Repository Details

Ownerstereoboy
Repomcp_tools
LanguageTypeScript
LicenseMIT License
Last fetched8/10/2025

Recommended MCP Servers

💬

Discord MCP

Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.

integrationsdiscordchat
🔗

Knit MCP

Connect AI agents to 200+ SaaS applications and automate workflows.

integrationsautomationsaas
🕷️

Apify MCP Server

Deploy and interact with Apify actors for web scraping and data extraction.

apifycrawlerdata
🌐

BrowserStack MCP

BrowserStack MCP Server for automated testing across multiple browsers.

testingqabrowsers

Zapier MCP

A Zapier server that provides automation capabilities for various apps.

zapierautomation