Menu

Integrations / Coding agents

JetBrains Junie and AI Assistant

MillionShort search in JetBrains Junie and AI Assistant, through the hosted MCP server.

Copy as MarkdownOpen in ChatGPT (opens in a new tab)Open in Claude (opens in a new tab)

MCPHosted MCP server, nothing to installKey in a headerWorks with no keyChecked 2026-11-19

1Add the server

Junie (in the IDE and the CLI): add the server to ~/.junie/mcp/mcp.json (every project), or .junie/mcp/mcp.json in a project. In the IDE, open Junie's MCP settings page and use the edit button to open the file.

Choose one
JSON
{
  "mcpServers": {
    "millionshort": {
      "url": "https://mcp.millionshort.com/mcp",
      "headers": { "Authorization": "Bearer ms-YOUR_API_KEY" }
    }
  }
}

AI Assistant: open Settings, Tools, AI Assistant, Model Context Protocol (MCP), click Add, paste the no-key JSON above, choose the level (global or this project), then OK and Apply. JetBrains documents a URL there but not a header, so AI Assistant gets the no-key mode; for your key, use Junie.

2Try it

Ask JetBrains Junie and AI Assistant:

Search MillionShort for forum threads about restoring a cast iron skillet, with the 1,000 most popular sites removed. List the five most useful with their links.

A good answer comes from a search call (the client shows the tool call) and links to pages you may not have seen before.

JetBrains Junie and AI Assistant has no setting we could find that turns its own web search off, so say which search to use.

For Junie, add this line to AGENTS.md at the project root:

Use the MillionShort search tool for anything recent, niche, or that needs a source. To reach lesser-known sites, set remove_top_sites (for example 1000). Cite the URLs it returns.

4Check it works

AI Assistant: the MCP settings table shows the server's status, and its tools icon lists the tools. Junie CLI: /mcp lists the server as Active.

With a key you should see search, get_domain_info, list_sources and the tools of the other endpoints (the MCP page lists them); with no key, fewer, search and list_sources among them.

Good to know

The server

One address for every client: https://mcp.millionshort.com/mcp, streamable HTTP. A key is optional.

ModeHowWhat the agent gets
API keySend Authorization: Bearer ms-YOUR_API_KEYEvery tool, at your plan's limits; calls use your credits
No keySend no Authorization headersearch, list_sources and a few more; one source and up to 5 results a search, 10 free searches a day

Tools

ToolWhat it doesWithout a keyCost
searchSearches the web and the specialist sources, with the popularity, domain, page-type, topic, site and date filtersYes: one source, up to 5 results1 credit per source searched, first 10 results
get_domain_infoPopularity and risk for up to 25 sitesNo1 credit
list_sourcesThe sources, page types and topics search acceptsYes: source namesFree
The tools of the other endpointsextract, map, crawl, places and more: the MCP page lists themA few, such as placesWhat the API call behind each costs

Costs and limits

A tool call costs what the API call behind it costs: 1 credit per source searched for the first 10 results, 1 credit for a domain lookup, nothing for the list of sources, the price of the endpoint for the other tools, and nothing at all in the no-key mode. An agent that loops can make many calls: give it a step limit, and ask for fewer results when a few will do. Credits and limits has the numbers.

When it fails

What you seeWhyFix
The server does not connect, or no tools are listedThe address or the transport is not the one the server speaksUse exactly https://mcp.millionshort.com/mcp and the streamable HTTP transport (often called http), not SSE
401 or "unauthorized"The key is wrong, or it was sent without Bearer Send Authorization: Bearer ms-..., or leave the header out to use the no-key mode
"10 free searches a day without a key"The no-key mode's daily searches are used upAdd a key: it is free in the dashboard
INSUFFICIENT_CREDITSThe plan's credits are used upStop and add credits; retrying does not help
The agent answers from memory, or uses another searchNothing told it when to use this oneTurn off its own search where it can be (this page says how), and add the line for its instructions

This page as Markdown ยท llms.txt