MCP server · Org-owned · Audited from source
Langchainjs MCP server
by langchain-ai/langchainjsMIT licenceAudited 12 Oct 2026 · source 6808c2632af1
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
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
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
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
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
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
"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
"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
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
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
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
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
Excerpt withheld: it is a secret, and we never print one.
- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMFilesystem / pathmcp.destructive_tools
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
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
gettysburg10.wav
- Why
- a compiled or binary member cannot be reviewed from source
- Fix
- ship source, or explain the binary in the README
LOWCode injectioncode.eval_exec · libs/langchain/src/agents/tests/returnDirectMiddleware.int.test.ts:64
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
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
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
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
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
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
// console.log(token);
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · dependency_range_tests/scripts/create-mock-tsconfigs.sh:51
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
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.
| Tool | What it does | Risk |
|---|---|---|
delete_file | Delete a file at the supplied path. | destructive |
delete_shape | Delete a shape by its name | destructive |
remove_todo | Remove an item from the thread TODO list | destructive |
add | No description in the source | write |
add_history | Add an entry to history | write |
add_numbers | Add two numbers together | write |
add_task | Add a task to the list | write |
add_todo | Add an item to the thread TODO list | write |
async_transfer_to_bob | Transfer to Bob | write |
createEvent | Create calendar event | write |
create_calendar_event | Create a calendar event. Requires exact ISO datetime format. | write |
create_document | Create a structured document | write |
create_event | Create calendar event | write |
create_order | Create an order | write |
create_task | Create a new project task and update the project state | write |
create_user | Create a user | write |
db_query | Run a read-only SQL query against the analytics database. | write |
github_create_issue | Create an issue in a GitHub repository | write |
gitlab_create_issue | Create an issue in a GitLab project | write |
lookup_order_status | Look up the current delivery status of a customer order by ID | write |
manage_email | Send 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 |
query | use this tool to generate and execute a query from a question using the index. | write |
GenerateUsername | Generate a username based on user characteristics | read |
GetPopulation | Get the current population in a given location | read |
GetWeather | Get the current weather in a given location | read |
GoogleSearch | Search for online trends, news, current events, real-time information, or research topics. | read |
Weather | Get the weather for a given location | read |
abortable_tool | A tool that can be aborted | read |
account | No description in the source | read |
account_info | Get account information for the current user | read |
admin_action | An admin-only action | read |
alpha1 | Alpha 1 | read |
analyze | Analyze text | read |
approve | No description in the source | read |
ask | No description in the source | read |
ask_question | Ask user a question and return directly | read |
audio_tool | No description in the source | read |
bedrock-tool | A Bedrock tool | read |
beta1 | Beta 1 | read |
beta2 | Beta 2 | read |
book_flight | Book commercial flights between cities | read |
calculate | Calculate the result of an operation | read |
calculate_power | Calculate base raised to the power of exponent | read |
calculate_price | Calculate pricing with discounts for product quotes | read |
calculate_sum | Another dynamically registered tool for calculations | read |
calculator | Perform simple calculations | read |
call_geo | Ask the geo sub-agent | read |
call_la | Ask the LA weather sub-agent | read |
call_nyc | Ask the NYC weather sub-agent | read |
call_sf | Ask the SF weather sub-agent | read |
call_weather | Ask the weather sub-agent | read |
capital_catalog | Get the capital of a country | read |
check_account | Check account information or perform account actions | read |
check_env | No description in the source | read |
check_headers | No description in the source | read |
check_inventory | Check current inventory levels for a product | read |
check_refund_policy | Get current refund policy information | read |
check_system_status | Check the status of system services | read |
classify | Classify text into categories | read |
commandTool | A tool that returns a Command object | read |
command_tool | A tool that can return commands | read |
complex_tool | A tool with complex schema | read |
config_capture_tool | Captures the config for testing | read |
configure | Configure something | read |
confirm | No description in the source | read |
crash_tool | This tool will crash Gemini SDK | read |
current_weather_tool | Get the current weather for a given location. | read |
custom_crawl | Custom description | read |
custom_extract | Custom description | read |
custom_get_research | Custom description | read |
custom_map | Custom description | read |
custom_research | Custom description | read |
custom_search | Custom description | read |
custom_tool | A custom tool | read |
deferred_tool | A tool deferred at construction time | read |
delegate_to_subagent | Delegate analysis/planning to a sub-agent with access to the full thread messages | read |
director | The director of the movie | read |
disconnect | No description in the source | read |
divide | No description in the source | read |
do_math | Evaluate a math expression | read |
draft_email | Drafts an email | read |
dummy | A dummy tool | read |
dummy_tool | A dummy tool for testing | read |
dup | Gamma dup 1 | read |
dynamic_tool | A dynamically registered tool | read |
echo | No description in the source | read |
emailUser | Email a user | read |
error_tool | A tool that throws an error | read |
escalate_to_human | Escalate the conversation to a human agent | read |
expensive_operation | An expensive operation | read |
extract-1 | Tool for extracting structured output from the model | read |
extract-2 | Second extract tool | read |
extractor | Extracts fields from the input. | read |
failing_tool | A tool that always fails | read |
fake | fake | read |
fake_browser_tool | useful for when you need to find something on the web or summarize a webpage. | read |
faketesttool | A fake test tool | read |
fetchUser | Fetch a user | read |
flaky_tool | A flaky tool that fails twice | read |
fraction | No description in the source | read |
generate_random_joke | Generate a random joke. | read |
genre | The genre of the movie | read |
getEmployee | Get the employee role by name | read |
getEmployeeDepartment | Get the employee department by name | read |
getNews | Get the latest news on a topic | read |
getWeather | Get the current weather for a location | read |
get_account_info | Get the authenticated user | read |
get_available_time_slots | Check calendar availability for given attendees on a specific date. | read |
get_current_time | Get the current time in a given location | read |
get_current_weather | Get the current weather in a given location | read |
get_customer | Look up a customer by ID. | read |
get_detail_by_name | Get details about a shape by its name | read |
get_ip | Get server IP address | read |
get_nullish_weather | Get the weather of a specific location and return the temperature in Celsius. | read |
get_output | Get output for user | read |
get_page | Get a specific Notion page by ID. | read |
get_person_details | Get details about a person | read |
get_population | Get the population of a city | read |
get_private_data | Get private data | read |
get_procedural_memory | Get user | read |
get_public_data | Get public data | read |
get_screenshot | Get a screenshot of the current screen. | read |
get_stock_price | Get the current stock price for a given symbol | read |
get_thread | Get a specific Slack thread. | read |
get_time | Get the current time in a timezone. | read |
get_user_info | Look up user info. | read |
get_user_purchases | Get the authenticated user | read |
get_video_captions | Get captions for a video. | read |
get_weather | Get current weather information for a location | read |
get_weather_ant | Get the weather of a specific location. | read |
get_weather_lc | Get the weather of a specific location. | read |
get_weather_oai | Get the weather of a specific location. | read |
greet | Greet someone | read |
greetUser | Greet a user | read |
greet_tool | Greets a person | read |
http_400_tool | Tool that raises 400 error | read |
http_500_tool | Tool that raises 500 error | read |
image_tool | No description in the source | read |
information_extraction | Extracts the relevant information from the passage. | read |
inner_interrupt | Inner tool that interrupts | read |
inspect | No description in the source | read |
interrupt_tool | Tool that interrupts | read |
invalid_composition_tool | This tool has an unsupported root schema composition. | read |
invalid_header | No description in the source | read |
invalid_tool | Uses unsupported root composition. | read |
inventory_management | Database schema and business logic for inventory tracking including products, warehouses, and stock levels. | read |
isReleased | Whether the movie has been released | read |
joke | A joke | read |
jsonSchemaTool | A tool with JSON schema | read |
knowledge_retrieval | Retrieve relevant information from long-term memory based on user query and preferences | read |
langchain-1 | First LangChain tool | read |
langchain-2 | Second LangChain tool | read |
legacy_result | No description in the source | read |
length | The length of the movie in minutes | read |
list_files | List the available files in the project. | read |
list_items | List available items | read |
load_skill | Load the full content of a skill into the agent | read |
local_weather | Get current weather and short-term forecast for a city | read |
lookup_visa_requirements | Check visa requirements and documentation by destination country | read |
magic_function | Applies a magic function to an input. | read |
mcpLikeTool | Tool similar to MCP tools | read |
metadata_capture_tool | Captures the metadata for testing | read |
middleware_tool | Tool from middleware | read |
minus | Subtracts two numbers | read |
modern_echo | No description in the source | read |
multiply | No description in the source | read |
mySpecificTool | A tool with a specific name | read |
my_tool | A custom tool | read |
name_generator | Generates a random name | read |
network_tool | Tool that raises NetworkError | read |
normalTool | A normal tool that returns a string | read |
normal_tool | A normal tool without returnDirect | read |
ok_tool | a tool | read |
open-ai-product-endpoint | Open AI Product Endpoint. Query for products. | read |
openai-1 | First OpenAI tool | read |
openai-2 | Second OpenAI tool | read |
outputFormatter | Output formatter. Should always be used to format your response to the user | read |
output_formatter | Should always be used to properly format output | read |
parameterless | A tool that does nothing | read |
person | A person | read |
pet_info_retriever | Get information about pets. | read |
pollJob | Check the status of a long-running job. Returns { status: | read |
predictNextUserMessage | Predicts the next user message, along with insights. | read |
predictionViolations | Generates violations, errors and differences between the predicted user response, and the actual response. | read |
preference_learning | Learn and store user preferences or context in long-term memory | read |
process_payment | Process a payment | read |
progress | No description in the source | read |
project_overview | Get a comprehensive overview of the current project state | read |
provide_solution | Provide a solution to the customer | read |
query_data | Query tool that returns nested response | read |
random_tool_call | A tool that returns a random result | read |
rating | The rating of the movie (1-10) | read |
raw | No description in the source | read |
read_document_pages | Read pages of a document. | read |
read_file | Read a file by exact name (see list_files for options). | read |
recommend_products | Provide personalized product recommendations based on stored customer preferences | read |
record_issue_type | Record the type of issue and transition to resolution specialist. | read |
record_market_insight | Record market insights and trends for future reference and pattern analysis | read |
record_warranty_status | Record the customer | read |
regularTool | A regular tool | read |
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
- ✕BLOCK F 39 / 100
First audit ·
6808c2632af1
README badge
Badges show the current verdict, BLOCK included
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?
What tools does Langchainjs expose?
Is Langchainjs safe to connect to an agent?
What credentials does Langchainjs need?
How does Langchainjs run?
How current is this page?
I already installed Langchainjs. What should I do?
Can the verdict change?
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.
- What is the Langchainjs MCP server?
- What tools does Langchainjs expose?
- Is Langchainjs safe to connect to an agent?