[PR #4150] docs(integrations): add e2a tools integration #4147

Open
opened 2026-06-05 19:12:55 -04:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langchain-ai/docs/pull/4150
Author: @jiashuoz
Created: 5/24/2026
Status: 🔄 Open

Base: mainHead: feat/e2a-tools-integration


📝 Commits (3)

  • 67d4f89 docs(integrations): add e2a tools integration
  • 4f8465b docs(integrations): fix e2a pricing description (flat-rate, not pay-as-you-go)
  • c0e09be Merge branch 'main' into feat/e2a-tools-integration

📊 Changes

2 files changed (+210 additions, -0 deletions)

View changed files

src/oss/python/integrations/tools/e2a.mdx (+208 -0)
📝 src/oss/python/integrations/tools/index.mdx (+2 -0)

📄 Description

What

Adds a new tools integration page for e2a, an authenticated email gateway for AI agents, to src/oss/python/integrations/tools/e2a.mdx, plus the corresponding entries in index.mdx (Productivity table + alphabetical Cards grid).

e2a is exposed to LangChain via @e2a/mcp-server using langchain-mcp-adapters. The doc shows both transports:

  • Local stdionpx -y @e2a/mcp-server as a child process (laptop dev).
  • Hosted Streamable HTTPhttps://mcp.e2a.dev/mcp with a Bearer header (serverless deployments).

Why

Developers building agent email workflows need an authenticated, per-agent inbox with SPF/DKIM verification and human-in-the-loop approval. Listing e2a in the LangChain integration index makes it discoverable alongside Gmail Toolkit and AgentPhone in the Productivity category.

Same shape and tone as the existing entries we modeled on — agentphone.mdx, composio.mdx, mcp_toolbox.mdx, discord.mdx. We followed the same pattern for google/adk-docs#1793 (merged), which is the equivalent integration page on the Google ADK docs site.

Verification

The two code blocks in the page are byte-identical (modulo the leading module docstring) to the runnable examples in our repo at Mnexa-AI/e2a/mcp/examples/langchain/:

  • agent.py → "e2a over stdio" block
  • agent_hosted.py → "e2a over hosted endpoint" block

To verify locally:

pip install -U langchain-mcp-adapters langgraph "langchain[anthropic]"
export E2A_API_KEY=e2a_...        # https://e2a.dev to obtain
export ANTHROPIC_API_KEY=sk-ant-...

# stdio (requires Node 18+)
python agent.py "what's in my inbox?"

# hosted (no Node required)
python agent_hosted.py "what's in my inbox?"

The 18-tool count in the "Available tools" table matches the assertion in our test suite at mcp/tests/http.test.ts (lines 193–217) and the tool registry at mcp/src/tools.ts in Mnexa-AI/e2a.

The streamable_http transport key was cross-checked against langchain-mcp-adapters/langchain_mcp_adapters/sessions.py (line 168: transport: Literal["streamable_http"]).

Notes for maintainer

  • CLA: this PR is authored as Josh Zhang <josh@mnexa.ai>, matching the signed CLA on file.
  • New file follows the same frontmatter shape as neighboring entries (title + description, no other fields used by current pages in this directory).
  • index.mdx changes are additive: one row in the Productivity table, one card in the alphabetical grid between Drasi and Exa Search.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/langchain-ai/docs/pull/4150 **Author:** [@jiashuoz](https://github.com/jiashuoz) **Created:** 5/24/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `feat/e2a-tools-integration` --- ### 📝 Commits (3) - [`67d4f89`](https://github.com/langchain-ai/docs/commit/67d4f899b1f3f711be2d16670a7e811220431a05) docs(integrations): add e2a tools integration - [`4f8465b`](https://github.com/langchain-ai/docs/commit/4f8465ba3205435d2664d6e36a2fea72664bcf4f) docs(integrations): fix e2a pricing description (flat-rate, not pay-as-you-go) - [`c0e09be`](https://github.com/langchain-ai/docs/commit/c0e09be75092453da045f81fa87a9ae4f5dee532) Merge branch 'main' into feat/e2a-tools-integration ### 📊 Changes **2 files changed** (+210 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `src/oss/python/integrations/tools/e2a.mdx` (+208 -0) 📝 `src/oss/python/integrations/tools/index.mdx` (+2 -0) </details> ### 📄 Description ## What Adds a new tools integration page for [e2a](https://e2a.dev), an authenticated email gateway for AI agents, to `src/oss/python/integrations/tools/e2a.mdx`, plus the corresponding entries in `index.mdx` (Productivity table + alphabetical Cards grid). e2a is exposed to LangChain via [`@e2a/mcp-server`](https://www.npmjs.com/package/@e2a/mcp-server) using `langchain-mcp-adapters`. The doc shows both transports: - **Local stdio** — `npx -y @e2a/mcp-server` as a child process (laptop dev). - **Hosted Streamable HTTP** — `https://mcp.e2a.dev/mcp` with a Bearer header (serverless deployments). ## Why Developers building agent email workflows need an authenticated, per-agent inbox with SPF/DKIM verification and human-in-the-loop approval. Listing e2a in the LangChain integration index makes it discoverable alongside Gmail Toolkit and AgentPhone in the Productivity category. Same shape and tone as the existing entries we modeled on — `agentphone.mdx`, `composio.mdx`, `mcp_toolbox.mdx`, `discord.mdx`. We followed the same pattern for [google/adk-docs#1793](https://github.com/google/adk-docs/pull/1793) (merged), which is the equivalent integration page on the Google ADK docs site. ## Verification The two code blocks in the page are byte-identical (modulo the leading module docstring) to the runnable examples in our repo at `Mnexa-AI/e2a/mcp/examples/langchain/`: - `agent.py` → "e2a over stdio" block - `agent_hosted.py` → "e2a over hosted endpoint" block To verify locally: ```bash pip install -U langchain-mcp-adapters langgraph "langchain[anthropic]" export E2A_API_KEY=e2a_... # https://e2a.dev to obtain export ANTHROPIC_API_KEY=sk-ant-... # stdio (requires Node 18+) python agent.py "what's in my inbox?" # hosted (no Node required) python agent_hosted.py "what's in my inbox?" ``` The 18-tool count in the "Available tools" table matches the assertion in our test suite at `mcp/tests/http.test.ts` (lines 193–217) and the tool registry at `mcp/src/tools.ts` in `Mnexa-AI/e2a`. The `streamable_http` transport key was cross-checked against `langchain-mcp-adapters/langchain_mcp_adapters/sessions.py` (line 168: `transport: Literal["streamable_http"]`). ## Notes for maintainer - CLA: this PR is authored as `Josh Zhang <josh@mnexa.ai>`, matching the signed CLA on file. - New file follows the same frontmatter shape as neighboring entries (`title` + `description`, no other fields used by current pages in this directory). - `index.mdx` changes are additive: one row in the Productivity table, one card in the alphabetical grid between `Drasi` and `Exa Search`. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-06-05 19:12:55 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/docs#4147