Live survey315 models · 14 providers · 23,592 auditsAudited implement · SAFE →What changedHow we verifyllms.txt

MCP server · Org-owned · Audited from source

Langchainjs MCP server

by langchain-ai/langchainjsMIT licenceAudited 12 Oct 2026 · source 6808c2632af1

npm langchainjsssestdiostreamable-http★ 18,258
✕BLOCKGrade F · 39/100 · 12 Oct 2026 · 6808c26

Is it safe? No — BLOCK, grade F (39/100). It exposes 285 tools: 254 read, 28 write and 3 destructive. The audit recorded 62 findings (2 critical, 3 high, 6 medium, 46 low). Maintainer's description: The agent engineering platform

Ask an AI about this pageGChatGPTCClaudePPerplexityGeGeminiXGrok
More
Cite

Cite this page

ModelsAtlas. “Langchainjs MCP server (langchain-ai/langchainjs)”. Retrieved 12 Oct 2026. https://modelsatlas.com/mcp/langchain-ai/langchainjs

Why this is BLOCK. The audit found 2 critical and 3 high findings; the most severe is Hard-coded secrets at libs/providers/langchain-google/src/clients/index.ts:141. Each finding is listed below with its file and line.

Why this page is still public. People search for this server by name. Hiding it would leave them with the README's word alone; here they see what the code does. We list it so you can decide, and we do not show connect commands for BLOCK servers.

Trust audit

Audit 0.4.1 · full source read 12 Oct 2026

Trust score39/100✕BLOCK F
2 critical3 high6 medium46 low5 info

62 findings, listed below with the file and line each was found on. Grade A needs a sandboxed behavioural run too; this audit read the source only.

What the source does

  • FilesystemDeclared9 observations
  • NetworkDeclared3 observations
  • ShellDeclared6 observations
  • DependenciesNot pinnedSome ranges float
  • SecretsFoundSee the findings

Findings (62)

Sorted by severity · the 25 most severe of 62 are listed

CRITICALHard-coded secretssecret.private_key · libs/providers/langchain-google/src/clients/index.ts:141
F-03 Hard-coded secretsCWE-798 · CWE-321Layer L1

Excerpt withheld: it is a secret, and we never print one.

Why
No further detail recorded for this rule.
Fix
—
CRITICALHard-coded secretssecret.private_key · libs/providers/langchain-google/src/clients/node.ts:112
F-03 Hard-coded secretsCWE-798 · CWE-321Layer L1

Excerpt withheld: it is a secret, and we never print one.

Why
No further detail recorded for this rule.
Fix
—
HIGHCode injectioncode.deserialize · libs/langchain-classic/src/util/openapi.ts:240
F-02 Code injectionCWE-78 · CWE-94 · CWE-95Layer L1
document = yaml.load(rawString);
Why
deserialises untrusted bytes into live objects
Fix
use json or yaml.safe_load
HIGHNetwork egressnet.metadata_ip · libs/langchain-core/src/utils/ssrf.ts:17
F-04 Network egressCWE-200 · CWE-319Layer L1
"169.254.169.254",
Why
cloud metadata endpoint: the classic SSRF credential grab
Fix
—
HIGHNetwork egressnet.metadata_ip · libs/langchain-core/src/utils/ssrf.ts:24
F-04 Network egressCWE-200 · CWE-319Layer L1
"metadata.google.internal",
Why
cloud metadata endpoint: the classic SSRF credential grab
Fix
—
MEDIUMInformation disclosuredisclose.log_secret · environment_tests/test-exports-vercel/src/pages/index.tsx:24
F-12 Information disclosureCWE-209 · CWE-532Layer L1
console.log("handleLLMNewToken", token),
Why
No further detail recorded for this rule.
Fix
—
MEDIUMHard-coded secretssecret.generic · libs/langchain-core/src/runnables/tests/config.test.ts:78
F-03 Hard-coded secretsCWE-798 · CWE-321Layer L1

Excerpt withheld: it is a secret, and we never print one.

Why
No further detail recorded for this rule.
Fix
—
MEDIUMHard-coded secretssecret.generic · libs/langchain-core/src/runnables/tests/config.test.ts:105
F-03 Hard-coded secretsCWE-798 · CWE-321Layer L1

