Skip to main content

🔑 ContextPortal

Give your AI agent access to authenticated web pages — without giving it your credentials.

Your AI agent can fetch any public webpage. But the moment it hits a login wall — Jira, Confluence, internal wikis, enterprise dashboards — it's stuck.

ContextPortal sits between your AI agent and the web. When the agent needs a protected page, ContextPortal uses your existing browser session to grab it, strips out all the noise, and hands back clean Markdown. The agent gets context. It never gets your cookies.

🤖 Agent: "I can't read this ticket. It's behind an SSO login wall. Please take 5 screenshots."
👤 You: "No way. Why am I doing homework for an AI?"
🔑 ContextPortal: "Say less. Log in once in your browser; your agent retrieves the page forever."

🏛️ The 4 Pillars

  • 🛑 Stop feeding your AI screenshots. Copy-paste is not an agent architecture.
  • 🔁 Authenticate once. Retrieve context continuously. Log in once; your agent reads forever.
  • 🔐 Your browser holds the session. Your agent gets the page. Zero cookies leaked.
  • 🎯 Give your agent a retrieval tool, not a browser to operate. Clean Markdown, zero DOM fragility.

Install

🔌 Connect ContextPortal to your AI

ContextPortal works through the Model Context Protocol (MCP) and configures supported AI clients automatically.

┌──────────────────────────────────────────────┐
│  Connect your agent                          │
│                                              │
│  $ contextportal setup                       │
│                                              │
│  ✓ MCP server                                │
│  ✓ Browser profile                           │
│  ✓ AI client                                 │
│                                              │
│  Ready.                                      │
└──────────────────────────────────────────────┘

Onboarding shouldn't feel like wrestling with JSON files and virtual environments.
It's three steps: Install ContextPortal → Connect your agent → Give it the URL.


Step 1: Install ContextPortal

uv tool install contextportal

🪄 Quick Setup (Auto-Config)


Configure your AI agent (Claude Desktop, Cursor, Antigravity) with a single command:

Step 2: Connect your AI agent

contextportal setup

Verify your environment anytime: That's it! ContextPortal scans your system, detects installed AI agent clients, creates a safety backup, and registers the MCP server automatically.

contextportal doctor

🩺 Run contextportal doctor anytime to audit your system health and client connections.

🔐 Log In (Once)


Log into your private sites in your local browser — your session is saved automatically:

🤖 Supported AI Clients

ContextPortal provides zero-friction automatic setup for major AI developer tools, plus a standard manual fallback:

AI Client Platform Automatic Setup Manual Config Path
Cursor Win / Mac / Linux contextportal setup --client cursor ~/.cursor/mcp.json
Google Antigravity Win / Mac / Linux contextportal setup --client antigravity ~/.gemini/antigravity/mcp_config.json
Claude Desktop Win / Mac / Linux contextportal setup --client claude %APPDATA%\Claude\ or ~/Library/Application Support/Claude/
VS Code (Cline / Roo / Copilot) Universal Built-in MCP settings .vscode/mcp.json or Extension settings
Any Custom MCP Client Universal STDIO transport Standard JSON payload

Step 3: Log into your private sites (once)

contextportal login

Test it directly: A clean browser opens. Log into your private tools — Jira, Confluence, internal wikis, GitHub enterprise, Handshake. Close the window when you're done. Your session stays locally on your machine.

contextportal fetch https://your-protected-site.com/docs

🔌 Manual MCP Configuration (Optional)

🎉 You're ready. Now just give your agent the URL.

In your AI chat (Cursor, Claude, Antigravity, etc.):

"Summarize the roadmap at https://internal.company.com/q3-roadmap"

Your agent calls ContextPortal → ContextPortal retrieves the page through your authenticated session → clean, token-optimized Markdown comes back.

No screenshots. No copy-pasting. You're done.


🛠️ Manual Configuration Fallback (Optional)

If you prefer to configure manually:

{
  "mcpServers": {
    "context-portal": {
      "command": "contextportal",
      "args": ["mcp"]
    }
  }
}

Works with Cursor, Claude Desktop, Antigravity, VS Code, and any MCP client.

Check your version and update

contextportal --version
contextportal update --check
contextportal update

On Windows, update closes MCP processes launched by the same ContextPortal executable so the installer can replace it. Wait for the completion message, then reconnect ContextPortal in your AI client.

Learn More

Metadata

Release files for contextportal 0.5.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for contextportal 0.5.1
File Size Uploaded Provenance Actions
contextportal-0.5.1.tar.gz 34.7 kB With provenance Details for contextportal-0.5.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for contextportal 0.5.1
File Interpreter ABI Platform Actions
contextportal-0.5.1-py3-none-any.whl Python 3 none any Details for contextportal-0.5.1-py3-none-any.whl

Total release size: 61.0 kB

Release files / contextportal-0.5.1.tar.gz

Download URL contextportal-0.5.1.tar.gz
Size 34.7 kB
Tags Source
SHA-256 checksum
How to use checksums
107ea0825bd790ae168ce326f579b38a58a6463f5abd3070887109149b75fb85
BLAKE2b-256 checksum
How to use checksums
cccb6f4c1a8ffeb96e944346ded7a200e6747bfd535619b9e88af44ea1712706
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 18, 2026.

Transparency log

Release files / contextportal-0.5.1-py3-none-any.whl

Download URL contextportal-0.5.1-py3-none-any.whl
Size 26.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3c1c8142de45fd238328885be2afd18d7f9d6ab05ce32d9ba5dd0215e741acea
BLAKE2b-256 checksum
How to use checksums
14cdc9de6f848940ad5b891efd3a42beb074bde2f526cf3d4e482ad1da6bc902
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 18, 2026.

Transparency log

Security for contextportal 0.5.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for contextportal-0.5.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 18, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page