Skip to the page

FuXi

FuXi loads an MCP server only when you pass it one. Give --mcp-config SpecStream's server, and FuXi's agent can search the live web, read pages and build datasets on your SpecStream account. Searches cost $5 per 1,000.

SpecStream for FuXiCoding agents

What you need

  • A SpecStream account. New accounts start with $10 of credit, no card.
  • FuXi, installed and signed in with fuxi login. Run fuxi --help on your binary to confirm the flags below.
  1. 1. Create a SpecStream API key

    FuXi's docs describe no browser sign-in for a remote MCP server, so this guide connects with an API key. In the SpecStream workspace, open Agents & API, go to API keys, and select Create API key. Give it execute access and a spending limit above 0. A key with read access alone can't search.

    Put the key in your shell, not in a file:

    Terminal
    export SPECSTREAM_API_KEY=YOUR_SPECSTREAM_API_KEY
  2. 2. Start FuXi with SpecStream

    --mcp-config takes a JSON string or a file path. The entry uses the mcpServers shape and "type": "http", the same shape FuXi's own plugin marketplace uses for remote servers. In bash or zsh, the double quotes let the shell fill in your key at launch, so no file ever holds it.

    Terminal
    fuxi --mcp-config "{\"mcpServers\":{\"specstream\":{\"type\":\"http\",\"url\":\"https://api.specstream.ai/mcp\",\"headers\":{\"Authorization\":\"Bearer $SPECSTREAM_API_KEY\"}}}}"
  3. 3. Check the tools

    Type /tools in the session. SpecStream's tools are in the list, among them search_web, read_pages and compile. If they're missing, check that SPECSTREAM_API_KEY is set in the same shell and start FuXi again.

  4. 4. Ask FuXi

    Ask for something that needs the live web. For example:

    In FuXi
    Search the web for the current stable release of PostgreSQL, then read its release notes page and list the breaking changes.

What FuXi can call

SpecStream's server gives FuXi three kinds of work.

  • search_web answers a question from the live web. Each search costs $5 per 1,000 searches of up to 10 results. It needs no quote, and a search that returns nothing costs nothing.
  • read_pages returns the text of the URLs you give it, at $0.80 per 1,000 pages. A page with no text is not charged.
  • compile, quote_capacity_work and authorize_capacity_work build a dataset: every match on the live web as structured rows. FuXi shows the maximum price first, and nothing paid starts until you approve it.

FuXi ships its own WebSearch, WebFetch and WebBrowser tools, and its docs name no search provider behind them. To send every search and page read through SpecStream, block the first two. Add --strict-mcp-config to load only the servers you pass on this command line.

Keep the config in a file

--mcp-config also takes a file path. Save the entry below as ~/.fuxi/specstream-mcp.json, then start FuXi with fuxi --mcp-config ~/.fuxi/specstream-mcp.json. FuXi's docs don't say whether it fills environment variables inside this file, so write the key itself. Keep the file out of every repository and make it readable only by you with chmod 600 ~/.fuxi/specstream-mcp.json.

Scripts and CI

fuxi -p prints the response and exits, and it takes the same --mcp-config. Give the job its own SpecStream key with a spending limit that fits the job. The key's limit caps what the job can spend, whatever the prompt asks for.

Limits and cost

Searches and page reads are charged per call, at the prices above, and the reply says what each call cost. Datasets are priced per delivered row, never above the maximum you approved. A run that finds nothing costs nothing. See pricing and how quotes and billing work.

Disconnect

FuXi loads MCP servers only when you configure them, so starting it without --mcp-config leaves SpecStream out. To cut access everywhere, revoke the key in Agents & API. For the server itself, see the MCP docs. Questions: [email protected].

More

SpecStream for FuXi covers what it does in FuXi on one page. Every other tool has its guide in Connect your tools. You see the most a request can cost before it starts, and the matches are paid from your balance. Billing has the details. For help, email [email protected].