Excerpt withheld: it is a secret, and we never print one.

Why
No further detail recorded for this rule.
Fix
—
MEDIUMHard-coded secretssecret.generic · libs/langchain-core/src/runnables/tests/runnable_stream_events_v2.test.ts:102
F-03 Hard-coded secretsCWE-798 · CWE-321Layer L1

Excerpt withheld: it is a secret, and we never print one.

Why
No further detail recorded for this rule.
Fix
—
MEDIUMHard-coded secretssecret.generic · libs/providers/langchain-typesafe/src/tests/classifier.test.ts:523
F-03 Hard-coded secretsCWE-798 · CWE-321Layer L1

Excerpt withheld: it is a secret, and we never print one.

Why
No further detail recorded for this rule.
Fix
—
MEDIUMFilesystem / pathmcp.destructive_tools
F-05 Filesystem / pathCWE-22 · CWE-59Layer L3
delete_file, delete_shape, remove_todo
Why
3 tool(s) can delete or overwrite
Fix
prefer a read-only mode or scoped tokens; the page states the blast radius
LOWInventory / provenanceinv.binary · libs/providers/langchain-google-genai/src/tests/data/gettysburg10.wav
F-13 Inventory / provenanceCWE-1104Layer L0
gettysburg10.wav
Why
a compiled or binary member cannot be reviewed from source
Fix
ship source, or explain the binary in the README
LOWInventory / provenanceinv.binary · libs/providers/langchain-google/src/chat_models/tests/data/gettysburg10.wav
F-13 Inventory / provenanceCWE-1104Layer L0
gettysburg10.wav
Why
a compiled or binary member cannot be reviewed from source
Fix
ship source, or explain the binary in the README
LOWInventory / provenanceinv.hidden_file · .oxfmtrc.jsonc
F-13 Inventory / provenanceCWE-1104Layer L0
.oxfmtrc.jsonc
Why
hidden member outside the usual dotfiles
Fix
review its purpose
LOWInventory / provenanceinv.hidden_file · .oxlintrc.jsonc
F-13 Inventory / provenanceCWE-1104Layer L0
.oxlintrc.jsonc
Why
hidden member outside the usual dotfiles
Fix
review its purpose
LOWInventory / provenanceinv.hidden_file · .pnpmrc
F-13 Inventory / provenanceCWE-1104Layer L0
.pnpmrc
Why
hidden member outside the usual dotfiles
Fix
review its purpose
LOWInventory / provenanceinv.hidden_file · libs/create-langchain-integration/template/.release-it.json
F-13 Inventory / provenanceCWE-1104Layer L0
.release-it.json
Why
hidden member outside the usual dotfiles
Fix
review its purpose
LOWCode injectioncode.eval_exec · libs/langchain/src/agents/tests/returnDirectMiddleware.int.test.ts:64
F-02 Code injectionCWE-78 · CWE-94 · CWE-95Layer L1
const result = eval(input.expression);
Why
evaluates text as code
Fix
remove; use a parser or a dispatch table
LOWCode injectioncode.eval_exec · libs/providers/langchain-google/src/chat_models/tests/index.int.test.ts:372
F-02 Code injectionCWE-78 · CWE-94 · CWE-95Layer L1
exec(`afplay "${filePath}"`);
Why
evaluates text as code
Fix
remove; use a parser or a dispatch table
LOWCode injectioncode.eval_exec · libs/providers/langchain-google/src/chat_models/tests/index.int.test.ts:374
F-02 Code injectionCWE-78 · CWE-94 · CWE-95Layer L1
exec(`open "${filePath}"`);
Why
evaluates text as code
Fix
remove; use a parser or a dispatch table
LOWInformation disclosuredisclose.log_secret · examples/src/langchain-classic/chains/summarization_separate_output_llm.ts:17
F-12 Information disclosureCWE-209 · CWE-532Layer L1
console.log("token", token);
Why
No further detail recorded for this rule.
Fix
—
LOWInformation disclosuredisclose.log_secret · examples/src/langchain-classic/models/chat/chat_streaming.ts:14
F-12 Information disclosureCWE-209 · CWE-532Layer L1
console.log({ token });
Why
No further detail recorded for this rule.
Fix
—
LOWInformation disclosuredisclose.log_secret · examples/src/langchain-classic/models/llm/llm_streaming.ts:14
F-12 Information disclosureCWE-209 · CWE-532Layer L1
console.log({ token });
Why
No further detail recorded for this rule.
Fix
—
LOWInformation disclosuredisclose.log_secret · libs/providers/langchain-cloudflare/src/tests/llms.int.test.ts:31
F-12 Information disclosureCWE-209 · CWE-532Layer L1
// console.log(token);
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · dependency_range_tests/scripts/create-mock-tsconfigs.sh:51
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
package_extends_path="../../../internal/tsconfig/base.json"
Why
No further detail recorded for this rule.
Fix
—

