Crawler Summary

ts-node-esm-template answer-first brief

OpenClaw agent: ts-node-esm-template LLM-MCP-RAG-JS **提示**: 如果需要 Python 版本的实现,请访问 $1。 Python版本具有更好的扩展性,可以更好的集成rag/Vector DB/ComfyUI 项目架构 项目采用模块化设计,主要包含以下核心组件: 目录结构 核心组件 1. **MCP Service** (src/protocol/MCPService.ts) - 负责与 MCP 服务器的通信 - 管理工具注册和调用 - 实现了重试机制和错误处理 2. **Document Retrieval** (src/retrieval/) - 实现文档检索功能 - 支持文档的加载和向量化 - 提供相似度搜索 3. **RAG Agent** (src/core/) - 协调 MCP 服务和文档检索 - 处理用户查询 - 生成上下文增强的响应 技术栈 - **运行时环境**: Node.js - **开发语言**: TypeScript - Published capability contract available. No trust telemetry is available yet. 2 GitHub stars reported by the source. Last updated 2/24/2026.

Freshness

Last checked 2/22/2026

Best For

Contract is available with explicit auth and schema references.

Not Ideal For

ts-node-esm-template is not ideal for teams that need stronger public trust telemetry, lower setup complexity, or more explicit contract coverage before production rollout.

Evidence Sources Checked

editorial-content, capability-contract, runtime-metrics, public facts pack

Claim this agent
Agent DossierGitHubSafety: 80/100

ts-node-esm-template

OpenClaw agent: ts-node-esm-template LLM-MCP-RAG-JS **提示**: 如果需要 Python 版本的实现,请访问 $1。 Python版本具有更好的扩展性,可以更好的集成rag/Vector DB/ComfyUI 项目架构 项目采用模块化设计,主要包含以下核心组件: 目录结构 核心组件 1. **MCP Service** (src/protocol/MCPService.ts) - 负责与 MCP 服务器的通信 - 管理工具注册和调用 - 实现了重试机制和错误处理 2. **Document Retrieval** (src/retrieval/) - 实现文档检索功能 - 支持文档的加载和向量化 - 提供相似度搜索 3. **RAG Agent** (src/core/) - 协调 MCP 服务和文档检索 - 处理用户查询 - 生成上下文增强的响应 技术栈 - **运行时环境**: Node.js - **开发语言**: TypeScript -

MCPverified

Public facts

7

Change events

1

Artifacts

0

Freshness

Feb 22, 2026

Verifiededitorial-content1 verified compatibility signal2 GitHub stars

Published capability contract available. No trust telemetry is available yet. 2 GitHub stars reported by the source. Last updated 2/24/2026.

2 GitHub starsSchema refs publishedTrust evidence available

Trust score

Unknown

Compatibility

MCP

Freshness

Feb 22, 2026

Vendor

Sunpcm

Artifacts

0

Benchmarks

0

Last release

1.0.0

Executive Summary

Key links, install path, and a quick operational read before the deeper crawl record.

Verifiededitorial-content

Summary

Published capability contract available. No trust telemetry is available yet. 2 GitHub stars reported by the source. Last updated 2/24/2026.

Setup snapshot

git clone https://github.com/sunpcm/openai-llm-mcp-rag-js.git
  1. 1

    Setup complexity is MEDIUM. Standard integration tests and API key provisioning are required before connecting this to production workloads.

  2. 2

    Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Evidence Ledger

Everything public we have scraped or crawled about this agent, grouped by evidence type with provenance.

Verifiededitorial-content
Vendor (1)

Vendor

Sunpcm

profilemedium
Observed Feb 24, 2026Source linkProvenance
Compatibility (2)

Protocol compatibility

MCP

contracthigh
Observed Feb 24, 2026Source linkProvenance

Auth modes

mcp, api_key

contracthigh
Observed Feb 24, 2026Source linkProvenance
Artifact (1)

Machine-readable schemas

OpenAPI or schema references published

contracthigh
Observed Feb 24, 2026Source linkProvenance
Adoption (1)

Adoption signal

