1. Conduid
  2. AI
  3. Langchain MCP Tools Ts Usage
MCP server · AI

Langchain MCP Tools Ts Usage

MCP Tools Usage From LangChain ReAct Agent / Example in TypeScript

61Good

Scored 2 days ago · breakdown

About Langchain MCP Tools Ts Usage

Langchain MCP Tools Ts Usage is an MCP server published by hideya in the AI category: mCP Tools Usage From LangChain ReAct Agent / Example in TypeScript.

The repository has 12 stars and 4 forks, with the last commit 6 months ago. Six months or more without a commit doesn't mean the server is broken, but check the open issues before depending on it in production.

Install

From source
git clone https://github.com/hideya/langchain-mcp-tools-ts-usage

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Ask AI

✦

Ask AI about Langchain MCP Tools Ts Usage

Powered by Claude · Grounded in docs

I know everything about Langchain MCP Tools Ts Usage. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

Static checks derived from the repository 2 days ago. Heuristics on the source, not an audit.

  • ✓README presentThe repository ships documentation.
  • ✓License declaredUsable under a stated license.
  • !Tests presentNo tests found. Behaviour changes may go unnoticed between versions.
  • ✓Dependencies pinnedA lockfile pins dependency versions.
  • ✓No dynamic code executionSource scan found no eval, dynamic Function, or shell execution.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

README

MCP Tools Usage From LangChain / Example in TypeScript

This simple Model Context Protocol (MCP) client demonstrates the use of MCP server tools by LangChain ReAct Agent.

It leverages a utility function convertMcpToLangchainTools() from @h1deya/langchain-mcp-tools.
This function handles parallel initialization of specified multiple MCP servers and converts their available tools into an array of LangChain-compatible tools (StructuredTool[]). It also performs LLM provider-specific schema transformations to prevent schema compatibility issues

OpenAI's gpt-5.4-mini is used as the LLM. For convenience, code for OpenAI's and Anthropic's LLMs are also included and commented out.

A bit more realistic (conversational) MCP Client is available here

A python equivalent of this app is available here

Prerequisites

  • Node.js 18+
  • npm 8+ (npx) to run Node.js-based MCP servers
  • [optional] npm 7+ (npx) to run Node.js package-based local MCP servers
  • [optional] uv (uvx) installed to run Python-based MCP servers
  • LLM API keys from OpenAI, Anthropic, Google GenAI, and/or xAI as needed

Usage

  1. Install dependencies:

    npm install
    
  2. Setup API key:

    cp .env.template .env
    
    • Update .env as needed.
    • .gitignore is configured to ignore .env to prevent accidental commits of the credentials.
  3. Run the app:

    npm start
    

License

MIT

README fetched from the repository 2 days ago. The original is authoritative.

Questions

About Langchain MCP Tools Ts Usage

How do I install Langchain MCP Tools Ts Usage?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Langchain MCP Tools Ts Usage safe to use with an AI agent?

Its trust score is 61 out of 100 (good). It passes 4 of the 6 static security checks run so far; the failures are listed above. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Langchain MCP Tools Ts Usage still maintained?

The last commit was 6 months ago and 1 open issues. That's long enough that you should check whether the maintainer is responding to issues before depending on it.