YOUR FIRST WORKFLOW
Connect your first MCP server
Ask your coding AI to connect one documentation source, then check a real lookup.
Ask AI in one sentence
Help me connect Context7 to my current coding tool using its official OAuth instructions, preserve my existing connections, guide me through sign-in, and verify one documentation lookup with the actual tool call and source link.MCP lets a coding tool use an extra service. This example connects Context7 for library documentation; use it when you need that source, rather than installing a whole collection of servers. The service receives the lookup and your AI tool processes its response, so use a public, non-sensitive question.
Before you start
- An MCP-compatible coding tool you can already use, with permission to add a connection.
- Internet access and a Context7 account for the OAuth example.
- One public library question; no private project data is needed.
Ask AI to prepare the connection
Send the one-sentence request above in the coding tool you already use.
Tell the AI which application you are using if it cannot identify it. Review the single connection it proposes.
Check the current official instructions and prepare the configuration, or explain the manual action needed.
The proposed connection is Context7; existing connections are preserved.
Finish sign-in
You handle the account sign-in in your browser.
Use the connection’s authentication action and complete the Context7 sign-in. Return to your coding tool.
Show whether the connection is ready and whether its tools are available.
The connection is available; a sign-in or connection error is resolved before continuing.
Try one documentation question
Ask for an actual lookup, then open its source.
Ask: Use Context7 to find the documentation for Python pathlib.Path.read_text; show the library you selected, the tool calls, and a source link, and do not edit my files.
Look up the library and its documentation; say if it cannot find the requested material.
You can inspect a Context7 tool response and a relevant source; a confident answer without a call is not this check.
Keep it or disconnect
Finish with only the connections you need.
Keep the connection if useful; otherwise disable or remove this entry and sign out or revoke its grant where supported.
Help verify that the removed connection is unavailable.
You know whether it is still enabled; disconnecting does not erase earlier conversation content.
Ready to finish?
- I inspected an actual MCP tool call, not just a connected badge.
- I opened the returned source and checked whether it answers my question.
- I know where the lookup goes and how to disable the connection.
Optional help & next steps
Manual: Context7 in Cursor
In your practice project, open .cursor/mcp.json. Add the context7 entry inside the existing mcpServers object; preserve other entries. The example below is for a new file, not a replacement for an existing configuration.
In Cursor’s MCP controls, enable the connection and complete its sign-in action. This remote OAuth route does not launch a local Node.js server. Then use the question in step 3. Other clients have different configuration formats.
{
"mcpServers": {
"context7": {
"url": "https://mcp.context7.com/mcp/oauth"
}
}
}Optional: read a disposable file with Filesystem MCP
This is a separate local exercise in Cursor on Windows. It is unnecessary if native file access already meets your goal. Install a supported Node.js release satisfying the package’s current Node.js 24-or-later requirement, then reopen Cursor.
Ask AI to create a new mcp-lab practice folder with a files subfolder and a notes.txt containing: This is a disposable MCP test file. Open mcp-lab in Cursor. Use the exact absolute path to files below, replacing YOUR_WINDOWS_USER; this example uses read-only mode.
Add the filesystem entry to .cursor/mcp.json, preserving other entries. The first launch can download the npm package. This example uses the current package rather than a pinned release; check its runtime and version when repeating it.
Enable it and ask: Use only Filesystem MCP to list its allowed directories and read notes.txt; do not use native file tools. Inspect the named call and the returned sentence. To finish, remove this entry and confirm its process stops.
The folder restriction and read-only setting apply to this server, not the coding tool’s other capabilities. Local server execution does not keep returned file content away from a cloud model.
{
"mcpServers": {
"filesystem": {
"command": "cmd",
"args": [
"/c",
"npx",
"-y",
"@modelcontextprotocol/server-filesystem",
"--read-only",
"C:\\Users\\YOUR_WINDOWS_USER\\mcp-lab\\files"
]
}
}
}If the connection or lookup fails
Give AI the exact error without credentials. Check client support, sign-in, network access, and account limits. For a local server, also check the runtime and absolute folder path.
A successful connection may still lack the library or version you need. Use the official library documentation directly in that case; do not let the AI claim a lookup it did not perform.
Sources, cost & review notes
Based on official documentation checked November 6, 2026; these client connections and prompts were not executed for this guide.
Your coding tool’s usage and Context7’s current account limits apply separately. A remote documentation connection is not an offline workflow or a promise of unlimited free use.
- Context7: OAuth endpoint and sign-in (opens a new tab) (reviewed 2026-11-06)
- Context7: supported client configurations (opens a new tab) (reviewed 2026-11-06)
- Cursor: MCP configuration and tool controls (opens a new tab) (reviewed 2026-11-06)
- Claude Code: MCP connections and disconnection (opens a new tab) (reviewed 2026-11-06)
- Filesystem MCP: allowed folders and read-only mode (opens a new tab) (reviewed 2026-11-06)
- Filesystem MCP: current runtime requirement (opens a new tab) (reviewed 2026-11-06)
- Context7 project and documentation tools (opens a new tab) (reviewed 2026-11-06)
Based on official documentation checked November 6, 2026; these client connections and prompts were not executed for this guide.