# How to connect Agenty MCP with VS Code

```json
{
  "title": "How to connect Agenty MCP with VS Code",
  "toolkit": "Agenty",
  "toolkit_slug": "agenty",
  "framework": "VS Code",
  "framework_slug": "vscode",
  "url": "https://composio.dev/toolkits/agenty/framework/vscode",
  "markdown_url": "https://composio.dev/toolkits/agenty/framework/vscode.md",
  "updated_at": "2026-05-06T07:59:40.002Z"
}
```

## Introduction

### How to connect Agenty MCP with VS Code
VS Code is the most popular code editor out there. With its recent AI makeover, it can do more than just help you write code. You can connect your applications to it and let LLMs automate many of the mundane tasks in your workflow.
In this guide, I will explain how to connect Agenty with VS Code in the most secure and robust way possible via Composio.

## Also integrate Agenty with

- [ChatGPT](https://composio.dev/toolkits/agenty/framework/chatgpt)
- [OpenAI Agents SDK](https://composio.dev/toolkits/agenty/framework/open-ai-agents-sdk)
- [Claude Agent SDK](https://composio.dev/toolkits/agenty/framework/claude-agents-sdk)
- [Claude Code](https://composio.dev/toolkits/agenty/framework/claude-code)
- [Claude Cowork](https://composio.dev/toolkits/agenty/framework/claude-cowork)
- [Codex](https://composio.dev/toolkits/agenty/framework/codex)
- [Cursor](https://composio.dev/toolkits/agenty/framework/cursor)
- [OpenCode](https://composio.dev/toolkits/agenty/framework/opencode)
- [OpenClaw](https://composio.dev/toolkits/agenty/framework/openclaw)
- [Hermes](https://composio.dev/toolkits/agenty/framework/hermes-agent)
- [CLI](https://composio.dev/toolkits/agenty/framework/cli)
- [Google ADK](https://composio.dev/toolkits/agenty/framework/google-adk)
- [LangChain](https://composio.dev/toolkits/agenty/framework/langchain)
- [Vercel AI SDK](https://composio.dev/toolkits/agenty/framework/ai-sdk)
- [Mastra AI](https://composio.dev/toolkits/agenty/framework/mastra-ai)
- [LlamaIndex](https://composio.dev/toolkits/agenty/framework/llama-index)
- [CrewAI](https://composio.dev/toolkits/agenty/framework/crew-ai)

## TL;DR

### Why use Composio?
Composio provides:
- Access to 1,000+ managed apps from a single MCP endpoint. This makes it convenient for agents to run cross-app workflows.
- Programmatic tool calling. Allows LLMs to write its code in a remote workbench to handle complex tool chaining. Reduces to-and-fro with LLMs for frequent tool calling.
- Large tool response handling outside the LLM context. This minimizes context bloat from large tool responses.
- Dynamic just-in-time access to thousands of tools across hundreds of apps. Composio loads the tools your agent needs, so LLMs are not overwhelmed by tools they do not need.

## Connect Agenty to VS Code

### Integrate Agenty MCP with VS Code
### 1. Install with one click
Click the button below to add Composio to VS Code. You will be prompted to authorize. This requires VS Code 1.99+ with GitHub Copilot.
[+Install in VS Code](vscode:mcp/install?%7B%22name%22%3A%22composio%22%2C%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fconnect.composio.dev%2Fmcp%22%7D)
### 2. Or add manually
Open or create .vscode/mcp.json in your project root and add the following configuration:

```bash
{
  "servers": {
    "composio": {
      "type": "http",
      "url": "https://connect.composio.dev/mcp"
    }
  }
}
```

## What is the Agenty MCP server, and what's possible with it?

The Agenty MCP server is an implementation of the Model Context Protocol that connects your AI agent and assistants like Claude, Cursor, etc directly to your Agenty account. It provides structured and secure access to your web scraping agents and automation tools, so your agent can perform actions like creating, managing, cloning, and monitoring scraping agents, as well as handling API keys and templates—all on your behalf.
- Agent creation and configuration: Instantly create new scraping or automation agents, set up their configurations, and optionally auto-start them—all without manual coding.
- Clone and update agents: Duplicate existing agents to streamline workflows or update agent settings to refine your data extraction processes.
- Fetch and manage agents: List all active agents in your account, retrieve details for any agent, and organize your entire automation fleet from a single place.
- Template selection and management: Browse public agent templates or sample agents, making it easy to kickstart new projects or standardize scraping tasks.
- API key management: Create, download, or delete API keys for secure programmatic access and efficient credential management, keeping your automation environment safe and organized.

## Supported Tools

| Tool slug | Name | Description |
|---|---|---|
| `AGENTY_AGENTS_CLONE_BY_ID` | Clone Agent by ID | Tool to clone an existing agent by its id. use when you need to duplicate an agent's configuration and optionally start the clone immediately. |
| `AGENTY_AGENTS_CONTROLLER_CREATE_AGENT` | Create Agent | Tool to create a new agent. use when you need to add an agent with configuration and optional auto-start. |
| `AGENTY_AGENTS_CONTROLLER_GET_TEMPLATES` | Get Agent Templates | Tool to fetch all public agent templates and sample agents. use when listing available templates for users to select. |
| `AGENTY_AGENTS_DELETE_BY_ID` | Delete Agent by ID | Tool to delete a single agent by its id. use when you need to permanently remove an agent after confirming it exists. |
| `AGENTY_AGENTS_GET_ALL` | Fetch all agents | Tool to fetch all active agents under an account. use after authenticating when you need to list agents with pagination and sorting. |
| `AGENTY_AGENTS_GET_BY_ID` | Get Agent by ID | Tool to fetch details of a specific agent by its id. use when you need full agent configuration before taking further actions. |
| `AGENTY_AGENTS_UPDATE_BY_ID` | Update Agent by ID | Tool to update an agent's configuration and settings by agent id. use when you need to modify an existing agent after retrieving its current settings. example: "update agent 123 with new name and tags." |
| `AGENTY_API_KEYS_CONTROLLER_CREATE_API_KEYS` | Create API Key | Tool to create a new api key. use when you need to provision access credentials for the api. |
| `AGENTY_API_KEYS_DELETE_BY_ID` | Delete API key by ID | Tool to delete an api key by its key id. use when revoking access for a specific api key after confirming the correct key id. |
| `AGENTY_API_KEYS_DOWNLOAD` | Download API keys | Tool to download all api keys under an account in csv format. use when you need a complete list of api keys for export or backup. |
| `AGENTY_API_KEYS_GET_ALL` | Get all API keys | Tool to retrieve all api keys under an account. use after authentication when you need to list api keys with pagination and sorting. |
| `AGENTY_API_KEYS_GET_BY_ID` | Get API key by ID | Tool to get an api key by key id. use when retrieving details of a specific api key after identifying its id. |
| `AGENTY_API_KEYS_RESET_BY_ID` | Reset API key by ID | Tool to reset an api key by key id. use when you need to regenerate the secret for an api key after compromise or rotation. |
| `AGENTY_API_KEYS_UPDATE_BY_ID` | Update API key by ID | Tool to update an api key by its id. use when you need to modify name, role, or enabled state after confirming the api key's identifier. |
| `AGENTY_CHANGE_API_KEY_STATUS_BY_ID` | Change API key status by ID | Tool to enable or disable an api key by its id. use when you need to toggle the activation state of an existing api key after retrieving its identifier. |
| `AGENTY_CONNECTIONS_GET_ALL` | Get all connections | Tool to get all connections. use after authenticating when you need to list connections with pagination and sorting. |
| `AGENTY_CREATE_API_KEY` | Create API Key | Tool to create a new api key. use when you need to provision access credentials for the api. |
| `AGENTY_DASHBOARD_GET_REPORTS_USAGE` | Get dashboard reports and usage | Tool to fetch account reports like pages used by agent, date, and product. use when analyzing usage over a date range. |
| `AGENTY_INPUTS_GET_BY_AGENT_ID` | Get agent input by ID | Tool to get agent input by agent id. use when you need to inspect or validate an agent's current input configuration before updating or starting jobs. |
| `AGENTY_INPUTS_UPDATE_BY_AGENT_ID` | Update Input by Agent ID | Tool to update agent input by agent id. use when you need to modify an agent's input source (url, manual data, list, or agent) after verifying the agent id. |
| `AGENTY_JOBS_DOWNLOAD` | Download jobs | Tool to download all jobs in csv format. use when you need a complete list of jobs for export or analysis. |
| `AGENTY_JOBS_DOWNLOAD_FILES_BY_ID` | Download job file by ID | Tool to download output files by job id. use when you need to fetch a specific output file after a job completes. |
| `AGENTY_JOBS_DOWNLOAD_RESULT_BY_ID` | Download Job Result by ID | Tool to download the agent output result by job id. use when you need to fetch the final output of a completed job in csv, tsv, or json format. |
| `AGENTY_JOBS_GET_ALL` | Fetch all jobs | Tool to fetch all jobs under an account. use when you need to view and filter the list of jobs with pagination and sorting. |
| `AGENTY_JOBS_GET_BY_ID` | Get Job by ID | Tool to fetch details of a specific job by its id. use when you need the full job metadata before retrieving results. |
| `AGENTY_JOBS_GET_LOGS_BY_ID` | Get Job Logs by ID | Tool to fetch logs for a given job by its id. use when you need to review or debug job execution logs with pagination support. |
| `AGENTY_JOBS_LIST_FILES_BY_ID` | List job files by ID | Tool to list output files by job id. use after job completion when you need to discover available output files. |
| `AGENTY_JOBS_START` | Start Agent Job | Tool to start a new agent job. use when you need to trigger execution of an existing agent. |
| `AGENTY_JOBS_STOP_BY_ID` | Stop Job by ID | Tool to stop a running job by job id. use when you need to halt an in-progress job before it completes. confirm the job id beforehand to avoid unintended stops. |
| `AGENTY_LISTS_CLEAR_ROWS` | Clear List Rows | Tool to clear all rows in a list by its id. use when you need to wipe out all data in a list before re-populating (e.g., "clear all rows in list 123"). |
| `AGENTY_LISTS_CONTROLLER_CREATE_LIST` | Create List | Tool to create a new list. use after preparing the list name and optional description. example: "create a list named 'contacts' with description 'potential leads'." |
| `AGENTY_LISTS_DELETE_BY_ID` | Delete List by ID | Tool to delete a specific list by its id. use when you need to permanently remove a list after confirming it exists. |
| `AGENTY_LISTS_DOWNLOAD` | Download lists | Tool to download all lists in csv format. use when you need a complete set of lists for export or backup. |
| `AGENTY_LISTS_GET_ALL` | Get all lists | Tool to retrieve all lists under an account. use after authentication when you need to list lists with pagination and sorting. |
| `AGENTY_LISTS_GET_ROWS_BY_ID` | Fetch List Rows by ID | Tool to fetch all rows in a specified list. use when you need to retrieve all data entries from a list with optional pagination and sorting. example: "fetch rows from list '61db...' with limit=50". |
| `AGENTY_LISTS_UPDATE_BY_ID` | Update List by ID | Tool to update a list's name or description by list id. use when you need to modify list metadata after confirming its id. example: "update list 123 with name 'my list'". |
| `AGENTY_LISTS_UPLOAD_CSV` | Upload CSV file to List | Tool to upload a csv file to a list. use when you need to bulk import rows into an existing list after verifying the list's column schema. |
| `AGENTY_PROJECTS_ADD_AGENTS` | Add Agents to Project | Tool to add agent(s) to a project. use after confirming the project exists and you have valid agent ids. example: "add agents ['agent abc123','agent xyz789'] to project 123." |
| `AGENTY_PROJECTS_CONTROLLER_CREATE_PROJECT` | Create Project | Tool to create a new project. use when you need to initialize a project with a name and optional description or template. |
| `AGENTY_PROJECTS_GET_ALL` | Get all projects | Tool to retrieve all projects under an account. use after authentication when you need to list projects with pagination and sorting. |

## Supported Triggers

None listed.

## Creating MCP Server - Stand-alone vs Composio SDK

Once connected, VS Code can access the Agenty MCP server via Composio to run the app actions you authorize, directly from your coding workflow.

## Complete Code

None listed.

## Conclusion

### Way Forward
Now that Agenty is connected, extend your setup by connecting the other apps you already use every day, so your agent can run true cross-app workflows end to end.
- Connect Calendar to turn threads into scheduled meetings automatically.
- Connect Slack or Teams to post summaries, approvals, and alerts where your team works.
- Connect Notion, Linear, Jira, or Asana to convert requests into tickets, tasks, and docs.
- Connect Drive, Dropbox, or OneDrive to fetch, file, and share attachments without manual steps.
- Connect HubSpot or Salesforce to log customer context, update records, and draft follow-ups.
Start with one workflow you do repeatedly, then keep adding apps as you find new handoffs. With everything behind a single MCP endpoint, your agent can coordinate multiple tools safely and reliably in one conversation.

## How to build Agenty MCP Agent with another framework

- [ChatGPT](https://composio.dev/toolkits/agenty/framework/chatgpt)
- [OpenAI Agents SDK](https://composio.dev/toolkits/agenty/framework/open-ai-agents-sdk)
- [Claude Agent SDK](https://composio.dev/toolkits/agenty/framework/claude-agents-sdk)
- [Claude Code](https://composio.dev/toolkits/agenty/framework/claude-code)
- [Claude Cowork](https://composio.dev/toolkits/agenty/framework/claude-cowork)
- [Codex](https://composio.dev/toolkits/agenty/framework/codex)
- [Cursor](https://composio.dev/toolkits/agenty/framework/cursor)
- [OpenCode](https://composio.dev/toolkits/agenty/framework/opencode)
- [OpenClaw](https://composio.dev/toolkits/agenty/framework/openclaw)
- [Hermes](https://composio.dev/toolkits/agenty/framework/hermes-agent)
- [CLI](https://composio.dev/toolkits/agenty/framework/cli)
- [Google ADK](https://composio.dev/toolkits/agenty/framework/google-adk)
- [LangChain](https://composio.dev/toolkits/agenty/framework/langchain)
- [Vercel AI SDK](https://composio.dev/toolkits/agenty/framework/ai-sdk)
- [Mastra AI](https://composio.dev/toolkits/agenty/framework/mastra-ai)
- [LlamaIndex](https://composio.dev/toolkits/agenty/framework/llama-index)
- [CrewAI](https://composio.dev/toolkits/agenty/framework/crew-ai)

## Related Toolkits

- [Excel](https://composio.dev/toolkits/excel) - Microsoft Excel is a robust spreadsheet application for organizing, analyzing, and visualizing data. It's the go-to tool for calculations, reporting, and flexible data management.
- [21risk](https://composio.dev/toolkits/_21risk) - 21RISK is a web app built for easy checklist, audit, and compliance management. It streamlines risk processes so teams can focus on what matters.
- [Abstract](https://composio.dev/toolkits/abstract) - Abstract provides a suite of APIs for automating data validation and enrichment tasks. It helps developers streamline workflows and ensure data quality with minimal effort.
- [Addressfinder](https://composio.dev/toolkits/addressfinder) - Addressfinder is a data quality platform for verifying addresses, emails, and phone numbers. It helps you ensure accurate customer and contact data every time.
- [Agentql](https://composio.dev/toolkits/agentql) - Agentql is a toolkit that connects AI agents to the web using a specialized query language. It enables structured web interaction and data extraction for smarter automations.
- [Ambee](https://composio.dev/toolkits/ambee) - Ambee is an environmental data platform providing real-time, hyperlocal APIs for air quality, weather, and pollen. Get precise environmental insights to power smarter decisions in your apps and workflows.
- [Ambient weather](https://composio.dev/toolkits/ambient_weather) - Ambient Weather is a platform for personal weather stations with a robust API for accessing local, real-time, and historical weather data. Get detailed environmental insights directly from your own sensors for smarter apps and automations.
- [Anonyflow](https://composio.dev/toolkits/anonyflow) - Anonyflow is a service for encryption-based data anonymization and secure data sharing. It helps organizations meet GDPR, CCPA, and HIPAA data privacy compliance requirements.
- [Api ninjas](https://composio.dev/toolkits/api_ninjas) - Api ninjas offers 120+ public APIs spanning categories like weather, finance, sports, and more. Developers use it to supercharge apps with real-time data and actionable endpoints.
- [Api sports](https://composio.dev/toolkits/api_sports) - Api sports is a comprehensive sports data platform covering 2,000+ competitions with live scores and 15+ years of stats. Instantly access up-to-date sports information for analysis, apps, or chatbots.
- [Apify](https://composio.dev/toolkits/apify) - Apify is a cloud platform for building, deploying, and managing web scraping and automation tools called Actors. It lets you automate data extraction and workflow tasks at scale—no infrastructure headaches.
- [Autom](https://composio.dev/toolkits/autom) - Autom is a lightning-fast search engine results data platform for Google, Bing, and Brave. Developers use it to access fresh, low-latency SERP data on demand.
- [Beaconchain](https://composio.dev/toolkits/beaconchain) - Beaconchain is a real-time analytics platform for Ethereum 2.0's Beacon Chain. It provides detailed insights into validators, blocks, and overall network performance.
- [Big data cloud](https://composio.dev/toolkits/big_data_cloud) - BigDataCloud provides APIs for geolocation, reverse geocoding, and address validation. Instantly access reliable location intelligence to enhance your applications and workflows.
- [Bigpicture io](https://composio.dev/toolkits/bigpicture_io) - BigPicture.io offers APIs for accessing detailed company and profile data. Instantly enrich your applications with up-to-date insights on 20M+ businesses.
- [Bitquery](https://composio.dev/toolkits/bitquery) - Bitquery is a blockchain data platform offering indexed, real-time, and historical data from 40+ blockchains via GraphQL APIs. Get unified, reliable access to complex on-chain data for analytics, trading, and research.
- [Brightdata](https://composio.dev/toolkits/brightdata) - Brightdata is a leading web data platform offering advanced scraping, SERP APIs, and anti-bot tools. It lets you collect public web data at scale, bypassing blocks and friction.
- [Builtwith](https://composio.dev/toolkits/builtwith) - BuiltWith is a web technology profiler that uncovers the technologies powering any website. Gain actionable insights into analytics, hosting, and content management stacks for smarter research and lead generation.
- [Byteforms](https://composio.dev/toolkits/byteforms) - Byteforms is an all-in-one platform for creating forms, managing submissions, and integrating data. It streamlines workflows by centralizing form data collection and automation.
- [Cabinpanda](https://composio.dev/toolkits/cabinpanda) - Cabinpanda is a data collection platform for building and managing online forms. It helps streamline how you gather, organize, and analyze responses.

## Frequently Asked Questions

### What are the differences in Tool Router MCP and Agenty MCP?

With a standalone Agenty MCP server, the agents and LLMs can only access a fixed set of Agenty tools tied to that server. However, with the Composio Tool Router, agents can dynamically load tools from Agenty and many other apps based on the task at hand, all through a single MCP endpoint.

### Can I use Tool Router MCP with VS Code?

Yes, you can. VS Code fully supports MCP integration. You get structured tool calling, message history handling, and model orchestration while Tool Router takes care of discovering and serving the right Agenty tools.

### Can I manage the permissions and scopes for Agenty while using Tool Router?

Yes, absolutely. You can configure which Agenty scopes and actions are allowed when connecting your account to Composio. You can also bring your own OAuth credentials or API configuration so you keep full control over what the agent can do.

### How safe is my data with Composio Tool Router?

All sensitive data such as tokens, keys, and configuration is fully encrypted at rest and in transit. Composio is SOC 2 Type 2 compliant and follows strict security practices so your Agenty data and credentials are handled as safely as possible.

---
[See all toolkits](https://composio.dev/toolkits) · [Composio docs](https://docs.composio.dev/llms.txt)