2 GitHub stars

profilemedium
Observed Feb 24, 2026Source linkProvenance
Security (1)

Handshake status

UNKNOWN

trustmedium
Observed unknownSource linkProvenance
Integration (1)

Crawlable docs

6 indexed pages on the official domain

search_documentmedium
Observed Apr 15, 2026Source linkProvenance

Release & Crawl Timeline

Merged public release, docs, artifact, benchmark, pricing, and trust refresh events.

Self-declaredagent-index

Artifacts Archive

Extracted files, examples, snippets, parameters, dependencies, permissions, and artifact metadata.

Self-declaredGITHUB MCP

Extracted files

0

Examples

5

Snippets

0

Languages

typescript

Executable Examples

text

src/
├── core/          # 核心业务逻辑
├── protocol/      # MCP 协议实现
├── retrieval/     # 文档检索相关实现
├── utils/         # 工具函数
└── config/        # 配置文件

bash

pnpm install

env

EMBEDDING_BASE_URL=https://oneapi.biubiuniu.com
EMBEDDING_KEY=your_embedding_api_key
OPENAI_BASE_URL=https://oneapi.biubiuniu.com
OPENAI_API_KEY=your_llm_api_key

bash

# 开发模式
pnpm dev

# 构建
pnpm build

# 生产运行
pnpm start

typescript

import { MCPService } from './protocol/MCPService';
import { DocumentRetriever } from './retrieval/DocumentRetriever';
import { RAGAgent } from './core/RAGAgent';

// 初始化服务
const mcpService = new MCPService('my-service', 'mcp-server');
await mcpService.initialize();

// 初始化文档检索
const retriever = new DocumentRetriever();
await retriever.loadDocuments('./knowledge');

// 创建 RAG Agent
const agent = new RAGAgent(mcpService, retriever);

// 处理查询
const response = await agent.process('你的问题');

Docs & README

Full documentation captured from public sources, including the complete README when available.

Self-declaredGITHUB MCP

Docs source

GITHUB MCP

Editorial quality

ready

OpenClaw agent: ts-node-esm-template LLM-MCP-RAG-JS **提示**: 如果需要 Python 版本的实现,请访问 $1。 Python版本具有更好的扩展性,可以更好的集成rag/Vector DB/ComfyUI 项目架构 项目采用模块化设计,主要包含以下核心组件: 目录结构 核心组件 1. **MCP Service** (src/protocol/MCPService.ts) - 负责与 MCP 服务器的通信 - 管理工具注册和调用 - 实现了重试机制和错误处理 2. **Document Retrieval** (src/retrieval/) - 实现文档检索功能 - 支持文档的加载和向量化 - 提供相似度搜索 3. **RAG Agent** (src/core/) - 协调 MCP 服务和文档检索 - 处理用户查询 - 生成上下文增强的响应 技术栈 - **运行时环境**: Node.js - **开发语言**: TypeScript -

Full README

LLM-MCP-RAG-JS

提示: 如果需要 Python 版本的实现,请访问 LLM-MCP-RAG-Python。 Python版本具有更好的扩展性,可以更好的集成rag/Vector DB/ComfyUI

项目架构

项目采用模块化设计,主要包含以下核心组件:

目录结构

src/
├── core/          # 核心业务逻辑
├── protocol/      # MCP 协议实现
├── retrieval/     # 文档检索相关实现
├── utils/         # 工具函数
└── config/        # 配置文件

核心组件

  1. MCP Service (src/protocol/MCPService.ts)

    • 负责与 MCP 服务器的通信
    • 管理工具注册和调用
    • 实现了重试机制和错误处理
  2. Document Retrieval (src/retrieval/)

    • 实现文档检索功能
    • 支持文档的加载和向量化
    • 提供相似度搜索
  3. RAG Agent (src/core/)

    • 协调 MCP 服务和文档检索
    • 处理用户查询
    • 生成上下文增强的响应

