pip install contextportal==0.4.0 Copy PIP instructions
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."
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.
uv tool install contextportal 🪄 Quick Setup (Auto-Config) Configure your AI agent (Claude Desktop, Cursor, Antigravity) with a single command:
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 into your private sites in your local browser — your session is saved automatically:
ContextPortal provides zero-friction automatic setup for major AI developer tools, plus a standard manual fallback:
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.
{ "mcpServers": { "context-portal": { "command": "contextportal", "args": ["mcp"] } } } Works with Cursor, Claude Desktop, Antigravity, VS Code, and any MCP client.
mcp ai-agents retrieval browser-automation context-proxy security
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
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 verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 10, 2026.




