SkillPedia Skills Encyclopedia
中文 EN

MCP 服务 2026-10-03 09:09 UTC

sec-edgar-mcp

由提交人 stefanoamorelli 提交,主要更新类型为:问题缺陷修复与稳定性提升。提交说明:fix(evals): pass the real User-Agent to the MCP server。解决了已知运行时异常与边界错误,提升系统稳定性。

stefanoamorelli 86646eb stefanoamorelli/sec-edgar-mcp

Commit提交信息原文

fix(evals): pass the real User-Agent to the MCP server

Once promptfoo could start on Node 22, every SEC request in the suite
came back 403 [1]. promptfoo 0.123 no longer
expands `${SEC_EDGAR_USER_AGENT}` in the provider's server env, so the
server received that placeholder string as its User-Agent, and SEC
rejects requests without a contact address.

I switch to the Nunjucks form `{{ env.SEC_EDGAR_USER_AGENT }}`, which
promptfoo renders. With it the full suite passes locally (34/34) on
Node 22 and promptfoo 0.123.

[1]: https://github.com/stefanoamorelli/sec-edgar-mcp/actions/runs/37111498622

Signed-off-by: Stefano Amorelli <stefano@amorelli.tech>