Removal of label query parameter from connected accounts API
The label query parameter has been removed from the GET /api/v3/connected_accounts endpoint.
What’s changing?
The label query parameter is no longer supported when listing connected accounts. This parameter was previously accepted but had no functional behavior since label ingestion was removed in an earlier update.
Impact
None - This is a cleanup change. The label query parameter was not performing any filtering since the underlying label ingestion functionality was already removed. If your code was passing this parameter, it was being silently ignored.
Migration
No action required. If your code was passing the label query parameter, you can safely remove it from your API calls.
Enhanced Security Masking for Sensitive Fields
We’ve improved the security masking for REDACTED fields in the following APIs:
What’s Changed: Sensitive fields are now partially masked, revealing only the first 4 characters to help with debugging while maintaining security.
Example:
Disabling Masking
If you need to disable masking for your use case, you have two options:
- Via UI: Navigate to Project Settings → Configuration tab and update the masking settings
- Via API: Use the Patch Project Config API
Typed Responses Across Toolkits
We’ve updated many toolkits so their outputs are now strongly typed objects instead of a generic response_data blob, meaning tools like Outlook, HubSpot, Notion, etc. now return well-shaped, documented fields you can rely on directly in your code and agents. These improvements apply to the latest toolkit versions—see our toolkit versioning docs for how versions are managed.
Breaking Change for latest Version
If you’re using the latest version and your code post-processes the old response_data structure, you’ll need to update your code to work with the new flattened, typed response schemas.
Why This Matters
- Better developer experience for direct execute: clear fields and types
- Improved agent performance: flatter output shapes with explicit fields reduce nesting and invalid params
- Clearer docs and type safety: richer metadata for IDEs and autocomplete
Impacted Toolkits (57 total)
Communication & Collaboration
discordbot, microsoft_teams, slack, zoom
CRM & Sales
apollo, attio, hubspot, instantly, intercom, kommo, salesforce
Productivity & Docs
coda, confluence, googledocs, googletasks, notion, todoist
Marketing & Social Media
facebook, instagram, klaviyo, linkedin, metaads, reddit, tiktok
E-commerce & Payments
brex, quickbooks, ramp, shopify, square, stripe, xero
Project Management
clickup, linear
Design & Creative
canva, figma
Data & Analytics
ahrefs, airtable, apify, exa, pplx, serpapi, tavily
Email & Calendar
calendly, outlook
Storage & Files
one_drive
Web Tools
firecrawl, fireflies, google_maps, google_search_console
AI & Media
elevenlabs, heygen, lmnt, mem0
Customer Support
freshdesk, zendesk
Video & Content
youtube
Before vs After
Previous (generic, version 20251202_00):
Now (typed example – Outlook List Messages, version 20251209_00):
For the exact field mapping per toolkit, open platform.composio.dev → Toolkits → List Messages (or the relevant tool).
Migration Notes
- Breaking change for consumers on the
latestversion who post-process the old nestedresponse_datashape: outputs are now flattened and explicitly typed. - New and modified fields include richer descriptions and examples; some legacy placeholders were removed.
- Re-fetch schemas for your tool/version to see the typed definitions. Use the toolkit view in
platform.composio.devfor authoritative field details.
Transition to Self-Managed Credentials for Select Applications
This is a non-breaking change. Your existing integrations will continue to work as expected. This change only affects new integrations with the applications listed below.
What’s Changing?
Starting today, the following applications will require your own developer credentials instead of Composio-managed credentials:
- Auth0
- Blackbaud
- BoldSign
- Deel
- Front
- GoToWebinar
- PagerDuty
- Pipedrive
- Shopify
- Strava
- SurveyMonkey
- Webex
What You Need to Do
To continue using these applications with Composio:
- Create Developer Accounts: Register for developer accounts on the platforms you need
- Generate API Credentials: Create OAuth apps following each platform’s documentation
- Configure in Composio: Add your credentials to Composio using custom auth configs
- Test Your Integration: Test your integration with the new credentials
All other Composio applications continue to work with Composio-managed credentials. This change only affects the 12 applications listed above.
Connected Account Expiration for Incomplete Connections
We’re implementing automatic expiration for connected accounts that remain in incomplete states, helping maintain a cleaner and more efficient authentication system.
What’s Changing?
Connected accounts in Initializing and Initiated states will now automatically expire after 10 minutes. This applies to connection attempts that were started but never completed.
Why This Matters
This change provides:
- Better Resource Management: Automatically cleans up incomplete connection attempts
- Improved System Hygiene: Prevents accumulation of stale, unused connection records
- Enhanced User Experience: Reduces clutter from abandoned authentication flows
This is a non-breaking change. Your existing integrations and completed connections will continue to work as expected. This change only affects connection attempts that are never completed.
Questions?
If you have any questions about this change, please reach out to our support team or check our Connected Accounts documentation.
Required API Key Authentication for MCP URLs
We’re strengthening the security of Model Context Protocol (MCP) URLs by making API key authentication mandatory for all requests.
What’s Changing?
Starting December 15th, 2025, all new Composio projects must include the x-api-key header when making requests to MCP URLs. This header authenticates your application and ensures secure communication with the Composio platform.
Why This Matters
This change provides:
- Enhanced Authentication: Ensures only authorized applications can access MCP endpoints
- Industry Best Practices: Aligns with standard API security patterns
Impact on Existing Projects
For existing projects: We value backward compatibility and understand the need for a smooth transition. Your existing MCP URLs will continue to work without the x-api-key header until April 15th, 2026.
Important: After April 15th, 2026, all MCP URL requests without the x-api-key header will be rejected. Please ensure you update your applications before this date to avoid service disruption.
Note: If you’re already passing the x-api-key header in your MCP requests, no action is required—you’re all set!
Migration Guide
To adopt this security enhancement in your existing projects:
- Locate Your API Key: Find your API key in the Composio dashboard under Project Settings
- Update Your Code: Add the
x-api-keyheader to all MCP URL requests - Test Thoroughly: Verify the updated requests work in your development environment
- Deploy: Roll out the changes to your production environment
Questions?
If you have any questions about this security enhancement or need assistance with migration, please reach out to our support team or check our MCP documentation.
Toolkit Version Support for Triggers
Summary
Added toolkit version support to trigger operations (create and getType) in both Python and TypeScript SDKs. This allows users to explicitly specify which toolkit version to use when creating trigger instances and retrieving trigger type information, ensuring consistent behavior across different toolkit versions.
Trigger operations now respect the global toolkitVersions configuration set during Composio initialization, providing better control over which trigger versions are used in your applications.
Key Changes
TypeScript SDK (ts/packages/core/)
- Added
toolkit_versionsparameter totriggers.create()method- Passes the global toolkit versions configuration when creating trigger instances
- Defaults to
'latest'when no version is specified
- Modified
triggers.getType()to respect global toolkit versions- Now accepts toolkit version configuration to fetch trigger types for specific versions
- Improved error messages to include version-related fixes
- Updated trigger type documentation with comprehensive examples
- Added behavior documentation explaining version usage patterns
Python SDK (python/composio/core/models/)
- Added
toolkit_versionsparameter totriggers.create()method- Uses global toolkit version configuration when creating trigger instances
- Converts
Nonetoomitfor API compatibility
- Modified
triggers.get_type()to respect toolkit versions- Implemented custom method replacing direct client binding
- Passes toolkit version configuration to API calls
- Added comprehensive docstrings explaining version behavior
Behavior
Creating Triggers with Toolkit Versions:
Retrieving Trigger Types with Specific Versions:
Benefits
- Version Control: Explicitly specify which toolkit version to use for triggers
- Consistency: Ensure trigger behavior remains consistent across toolkit updates
- Testing: Test trigger integrations with specific versions before updating
- Debugging: Easier to debug issues by pinning to specific toolkit versions
- Production Safety: Avoid unexpected changes from automatic version updates
Migration Guide
This is a non-breaking change. Existing code will continue to work with default behavior:
Before (still works):
After (recommended for production):
For more details on toolkit versioning, see the Toolkit Versioning documentation.
Enhanced MCP URL Security Requirements
We’re introducing improved security requirements for Model Context Protocol (MCP) URLs to ensure better isolation between user connections and prevent unauthorized access.
What’s Changing?
Starting today, all new Composio projects must include at least one of the following parameters in their MCP URLs:
user_id- Identifies the specific userconnected_account_id- Identifies the specific connected account
Why This Matters
This change ensures that:
- User Isolation: Each user’s connections remain completely separate from others
- Enhanced Security: Prevents potential cross-user data access scenarios
- Better Multi-Tenancy: Enables safer multi-tenant application architectures
- Explicit Access Control: Forces developers to explicitly specify which user or account context they’re operating in
Impact on Existing Projects
For existing projects: We understand the importance of backward compatibility. While we’ve sent email notifications to project owners about upgrading their MCP URLs, your existing integrations will continue to work until January 15th, 2026.
Important: After January 15th, 2026, MCP URLs without user_id or connected_account_id query parameters will no longer be supported. Please ensure you update your MCP URLs before this date to avoid service disruption.
Note: If your MCP URLs already include either user_id or connected_account_id query parameters, no action is required—you can safely ignore this notice.
Implementation Example
Before:
After (with user_id):
After (with connected_account_id):
Migration Guide
If you’re using an existing project and want to adopt this security enhancement:
- Review your current MCP URL configuration
- Add either
user_idorconnected_account_idparameter to your URLs - Update your application code to pass the appropriate identifier
- Test the updated URLs in your development environment
For more details on choosing the right user identifiers for your application, see our User Management documentation.
Questions?
If you have any questions about this security enhancement or need assistance with migration, please reach out to our support team or check our MCP documentation.
Adds Version Checks for Tool Execution and Improved Execution Speed in TS SDK
Summary
Added version validation for manual tool execution to prevent unexpected behavior when using latest toolkit versions. This ensures users explicitly specify toolkit versions when executing tools manually, while allowing flexibility through a skip flag.
This release also eliminates a lot of redundant API calls made to check connected account during tool execution, effectively increasing the performance of tool execution.
Key Changes
Python SDK (python/)
- ✅ Added
ToolVersionRequiredErrorexception with detailed error messages and fix suggestions - ✅ Added
dangerously_skip_version_checkparameter toexecute()method - ✅ Modified
_execute_tool()to validate version is notlatestunless skip flag is set - ✅ Automatically passes
dangerously_skip_version_check=Truefor agentic provider flows - ✅ Added comprehensive test coverage (19 test methods) in
test_tool_execution.py
TypeScript SDK (ts/packages/core/)
- ✅ Added
ComposioToolVersionRequiredErrorerror class with possible fixes - ✅ Added
dangerouslySkipVersionCheckparameter to execute flow - ✅ Modified tool execution to validate version before API calls
- ✅ Updated execution type definitions in
tool.types.tsandmodifiers.types.ts - ✅ Updated test files with date-based version format (
20251201_xx) - ✅ Improved tool execution by eliminating redundant API calls
Behavior
Before: Tools could be executed with latest version, risking unexpected behavior on toolkit updates
After: Manual execution requires specific version or explicit skip flag:
Breaking Changes
⚠️ Manual tool execution without version specification now throws an error. Users must either:
- Pass explicit version parameter
- Configure toolkit versions in SDK initialization
- Set environment variable
COMPOSIO_TOOLKIT_VERSION_<TOOLKIT_SLUG> - Use
dangerously_skip_version_check=Trueflag
MCP (Model Control Protocol) & Experimental ToolRouter
Composio now introduces comprehensive MCP (Model Control Protocol) support and an experimental ToolRouter for creating isolated, scoped sessions with advanced toolkit management. These features enable seamless integration with modern AI frameworks and provide powerful session-based tool routing capabilities.
Why Use MCP & ToolRouter?
- Framework Integration: Native MCP support for Vercel AI, Mastra, OpenAI Agents, and LangChain
- Session Isolation: Create isolated sessions with specific toolkit configurations
- Advanced Authentication: Flexible auth config management per toolkit
- Scoped Access: Control which tools are available within each session
- Multi-Service Workflows: Route tool calls efficiently across different services
- Development & Testing: Perfect for testing and development with scoped MCP server access
TypeScript SDK (v0.1.53)
Added: MCP API
Core MCP Features:
- MCP Server Creation: Create and manage MCP server configurations
- User-Specific URLs: Generate unique MCP server URLs for individual users
- Toolkit Configuration: Support for multiple toolkits with custom auth configs
- Tool Filtering: Specify allowed tools per configuration
- Connection Management: Choose between manual and automatic account management
Basic Usage:
Framework Integration Examples:
Added: Experimental ToolRouter
Core ToolRouter Features:
- Session-Based Routing: Create isolated sessions for specific users and toolkit combinations
- Dynamic Configuration: Configure toolkits and auth configs per session
- MCP Server URLs: Each session gets a unique MCP server endpoint
- Flexible Toolkit Management: Support for string names or detailed toolkit configurations
- Connection Control: Manual or automatic connection management per session
Basic Usage:
Advanced Multi-Service Integration:
Framework-Specific Examples:
Python SDK (v0.8.17)
Added: MCP Support
Core MCP Features:
- Server Configuration: Create and manage MCP server configurations
- Toolkit Management: Support for both simple toolkit names and detailed configurations
- Authentication Control: Per-toolkit auth config specification
- Tool Filtering: Specify allowed tools across all toolkits
- User Instance Generation: Generate user-specific MCP server instances
Basic Usage:
Simple Toolkit Usage:
LangChain Integration:
Added: Experimental ToolRouter
Core ToolRouter Features:
- Session Management: Create isolated tool routing sessions for users
- Toolkit Configuration: Support for both simple toolkit names and detailed configurations
- Session Isolation: Each session gets its own MCP URL and session ID
- Flexible Authentication: Per-session auth config management
- Scoped Tool Access: Control which tools are available within each session
Basic Usage:
Advanced Configuration:
Integration with AI Frameworks:
Migration Guide
TypeScript SDK: Migrating to New MCP API
The new MCP API provides enhanced functionality and better integration patterns. Here’s how to migrate from the previous MCP implementation:
Before (Legacy MCP)
After (New MCP API)
Key Migration Changes
-
Two-Step Process:
- Before: Single step server creation
- After: Create configuration, then generate user instances
-
Enhanced Configuration:
- Before: Simple toolkit names only
- After: Detailed toolkit configs with auth, tool filtering, connection management
-
User-Specific URLs:
- Before: Single server URL for all users
- After: Unique URLs per user for better isolation
-
Backward Compatibility:
- Legacy Access: Old MCP functionality remains available via
composio.deprecated.mcp - Gradual Migration: Migrate at your own pace without breaking existing implementations
- Legacy Access: Old MCP functionality remains available via
Migration Benefits
- Better Security: User-specific sessions with isolated access
- Enhanced Control: Fine-grained toolkit and tool management
- Framework Integration: Native support for modern AI frameworks
- Scalability: Better resource management and user isolation
Migration Timeline
- Phase 1: New MCP API available alongside legacy implementation
- Phase 2: Legacy MCP accessible via
deprecated.mcpnamespace - Phase 3: Full deprecation (timeline to be announced)
Recommendation: Start new projects with the new MCP API and gradually migrate existing implementations to benefit from enhanced features and better framework integration.
Key Benefits & Use Cases
Development & Testing
- Isolated Environments: Test different toolkit combinations without affecting production
- Scoped Access: Limit tool access for security and testing purposes
- Framework Flexibility: Works with any MCP-compatible client or framework
Production Workflows
- Multi-Service Integration: Seamlessly combine tools from different services
- User-Specific Sessions: Each user gets their own isolated session with appropriate permissions
- Authentication Management: Fine-grained control over authentication per toolkit
Framework Compatibility
- Vercel AI: Native integration with Vercel AI SDK
- Mastra: Full support for Mastra agents and workflows
- OpenAI Agents: Direct integration with OpenAI’s agent framework
- LangChain: Complete LangGraph and LangChain compatibility
- Custom Clients: Works with any MCP-compatible client
Enterprise Features
- Session Management: Track and manage multiple user sessions
- Resource Control: Limit concurrent sessions and resource usage
- Audit Trail: Full logging and monitoring of tool usage
- Security: Isolated sessions prevent cross-user data access
Migration & Compatibility
Both MCP and ToolRouter features are designed to complement existing Composio functionality:
The experimental ToolRouter API provides a preview of advanced session management capabilities, while the MCP API offers production-ready Model Control Protocol support for modern AI frameworks.
Bug Fixes
Fixed: ToolRouter Dependency Issue
Python SDK (v0.8.19)
Issue Fixed:
- ToolRouter Functionality: Fixed ToolRouter tests that were failing due to missing
tool_routerattribute in HttpClient - Dependency Update: Updated
composio-clientdependency from version 1.9.1 to 1.10.0+ to include ToolRouter functionality - Version Compatibility: Resolved compatibility issues between ToolRouter implementation and client library
Details:
ToolRouter functionality was briefly broken in versions 0.8.15 to 0.8.18 due to a dependency version mismatch. The composio-client library version 1.9.1 did not include the tool_router attribute, causing all ToolRouter integration tests to fail with AttributeError: 'HttpClient' object has no attribute 'tool_router'.
This has been fixed in version 0.8.19 by:
- Updating the
composio-clientdependency to version 1.10.0+ - Ensuring all ToolRouter functionality is now available
- All ToolRouter integration tests now pass successfully
Previous Issue:
Fixed in 0.8.19:
Fixed: Missing Descriptions in Auth Config Fields
Python SDK (v0.8.17) & TypeScript SDK (v0.1.53)
Issue Fixed:
- Auth Config Connection Fields: Added missing descriptions to toolkit auth configuration connection fields
- Auth Config Creation Fields: Added missing descriptions to toolkit auth configuration creation fields
- Field Documentation: Improved field documentation and help text for better developer experience
Details: Previously, when developers were setting up auth configurations for toolkits, many fields lacked proper descriptions, making it difficult to understand what information was required. This fix ensures all auth config fields now include:
- Clear, descriptive field labels
- Helpful placeholder text where appropriate
- Detailed explanations of field requirements
This improvement affects all toolkits and makes the authentication setup process more intuitive and error-free.