技术栈

  • 运行时环境: Node.js
  • 开发语言: TypeScript
  • 包管理器: pnpm
  • 主要依赖:
    • @modelcontextprotocol/sdk: MCP 协议实现
    • openai: OpenAI API 客户端
    • zod: 类型验证
    • dotenv: 环境变量管理

配置和运行

环境要求

  • Node.js >= 18
  • pnpm >= 10.6.3

安装依赖

pnpm install

环境变量配置

创建 .env 文件并配置以下环境变量:

EMBEDDING_BASE_URL=https://oneapi.biubiuniu.com
EMBEDDING_KEY=your_embedding_api_key
OPENAI_BASE_URL=https://oneapi.biubiuniu.com
OPENAI_API_KEY=your_llm_api_key

开发运行

# 开发模式
pnpm dev

# 构建
pnpm build

# 生产运行
pnpm start

待改进方向

  1. 错误处理优化

    • 实现更细粒度的错误类型
    • 添加错误重试策略配置
    • 改进错误日志记录
  2. 性能优化

    • 实现文档缓存机制
    • 优化向量检索性能
    • 添加批处理支持
  3. 可观测性

    • 添加详细的日志记录
    • 实现性能指标收集
    • 添加监控接口

使用示例

import { MCPService } from './protocol/MCPService';
import { DocumentRetriever } from './retrieval/DocumentRetriever';
import { RAGAgent } from './core/RAGAgent';

// 初始化服务
const mcpService = new MCPService('my-service', 'mcp-server');
await mcpService.initialize();

// 初始化文档检索
const retriever = new DocumentRetriever();
await retriever.loadDocuments('./knowledge');

// 创建 RAG Agent
const agent = new RAGAgent(mcpService, retriever);

// 处理查询
const response = await agent.process('你的问题');

本项目部分代码参考了 KelvinQiu802/llm-mcp-rag,在此表示感谢。# LLM-MCP-RAG

Contract & API

Machine endpoints, protocol fit, contract coverage, invocation examples, and guardrails for agent-to-agent use.

Verifiedcapability-contract

Contract coverage

Status

ready

Auth

mcp, api_key

Streaming

No

Data region

global

Protocol support

MCP: verified

Requires: mcp, lang:typescript

Forbidden: none

Guardrails

Operational confidence: medium

Contract is available with explicit auth and schema references.
Trust confidence is not low and verification freshness is acceptable.
Protocol support is explicitly confirmed in contract metadata.
Invocation examples
curl -s "https://xpersona.co/api/v1/agents/mcp-sunpcm-openai-llm-mcp-rag-js/snapshot"
curl -s "https://xpersona.co/api/v1/agents/mcp-sunpcm-openai-llm-mcp-rag-js/contract"
curl -s "https://xpersona.co/api/v1/agents/mcp-sunpcm-openai-llm-mcp-rag-js/trust"

Reliability & Benchmarks

Trust and runtime signals, benchmark suites, failure patterns, and practical risk constraints.

Missingruntime-metrics

Trust signals

Handshake

UNKNOWN

Confidence

unknown

Attempts 30d

unknown

Fallback rate

unknown

Runtime metrics

Observed P50

unknown

Observed P95

unknown

Rate limit

unknown

Estimated cost

unknown

No benchmark suites or observed failure patterns are available.

Media & Demo

Every public screenshot, visual asset, demo link, and owner-provided destination tied to this agent.

Missingno-media
No screenshots, media assets, or demo links are available.

Related Agents

Neighboring agents from the same protocol and source ecosystem for comparison and shortlist building.

Self-declaredprotocol-neighbors
GITLAB_AI_CATALOGgitlab-mcp

Rank

83

A Model Context Protocol (MCP) server for GitLab

Traction

No public download signal

Freshness

Updated 2d ago

MCP
GITLAB_PUBLIC_PROJECTSgitlab-mcp

Rank

80

A Model Context Protocol (MCP) server for GitLab

Traction

No public download signal

Freshness

Updated 2d ago

MCP
GITLAB_AI_CATALOGrmcp-openapi

Rank

74

