Secured LangChain OpenAI Agent — Claude Code MCP server
The Secured LangChain OpenAI Agent MCP server for Claude Code provides a token-protected gateway for LangChain model executions.
no license 2,894 installs updated 2026-05-31
claude mcp add --transport http authenticated-mcp-agent https://authenticated-mcp-agent--a2a.run.toolsWhat Secured LangChain OpenAI Agent does
This remote service packages LangChain orchestration, OpenAI tooling, and OpenTelemetry observability behind access controls. Calls require authentication, rejecting unauthorized requests before hitting model endpoints.
Two operations are exposed. The invoke handler verifies JWT credentials prior to dispatching tasks to Vertex Gemini completions. The complimentary selftest tool processes a predefined check to verify readiness, outputting JWKS records, assertion scores, and agent verification metadata.
What it helps with
- gate agent completions behind cryptographic tokens
- validate agent operational health using signed manifests
- route completions through an authenticated LangChain gateway
Example prompts for the agent
- Run selftest to inspect the agent signature and manifest
- Execute invoke with an authorized token to process a prompt
How to install Secured LangChain OpenAI Agent
Platform CLI: remote server
claude mcp add --transport http authenticated-mcp-agent https://authenticated-mcp-agent--a2a.run.toolsPlatform CLI: remote server
codex mcp add secured-langchain-openai-agent --url https://authenticated-mcp-agent--a2a.run.toolsConfig file
{
"mcpServers": {
"secured-langchain-openai-agent": {
"url": "https://authenticated-mcp-agent--a2a.run.tools"
}
}
}Config file
{
"servers": {
"secured-langchain-openai-agent": {
"type": "http",
"url": "https://authenticated-mcp-agent--a2a.run.tools"
}
}
}Platform CLI: remote server
gemini mcp add -t http secured-langchain-openai-agent https://authenticated-mcp-agent--a2a.run.toolsStep by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about Secured LangChain OpenAI Agent
How to install Secured LangChain OpenAI Agent in Claude Code?
Run claude mcp add --transport http secured-langchain-openai-agent https://authenticated-mcp-agent--a2a.run.tools in your terminal.
What does Secured LangChain OpenAI Agent do?
It serves as a guarded proxy that validates JWTs before executing tasks on Vertex Gemini.
Does running selftest require paid credentials?
No, the selftest endpoint runs on a hardcoded test without billing.