SkillPedia Skills Encyclopedia
中文 EN

MCP servers 2026-10-03 09:09 UTC

sec-edgar-mcp

Committed by stefanoamorelli. Update Category: Bug Fixes & Stability Improvements. Commit details: fix(evals): pass the real User-Agent to the MCP server. This update resolves known runtime errors and enhances system reliability.

stefanoamorelli 86646eb stefanoamorelli/sec-edgar-mcp

CommitRaw commit message

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>