
mcp client
展示如何构建一个作为MCP客户端的AI代理,连接外部服务并处理工具发现和OAuth认证。
Repository Info
About This Server
展示如何构建一个作为MCP客户端的AI代理,连接外部服务并处理工具发现和OAuth认证。
Model Context Protocol (MCP) - This server can be integrated with AI applications to provide additional context and capabilities, enabling enhanced AI interactions and functionality.
Documentation
Build an AI Agent that acts as an MCP Client
An example of how to build an Agent that acts as an MCP Client, so that it can connect to external services via MCP.
This demo showcases how to:
- Connect an AI agent to a remote MCP server
- Handle authentication check using the built-in OAuth flow
- Discover and use tools exposed by remote MCP servers
Learn more
Instructions
First, start an MCP server. A simple example can be found in examples/mcp, which already has valid binding setup.
npm install
npm start
Tap "O + enter" to open the front end. It should list out all the tools, prompts, and resources available.
Quick Start
Clone the repository
git clone https://github.com/ryleyrandall22/mcp-clientInstall dependencies
cd mcp-client
npm installFollow the documentation
Check the repository's README.md file for specific installation and usage instructions.
Repository Details
Recommended MCP Servers
Discord MCP
Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.
Knit MCP
Connect AI agents to 200+ SaaS applications and automate workflows.
Apify MCP Server
Deploy and interact with Apify actors for web scraping and data extraction.
BrowserStack MCP
BrowserStack MCP Server for automated testing across multiple browsers.
Zapier MCP
A Zapier server that provides automation capabilities for various apps.