Tools it exposes

285 declared in source · 3 destructive

254 read28 write3 destructive

3 tools can delete or overwrite. An agent that can be talked into calling a tool can be talked into calling this one, so give it a token scoped to what you need.

ToolWhat it doesRisk
delete_fileDelete a file at the supplied path.destructive
delete_shapeDelete a shape by its namedestructive
remove_todoRemove an item from the thread TODO listdestructive
addNo description in the sourcewrite
add_historyAdd an entry to historywrite
add_numbersAdd two numbers togetherwrite
add_taskAdd a task to the listwrite
add_todoAdd an item to the thread TODO listwrite
async_transfer_to_bobTransfer to Bobwrite
createEventCreate calendar eventwrite
create_calendar_eventCreate a calendar event. Requires exact ISO datetime format.write
create_documentCreate a structured documentwrite
create_eventCreate calendar eventwrite
create_orderCreate an orderwrite
create_taskCreate a new project task and update the project statewrite
create_userCreate a userwrite
db_queryRun a read-only SQL query against the analytics database.write
github_create_issueCreate an issue in a GitHub repositorywrite
gitlab_create_issueCreate an issue in a GitLab projectwrite
lookup_order_statusLook up the current delivery status of a customer order by IDwrite
manage_emailSend emails using natural language. Use this when the user wants to send notifications, reminders, or any email communication. Handles recipient extraction, subject generation, and email composition. Input: Natural language email request (e.g.,write
queryuse this tool to generate and execute a query from a question using the index.write
GenerateUsernameGenerate a username based on user characteristicsread
GetPopulationGet the current population in a given locationread
GetWeatherGet the current weather in a given locationread
GoogleSearchSearch for online trends, news, current events, real-time information, or research topics.read
WeatherGet the weather for a given locationread
abortable_toolA tool that can be abortedread
accountNo description in the sourceread
account_infoGet account information for the current userread
admin_actionAn admin-only actionread
alpha1Alpha 1read
analyzeAnalyze textread
approveNo description in the sourceread
askNo description in the sourceread
ask_questionAsk user a question and return directlyread
audio_toolNo description in the sourceread
bedrock-toolA Bedrock toolread
beta1Beta 1read
beta2Beta 2read
book_flightBook commercial flights between citiesread
calculateCalculate the result of an operationread
calculate_powerCalculate base raised to the power of exponentread
calculate_priceCalculate pricing with discounts for product quotesread
calculate_sumAnother dynamically registered tool for calculationsread
calculatorPerform simple calculationsread
call_geoAsk the geo sub-agentread
call_laAsk the LA weather sub-agentread
call_nycAsk the NYC weather sub-agentread
call_sfAsk the SF weather sub-agentread
call_weatherAsk the weather sub-agentread
capital_catalogGet the capital of a countryread
check_accountCheck account information or perform account actionsread
check_envNo description in the sourceread
check_headersNo description in the sourceread
check_inventoryCheck current inventory levels for a productread
check_refund_policyGet current refund policy informationread
check_system_statusCheck the status of system servicesread
classifyClassify text into categoriesread
commandToolA tool that returns a Command objectread
command_toolA tool that can return commandsread
complex_toolA tool with complex schemaread
config_capture_toolCaptures the config for testingread
configureConfigure somethingread
confirmNo description in the sourceread
crash_toolThis tool will crash Gemini SDKread
current_weather_toolGet the current weather for a given location.read
custom_crawlCustom descriptionread
custom_extractCustom descriptionread
custom_get_researchCustom descriptionread
custom_mapCustom descriptionread
custom_researchCustom descriptionread
custom_searchCustom descriptionread
custom_toolA custom toolread
deferred_toolA tool deferred at construction timeread
delegate_to_subagentDelegate analysis/planning to a sub-agent with access to the full thread messagesread
directorThe director of the movieread
disconnectNo description in the sourceread
divideNo description in the sourceread
do_mathEvaluate a math expressionread
draft_emailDrafts an emailread
dummyA dummy toolread
dummy_toolA dummy tool for testingread
dupGamma dup 1read
dynamic_toolA dynamically registered toolread
echoNo description in the sourceread
emailUserEmail a userread
error_toolA tool that throws an errorread
escalate_to_humanEscalate the conversation to a human agentread
expensive_operationAn expensive operationread
extract-1Tool for extracting structured output from the modelread
extract-2Second extract toolread
extractorExtracts fields from the input.read
failing_toolA tool that always failsread
fakefakeread
fake_browser_tooluseful for when you need to find something on the web or summarize a webpage.read
faketesttoolA fake test toolread
fetchUserFetch a userread
flaky_toolA flaky tool that fails twiceread
fractionNo description in the sourceread
generate_random_jokeGenerate a random joke.read
genreThe genre of the movieread
getEmployeeGet the employee role by nameread
getEmployeeDepartmentGet the employee department by nameread
getNewsGet the latest news on a topicread
getWeatherGet the current weather for a locationread
get_account_infoGet the authenticated userread
get_available_time_slotsCheck calendar availability for given attendees on a specific date.read
get_current_timeGet the current time in a given locationread
get_current_weatherGet the current weather in a given locationread
get_customerLook up a customer by ID.read
get_detail_by_nameGet details about a shape by its nameread
get_ipGet server IP addressread
get_nullish_weatherGet the weather of a specific location and return the temperature in Celsius.read
get_outputGet output for userread
get_pageGet a specific Notion page by ID.read
get_person_detailsGet details about a personread
get_populationGet the population of a cityread
get_private_dataGet private dataread
get_procedural_memoryGet userread
get_public_dataGet public dataread
get_screenshotGet a screenshot of the current screen.read
get_stock_priceGet the current stock price for a given symbolread
get_threadGet a specific Slack thread.read
get_timeGet the current time in a timezone.read
get_user_infoLook up user info.read
get_user_purchasesGet the authenticated userread
get_video_captionsGet captions for a video.read
get_weatherGet current weather information for a locationread
get_weather_antGet the weather of a specific location.read
get_weather_lcGet the weather of a specific location.read
get_weather_oaiGet the weather of a specific location.read
greetGreet someoneread
greetUserGreet a userread
greet_toolGreets a personread
http_400_toolTool that raises 400 errorread
http_500_toolTool that raises 500 errorread
image_toolNo description in the sourceread
information_extractionExtracts the relevant information from the passage.read
inner_interruptInner tool that interruptsread
inspectNo description in the sourceread
interrupt_toolTool that interruptsread
invalid_composition_toolThis tool has an unsupported root schema composition.read
invalid_headerNo description in the sourceread
invalid_toolUses unsupported root composition.read
inventory_managementDatabase schema and business logic for inventory tracking including products, warehouses, and stock levels.read
isReleasedWhether the movie has been releasedread
jokeA jokeread
jsonSchemaToolA tool with JSON schemaread
knowledge_retrievalRetrieve relevant information from long-term memory based on user query and preferencesread
langchain-1First LangChain toolread
langchain-2Second LangChain toolread
legacy_resultNo description in the sourceread
lengthThe length of the movie in minutesread
list_filesList the available files in the project.read
list_itemsList available itemsread
load_skillLoad the full content of a skill into the agentread
local_weatherGet current weather and short-term forecast for a cityread
lookup_visa_requirementsCheck visa requirements and documentation by destination countryread
magic_functionApplies a magic function to an input.read
mcpLikeToolTool similar to MCP toolsread
metadata_capture_toolCaptures the metadata for testingread
middleware_toolTool from middlewareread
minusSubtracts two numbersread
modern_echoNo description in the sourceread
multiplyNo description in the sourceread
mySpecificToolA tool with a specific nameread
my_toolA custom toolread
name_generatorGenerates a random nameread
network_toolTool that raises NetworkErrorread
normalToolA normal tool that returns a stringread
normal_toolA normal tool without returnDirectread
ok_toola toolread
open-ai-product-endpointOpen AI Product Endpoint. Query for products.read
openai-1First OpenAI toolread
openai-2Second OpenAI toolread
outputFormatterOutput formatter. Should always be used to format your response to the userread
output_formatterShould always be used to properly format outputread
parameterlessA tool that does nothingread
personA personread
pet_info_retrieverGet information about pets.read
pollJobCheck the status of a long-running job. Returns { status:read
predictNextUserMessagePredicts the next user message, along with insights.read
predictionViolationsGenerates violations, errors and differences between the predicted user response, and the actual response.read
preference_learningLearn and store user preferences or context in long-term memoryread
process_paymentProcess a paymentread
progressNo description in the sourceread
project_overviewGet a comprehensive overview of the current project stateread
provide_solutionProvide a solution to the customerread
query_dataQuery tool that returns nested responseread
random_tool_callA tool that returns a random resultread
ratingThe rating of the movie (1-10)read
rawNo description in the sourceread
read_document_pagesRead pages of a document.read
read_fileRead a file by exact name (see list_files for options).read
recommend_productsProvide personalized product recommendations based on stored customer preferencesread
record_issue_typeRecord the type of issue and transition to resolution specialist.read
record_market_insightRecord market insights and trends for future reference and pattern analysisread
record_warranty_statusRecord the customerread
regularToolA regular toolread
200 of 285 tools listed; the bar and the counts include all of them.

Safer alternatives

We could not match this server to a job, so we cannot suggest a like-for-like alternative. Read-only servers are the least-privilege place to start.

Audit history

  1. ✕BLOCK F 39 / 100

    First audit · 6808c2632af1

README badge

Badges show the current verdict, BLOCK included

ModelsAtlas: BLOCK FMODELSATLASBLOCK · F

A badge cannot be hidden by the maintainer while the verdict is BLOCK. Fix the findings, push, and the re-audit updates it.

Questions about Langchainjs MCP server

What is the Langchainjs MCP server?
The agent engineering platform
What tools does Langchainjs expose?
200 in total: 254 read-only, 28 that write, and 3 that can delete or overwrite (delete_file, delete_shape, remove_todo). Every one is listed on this page with its risk.
Is Langchainjs safe to connect to an agent?
No — not without reading the findings first. The audit graded it F (39/100) and found 5 critical or high issues in the source. Each one is listed on this page with the file and line it is on. Separately from the audit: 3 of its tools can destroy data, so scope the token you give it to what you actually need.
What credentials does Langchainjs need?
It reads ANTHROPIC_API_KEY, AWS_ACCESS_KEY_ID, AWS_BEARER_TOKEN_BEDROCK, AWS_SECRET_ACCESS_KEY, AWS_SESSION_TOKEN, AZURE_OPENAI_API_KEY, BEDROCK_AWS_ACCESS_KEY_ID, BEDROCK_AWS_SECRET_ACCESS_KEY, BEDROCK_AWS_SESSION_TOKEN, CLOUDFLARE_API_TOKEN, COHERE_API_KEY and DEEPSEEK_API_KEY from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.
How does Langchainjs run?
It speaks sse, stdio and streamable-http, so it runs as a local process your client starts. It is published on npm as langchainjs.
How current is this page?
The grade is for one exact copy of the source (6808c2632af1), read on 2026-10-12. The repository is watched and re-audited when it changes.
I already installed Langchainjs. What should I do?
Remove it from your client's MCP configuration, then rotate any API keys and tokens that were in your environment while it ran.
Can the verdict change?
Yes. The repository is watched and re-audited when its source changes. If the findings are removed the verdict updates, and the history on this page shows it.

Sources

  • langchain-ai/langchainjs on GitHub — the source we read, its licence, stars and activityObserved · 12 Oct 2026
  • ModelsAtlas trust audit — BLOCK verdict for commit 6808c2632af1Observed · 12 Oct 2026

Spotted something wrong? Report a correction · Methodology

Keep going in your AI

Opens with this page as the source. We add nothing else to the prompt.