Skip to main content
Glama
sentrul-mcp-server

sentrul-mcp-server

by sentrul

sentrul-mcp-server

从任何支持 MCP 的客户端运行 Sentrul 研究、合规性和追踪查询代理。 通过一个网关提供 257 个生产级代理。

版本: 0.1.0 | SDK: @modelcontextprotocol/sdk@1.29.0 | 许可证: MIT


安装 (Claude Desktop)

将此代码片段添加到 ~/Library/Application Support/Claude/claude_desktop_config.json 中:

{
  "mcpServers": {
    "sentrul": {
      "command": "npx",
      "args": ["-y", "sentrul-mcp-server"],
      "env": { "SENTRUL_API_KEY": "optional — free tier auto-provisions" }
    }
  }
}

重启 Claude Desktop。服务器在首次使用时会自动配置免费层级密钥 — 无需注册。


Related MCP server: Civic MCP Gateway

工具

sentrul_research

获取 URL 并对内容运行 Sentrul 的研究代理。 返回摘要、实体、声明以及公开的 Langfuse 追踪 URL。

示例提示词


sentrul_compliance_scan

扫描文本以查找常见的合规性模式(PII、PCI、HIPAA、GDPR 数据)。 返回调查结果及严重程度。非法律建议。

示例提示词

  • "Scan this document for PII and PCI violations: [paste text]"

  • "Check the following privacy policy for GDPR data patterns"


sentrul_trace_lookup

通过 ID 检索公开的 Langfuse 追踪。 返回用于检查的结构化追踪负载。

示例提示词

  • "Fetch trace clm8abc123xyz from Sentrul"

  • "Show me the observation tree for trace ID abc-def-456"


环境变量

变量

必需

默认值

描述

SENTRUL_API_KEY

否

自动配置

您的 Sentrul API 密钥。留空以使用免费层级。

SENTRUL_API_BASE

否

https://app.sentrul.com/api

覆盖 Sentrul 网关基础 URL(用于暂存/本地开发)。

匿名免费层级

如果未设置 SENTRUL_API_KEY,服务器将:

  1. 检查 ~/.sentrul/mcp-key 中是否存在缓存密钥。

  2. 如果不存在缓存,则调用 POST /v1/mcp/keys/anonymous 以自动配置限速的免费密钥。

  3. 将密钥写入 ~/.sentrul/mcp-key(模式 0600)以供将来运行使用。

您可以随时通过在 MCP 客户端配置中设置 SENTRUL_API_KEY 来进行升级。


安全说明

  • 无 Shell 执行 — 服务器从不运行 shell 命令或生成子进程。

  • 无 PII 日志记录 — 环境变量和 API 密钥绝不会写入日志或标准输出。

  • 只读 — 所有三个工具在启动时均为只读;不会写入用户文件或外部状态。

  • 文件系统写入 — 仅写入 ~/.sentrul/mcp-key(密钥缓存)。除此之外不会在目录外写入任何内容。

  • 供应链 — 发布使用强制 2FA 的 npm 账户 + sigstore 认证(请参阅可用时的 SECURITY.md)。


开发

pnpm install
pnpm run build   # tsc → dist/
pnpm test        # vitest run

# Smoke test — should print 3 tools in the tools/list response:
echo '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' | node dist/index.js

链接


MIT 许可证 — 版权所有 (c) 2026 Sentrul

Available Tools

3 tools
sentrul_compliance_scanC

Scan text for common compliance patterns (PII, PCI, HIPAA, GDPR data). Returns findings + severity. Not legal advice.

Inputs: text (required), frameworks.

sentrul_researchA

Fetch a URL and run Sentrul's research-agent on the content. Returns summary, entities, claims, and a public Langfuse trace URL.

Inputs: url (required), depth.

sentrul_trace_lookupC

Retrieve a public Langfuse trace by ID. Returns the structured trace payload for inspection in the client.

Inputs: trace_id (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.3/5.0

    Scored across 3 tools

    Disambiguation5/5

    Each tool has a clearly distinct purpose with no overlap. sentrul_compliance_scan analyzes text for compliance patterns, sentrul_research processes web content for research insights, and sentrul_trace_lookup retrieves specific trace data. An agent can easily differentiate between scanning, researching, and trace lookup functions.

    Naming Consistency5/5

    All tool names follow a consistent 'sentrul_' prefix with descriptive suffixes (compliance_scan, research, trace_lookup). The naming pattern is uniform and predictable, using snake_case throughout without any deviations or mixed conventions.

    Tool Count3/5

    With only 3 tools, the set feels thin for a server named 'sentrul-mcp-server', which suggests a broader scope for compliance and research operations. While each tool is distinct, the count is borderline low, potentially limiting functionality for agents working in this domain.

    Completeness3/5

    The tools cover scanning, research, and trace lookup, but there are notable gaps for a compliance/research domain. Missing operations include updating or managing scans, configuring research parameters, or handling trace modifications, which could lead to dead ends in agent workflows.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables AI agents to connect to tools and data through a governed MCP endpoint with agent identity, scoped permissions, guardrails, and full audit trails. Access is user-controlled and can be revoked instantly, with every tool call logged by agent identity and timestamp.
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables MCP clients to look up domains, URLs, IPs/ASNs, email addresses, phone numbers, crypto wallets, and business records; run autonomous investigations; collect crawl artifacts; and perform evidence-backed scam checks with traceable provenance.
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables AI agents to query public web data across 106 platforms through 573 data APIs, plus web search and CAPTCHA solving, using a single API key and MCP endpoint.
      990
      Apache 2.0