Expose OpenAPI definition endpoints as MCP tools using the official Rust SDK for the Model Context Protocol (https://github.com/modelcontextprotocol/rust-sdk)

Traction

No public download signal

Freshness

Updated 2d ago

MCP
GITLAB_AI_CATALOGrmcp-actix-web

Rank

72

An actix_web backend for the official Rust SDK for the Model Context Protocol (https://github.com/modelcontextprotocol/rust-sdk)

Traction

No public download signal

Freshness

Updated 2d ago

MCP
Machine Appendix

Contract JSON

{
  "contractStatus": "ready",
  "authModes": [
    "mcp",
    "api_key"
  ],
  "requires": [
    "mcp",
    "lang:typescript"
  ],
  "forbidden": [],
  "supportsMcp": true,
  "supportsA2a": false,
  "supportsStreaming": false,
  "inputSchemaRef": "https://github.com/sunpcm/openai-llm-mcp-rag-js#input",
  "outputSchemaRef": "https://github.com/sunpcm/openai-llm-mcp-rag-js#output",
  "dataRegion": "global",
  "contractUpdatedAt": "2026-02-24T19:45:05.782Z",
  "sourceUpdatedAt": "2026-02-24T19:45:05.782Z",
  "freshnessSeconds": 4422403
}

Invocation Guide

{
  "preferredApi": {
    "snapshotUrl": "https://xpersona.co/api/v1/agents/mcp-sunpcm-openai-llm-mcp-rag-js/snapshot",
    "contractUrl": "https://xpersona.co/api/v1/agents/mcp-sunpcm-openai-llm-mcp-rag-js/contract",
    "trustUrl": "https://xpersona.co/api/v1/agents/mcp-sunpcm-openai-llm-mcp-rag-js/trust"
  },
  "curlExamples": [
    "curl -s \"https://xpersona.co/api/v1/agents/mcp-sunpcm-openai-llm-mcp-rag-js/snapshot\"",
    "curl -s \"https://xpersona.co/api/v1/agents/mcp-sunpcm-openai-llm-mcp-rag-js/contract\"",
    "curl -s \"https://xpersona.co/api/v1/agents/mcp-sunpcm-openai-llm-mcp-rag-js/trust\""
  ],
  "jsonRequestTemplate": {
    "query": "summarize this repo",
    "constraints": {
      "maxLatencyMs": 2000,
      "protocolPreference": [
        "MCP"
      ]
    }
  },
  "jsonResponseTemplate": {
    "ok": true,
    "result": {
      "summary": "...",
      "confidence": 0.9
    },
    "meta": {
      "source": "GITHUB_MCP",
      "generatedAt": "2026-04-17T00:11:49.099Z"
    }
  },
  "retryPolicy": {
    "maxAttempts": 3,
    "backoffMs": [
      500,
      1500,
      3500
    ],
    "retryableConditions": [
      "HTTP_429",
      "HTTP_503",
      "NETWORK_TIMEOUT"
    ]
  }
}

Trust JSON

{
  "status": "unavailable",
  "handshakeStatus": "UNKNOWN",
  "verificationFreshnessHours": null,
  "reputationScore": null,
  "p95LatencyMs": null,
  "successRate30d": null,
  "fallbackRate": null,
  "attempts30d": null,
  "trustUpdatedAt": null,
  "trustConfidence": "unknown",
  "sourceUpdatedAt": null,
  "freshnessSeconds": null
}

Capability Matrix

{
  "rows": [
    {
      "key": "MCP",
      "type": "protocol",
      "support": "supported",
      "confidenceSource": "contract",
      "notes": "Confirmed by capability contract"
    }
  ],
  "flattenedTokens": "protocol:MCP|supported|contract"
}

Facts JSON

[
  {
    "factKey": "docs_crawl",
    "category": "integration",
    "label": "Crawlable docs",
    "value": "6 indexed pages on the official domain",
    "href": "https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fopenclaw%2Fskills%2Ftree%2Fmain%2Fskills%2Fasleep123%2Fcaldav-calendar",
    "sourceUrl": "https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fopenclaw%2Fskills%2Ftree%2Fmain%2Fskills%2Fasleep123%2Fcaldav-calendar",
    "sourceType": "search_document",
    "confidence": "medium",
    "observedAt": "2026-04-15T05:03:46.393Z",
    "isPublic": true
  },
  {
    "factKey": "protocols",
    "category": "compatibility",
    "label": "Protocol compatibility",
    "value": "MCP",
    "href": "https://xpersona.co/api/v1/agents/mcp-sunpcm-openai-llm-mcp-rag-js/contract",
    "sourceUrl": "https://xpersona.co/api/v1/agents/mcp-sunpcm-openai-llm-mcp-rag-js/contract",
    "sourceType": "contract",
    "confidence": "high",
    "observedAt": "2026-02-24T19:45:05.782Z",
    "isPublic": true
  },
  {
    "factKey": "auth_modes",
    "category": "compatibility",
    "label": "Auth modes",
    "value": "mcp, api_key",
    "href": "https://xpersona.co/api/v1/agents/mcp-sunpcm-openai-llm-mcp-rag-js/contract",
    "sourceUrl": "https://xpersona.co/api/v1/agents/mcp-sunpcm-openai-llm-mcp-rag-js/contract",
    "sourceType": "contract",
    "confidence": "high",
    "observedAt": "2026-02-24T19:45:05.782Z",
    "isPublic": true
  },
  {
    "factKey": "schema_refs",
    "category": "artifact",
    "label": "Machine-readable schemas",
    "value": "OpenAPI or schema references published",
    "href": "https://github.com/sunpcm/openai-llm-mcp-rag-js#input",
    "sourceUrl": "https://xpersona.co/api/v1/agents/mcp-sunpcm-openai-llm-mcp-rag-js/contract",
    "sourceType": "contract",
    "confidence": "high",
    "observedAt": "2026-02-24T19:45:05.782Z",
    "isPublic": true
  },
  {
    "factKey": "vendor",
    "category": "vendor",
    "label": "Vendor",
    "value": "Sunpcm",
    "href": "https://github.com/sunpcm/openai-llm-mcp-rag-js",
    "sourceUrl": "https://github.com/sunpcm/openai-llm-mcp-rag-js",
    "sourceType": "profile",
    "confidence": "medium",
    "observedAt": "2026-02-24T19:43:14.176Z",
    "isPublic": true
  },
  {
    "factKey": "traction",
    "category": "adoption",
    "label": "Adoption signal",
    "value": "2 GitHub stars",
    "href": "https://github.com/sunpcm/openai-llm-mcp-rag-js",
    "sourceUrl": "https://github.com/sunpcm/openai-llm-mcp-rag-js",
    "sourceType": "profile",
    "confidence": "medium",
    "observedAt": "2026-02-24T19:43:14.176Z",
    "isPublic": true
  },
  {
    "factKey": "handshake_status",
    "category": "security",
    "label": "Handshake status",
    "value": "UNKNOWN",
    "href": "https://xpersona.co/api/v1/agents/mcp-sunpcm-openai-llm-mcp-rag-js/trust",
    "sourceUrl": "https://xpersona.co/api/v1/agents/mcp-sunpcm-openai-llm-mcp-rag-js/trust",
    "sourceType": "trust",
    "confidence": "medium",
    "observedAt": null,
    "isPublic": true
  }
]

Change Events JSON

[
  {
    "eventType": "docs_update",
    "title": "Docs refreshed: Sign in to GitHub · GitHub",
    "description": "Fresh crawlable documentation was indexed for the official domain.",
    "href": "https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fopenclaw%2Fskills%2Ftree%2Fmain%2Fskills%2Fasleep123%2Fcaldav-calendar",
    "sourceUrl": "https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fopenclaw%2Fskills%2Ftree%2Fmain%2Fskills%2Fasleep123%2Fcaldav-calendar",
    "sourceType": "search_document",
    "confidence": "medium",
    "observedAt": "2026-04-15T05:03:46.393Z",
    "isPublic": true
  }
]

Sponsored

Ads related to ts-node-esm-template and adjacent AI workflows.