Skip to main content
Glama
cursor-search-mcp

cursor-search-mcp

by zzjcool

cursor_oauth_login

Start browser-based OAuth login for Cursor search without an API key; returns a login URL to open, then use the returned UUID with cursor_oauth_wait to complete token exchange.

Instructions

Start OAuth browser login (no API key needed). Returns login_url for the user to open in a browser; then call cursor_oauth_wait with the returned uuid to complete the token exchange.

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

A4.4/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description carries the full burden and does disclose key behavior: it starts a browser flow, does not require an API key, returns a login_url for the user, and requires a follow-up call to complete the token exchange. It omits details like flow timeout, where the token is stored, or failure behavior, but the core interaction contract is clear.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two compact clauses with no waste: the first states purpose and the key constraint, the second states the return value and the required next step. Nothing is buried or redundant.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a zero-parameter OAuth starter with no output schema, the description covers the essential return (login_url and uuid) and the follow-up action. It could say more about what happens if the user never completes login or whether a browser opens automatically, but nothing an agent needs to invoke it correctly is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The tool takes zero parameters, so the schema has nothing to document. The description correctly implies no input is required and clarifies that the relevant value (uuid) comes from this call's return, not from the caller.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Start OAuth browser login') and immediately distinguishes itself from cursor_login by noting 'no API key needed'. An agent can identify it as the browser-based OAuth entry point without opening the schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly describes the two-step flow: call this, then call cursor_oauth_wait with the returned uuid. It does not explicitly contrast with the sibling cursor_login beyond the 'no API key needed' hint, so the exclusion is implied rather than fully stated.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.