Install SEC API in Continue
Continue (continue.dev) supports MCP configuration via~/.continue/config.yaml. Headers go under requestOptions.headers, and YAML configs can pull secrets from Continue’s secrets store with ${{ secrets.NAME }}.
Prerequisites
- SEC API key. Sign up at secapi.ai.
- Continue installed in your IDE with MCP
streamable-httpsupport.
Install
Open (or create)~/.continue/config.yaml. Add an mcpServers entry; this example merges with any existing config:
SECAPI_API_KEY, or replace the ${{ … }} expression with the literal key for a quick test.
If you’re still on config.json (legacy), the same entry looks like:
Verify
In the Continue chat, ask:Show me Apple’s latest 8-K filing.Continue should call the
filings.latest tool with ticker: AAPL, form: 8-K and return the filing URL plus a short summary.
Troubleshooting
typerejected — must bestreamable-http(hyphenated). Valid types arestdio,sse,streamable-http.mcpServersshape error — Continue expects a list, not a name-keyed map. Each entry has its ownnamefield.- Secrets aren’t substituted —
${{ secrets.NAME }}works inconfig.yamlonly. Inconfig.json, paste the key literally or use a shell-exported env var via your IDE’s launch config. 401 Unauthorized— the secret didn’t resolve. CheckContinue → Settings → Hub Secretsand confirm the secret is namedSECAPI_API_KEY.
Next
- Available tools — SEC + market data tools
- Give this prompt to your agent — canonical agent briefing for richer workflows