Skip to content

MCP support - #643

Merged
tomlin7 merged 14 commits into
mainfrom
feat/mcp
Jul 30, 2026
Merged

tomlin7 merged 14 commits into
mainfrom
feat/mcp

Conversation

@tomlin7

@tomlin7 tomlin7 commented Jul 29, 2026

Copy link
Copy Markdown
Owner

No description provided.

@vercel

vercel Bot commented Jul 29, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
biscuit Ready Ready Preview Jul 30, 2026 8:31pm

tomlin7 added 13 commits July 29, 2026 23:57
- Abstract AIProvider base class with generate() + process_message()
- Provider registry in providers/__init__.py with auto-registration
- GeminiProvider extracted from old agent code
- AnthropicProvider extracted from old agent code
- GroqProvider (OpenAI-compatible, uses httpx)
- Agent now resolves provider by model ID via registry
- settings.toml: added [ai] section with default_model, keys, mcp_servers
- No more hardcoded SDK imports in the Agent
- MCPManager + MCPServer for Model Context Protocol integration
- MCP servers configured via settings, tools merged with built-in tools
- Gemini: updated to 2.5 Pro/Flash/Lite + 3 Flash Preview (removed 2.0/1.5)
- Anthropic: updated to Opus 4.8, Sonnet 4.6, Haiku 4.5 (removed 3.x)
- Groq: updated with Llama 4 Scout/Maverick, Mistral Saba, Qwen Coder
  (removed deprecated Mixtral 8x7B)
- Added Nested get_nested/set_nested to Config for TOML section access
- Added PasswordItem (masked entry) to settings items
- Added add_password method to Section
- Added AI section to SettingsEditor with:
  - Default Model dropdown (populated from provider registry)
  - Gemini / Anthropic / Groq API key fields (password masked)
- Keys no longer stored in SQLite in the AI view
- AI view now reads API keys from settings.toml (ai.keys.*)
- No more SQLite database for secrets
- Model list populated from provider registry (auto-discovers all providers)
- Default model loaded from settings.toml (ai.default_model)
- Placeholder now links to Settings instead of inline key entry
- MCP servers initialized from settings.toml (ai.mcp_servers)
- Settings gear icon added to AI view header
- Keys resolved per model (claude->anthropic, groq models->groq, else gemini)
Removed AIPlaceholder. Chat interface always shows; when user
sends a message without a configured API key, the error is shown
inline in the chat as a message bubble instead of blocking the UI.
Added MCPServersItem — a settings item that lists all configured
MCP servers with inline editing of command/args/env, a delete
button per server, and an add form for new servers. Wired into
the SettingsEditor as a new 'MCP Servers' section.
pack_forget before pack(before=...) causes TclError since the
reference widget is no longer packed. Pack form first, then
hide the add button.
@codecov

codecov Bot commented Jul 29, 2026

Copy link
Copy Markdown

Welcome to Codecov 🎉

Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.

Thanks for integrating Codecov - We've got you covered ☂️

@tomlin7
tomlin7 merged commit 737049a into main Jul 30, 2026
7 of 8 checks passed

This branch was successfully deployed

1 active deployment
Preview — b04eea5f Deployed Jul 30, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant