A remote MCP server runs over Streamable HTTP and needs authentication, and the 2025-06-18 specification revision added OAuth 2.1 support. Before you connect, check which folders, accounts or services the server can reach, because a server with wide scope can expose more than the task needs. Keep the scope to the one folder or service the job requires.
Checked on 2026-11-29. We did not run any tool for this guide. Every result below is an expected result, marked UNTESTED, for you to confirm on your own files.
Prerequisites
- The server documentation or README stating its permissions
- The account or folder the server will use
- Your client settings open, so you can see the connection screen
Steps
1. Find the scope statement
Open the server README or docs and look for the permissions, scopes or OAuth section. Note every folder, API or account it asks for.
Expected result: A written list of requested scopes exists, for example read access to one folder.
2. Compare scope with the task
Write down the task in one sentence, then cross out any scope the task does not need. A notes server does not need your email account.
Expected result: Each scope is marked needed or not needed for the task.
3. Check the auth method
Confirm whether the server uses OAuth 2.1, an API key or no auth at all. A remote server with no auth is a reason to stop.
Expected result: The auth method is named, and a server with no auth is not connected.
4. Connect with the smallest scope
Grant only the needed scope, and test with one harmless prompt such as listing files in the allowed folder.
Expected result: The first prompt works inside the allowed scope and cannot reach outside it.
Worked example
A practice notes server asks for three scopes. Only one matches the task of searching notes.
| Scope asked | Task needs it? | Decision |
|---|---|---|
| Read notes folder | Yes | Grant |
| Write notes folder | No | Deny |
| Read email | No | Deny |
Expected result: One scope is granted, two are denied, and the server can only read the notes folder (UNTESTED – confirm it yourself.)
Verdict table
| Check | Expected result | Pass? |
|---|---|---|
| Find the scope statement | A written list of requested scopes exists, for example read access to one folder. | – |
| Compare scope with the task | Each scope is marked needed or not needed for the task. | – |
| Check the auth method | The auth method is named, and a server with no auth is not connected. | – |
| Connect with the smallest scope | The first prompt works inside the allowed scope and cannot reach outside it. | – |
Limits
- Scope statements are written by the server author; a malicious server can lie about what it does.
- OAuth scopes are enforced by the service, not by the MCP protocol itself.
Sources
- Model Context Protocol (Stanford CS329T slides) – checked 2026-11-29
- The Model Context Protocol (MCP) for compliance data – checked 2026-11-29
- What is the Model Context Protocol (MCP)? – checked 2026-11-29
