Recommend MCP servers for a task
recommend_serversDescribe what the user wants to do in plain words. Returns the best three servers, each with why it fits, auth, remote or local, health, and the install snippet for the client.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"task": "<task>"
},
"name": "recommend_servers"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task | Yes | What the agent should be able to do, for example query my Postgres database or send email from Gmail. | |
| limit | No | How many to return. Default 3. | |
| client | No | The agent the user installs into. grok is Grok Build (terminal) plus grok.com; grok-bot is Grok Bot, which takes a chat message. json returns a plain mcpServers block for any other client. | |
| constraints | No | Optional filters. Leave a filter out to allow every server; set it to true to narrow the results. | |
| response_format | No | json (default) or markdown for a human-readable text block. structuredContent is always JSON. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hint | No | ||
| task | Yes | ||
| servers | Yes | ||
| keywords | No |