Skip to main content
Use the Context.dev toolkit in Composio to give your agents web and company data. Connect your Context.dev API key, then use the toolkit through Composio’s SDKs or a hosted Model Context Protocol (MCP) session.

Open Context.dev on Composio

Explore the toolkit and try its tools in Composio’s playground.

Prerequisites

Install and connect

1

Create a Context.dev auth config

In the Composio dashboard, open Platform → Auth Configs → Create Auth Config. Choose Context.dev (context_dev) and API Key, then save the configuration. Copy its auth config ID, which starts with ac_.Create this configuration once and reuse its ID. To test in Composio’s playground, open the configuration, select Connect Account, and enter your Context.dev API key from the Context.dev dashboard.
2

Install the Composio SDK

Set your Composio project API key and the auth config ID in your server environment:
The Composio API key authenticates your application to Composio. Enter your separate Context.dev API key when connecting the account.
3

Connect an application user

Create a session restricted to context_dev. Replace user_123 with a stable user ID from your application, then open the printed connection URL and enter that user’s Context.dev API key.
Composio stores the connected account for that user. Reuse the same user ID in later sessions. The dashboard’s Connect Account button creates a playground connection; use the SDK connection flow above for your application’s users.
4

Add the session to your framework

Pass session.mcp.url and session.mcp.headers to your framework’s HTTP MCP client. Follow Composio’s MCP framework examples for the client configuration.For native framework tools, use a Composio provider and register the tools returned by session.tools(). Keep the same toolkit, auth config, and user ID when creating that session.

Verify the setup

Ask your agent, or the Composio playground, to make a request you can inspect:
Confirm that CONTEXT_DEV_SCRAPE_WEBPAGE_MARKDOWN returns live output. Tool calls use credits from the connected Context.dev account.

Available tools

The Composio toolkit reference lists these 11 tools and their input schemas:

Troubleshooting

Reference

Composio framework providers

Use Context.dev tools with your agent framework’s native tool interface.

Composio authentication

Manage connection links and account status for your users.