Connect with a local development key
Create a Continue secret namedSECAPI_API_KEY, then add this example server to
~/.continue/config.yaml or to a standalone configuration in
.continue/mcpServers/:
streamable-http MCP servers and requestOptions for their request
headers. Verify this example against the reference and your installed Continue
version before applying it. Use Continue’s locally stored secrets instead of
committing a key in the YAML. If your installation centrally manages Continue
configuration, place the key in that managed secret store rather than embedding
it in the shared configuration.
Prove one cited filing lookup
Start an agent-mode chat and ask:CallThe successful result should name the filing and include those fields. The filing URL and accession number identify the source;filings.latestwithticker: AAPLandform: 10-K. Return the accession number, filing date, filing URL,requestId, andtraceparent.
requestId and
traceparent make the call diagnosable. Do not accept a generated summary that
omits the source identity.
Keep the first task narrow
Continue discovers the MCP tools at connection time. Refresh or reconnect after changing this configuration, and review the exposed tool list before giving an agent a broad task. Start with a constrained issuer, form, date range, and limit. Use source and provenance fields returned by search or extraction tools in the final answer.Failures and limits
401: the key did not resolve or was rejected. Check the Continue secret name and rotate the key if needed.402: plan, credit, billing, or budget state blocks the request. Resolve it; do not retry unchanged work.429or503: honorRetry-After, reduce concurrent agent work, then make a bounded retry.mcp_tool_timeout: narrow the query or lower result limits before retrying.
error.data.code, and the request ID
with a repeated failure. The Error code catalog explains
the common actions.

