💬 MCP Chatbot – Composio + Local MCP servers
Built with Composio 🚀
👀 Check Out My Blog Post on this Project!
I have a blog post about this project here.
接入你的智能体
從發布者安裝。不是 PlugMCP 端點。
遠端 URL 還是本機指令? 兩種安裝方式的差異
Tired of building the same styled AI chatbot apps? This one's different.
It is a fully working chat interface built using Next.js, powered by Model Context Protocol (MCP), capable of connecting to both remote and local MCP servers, with tool-calling support like Cursor and Windsurf.
[!NOTE] This is just a simple demo application designed to show you how you can connect to MCP servers in Next.js (Not a production ready application)
Link to the demo: Composio hosted MCP servers, Local filesystem MCP server
git clone https://github.com/your-username/chat-nextjs-mcp-client.git
cd chat-nextjs-mcp-client
npm install
.envCreate a .env file in the root and add your Composio API key:
COMPOSIO_API_KEY=<your_composio_api_key>
OPENAI_API_KEY=sk-<your_openai_api_key>
💡 You can skip this if you're only using local MCP servers.
sudo npm install -g composio-core
composio login
# Or, any other integrations you prefer.
composio add gmail
composio add linear
Confirm integrations:
composio integrations
You are not limited to working with remotely hosted MCP servers from Composio. You can run this application entirely with locally hosted MCP servers.
[!NOTE] You can find the steps on how to set local MCP servers on the blog here: Link
npm run dev
Visit http://localhost:3000 to start chatting!
.
├── app
│ ├── api
│ ├── favicon.ico
│ ├── globals.css
│ ├── layout.tsx
│ └── page.tsx
├── components
│ ├── ui
│ ├── autoresize-textarea.tsx
│ └── chat.tsx
├── lib
│ ├── mcp-client
│ └── utils.ts
├── public
├── .env.example
├── ... (other config files)
Model Context Protocol (MCP) is a protocol for connecting AI models to tools and real-time data sources.
Read more: modelcontextprotocol.io
This project is licensed under the MIT License. See the LICENSE file for more details.
⚡ Chat MCP Client for Remote hosted MCP Servers (with Composio) and locally hosted MCP servers. 📡
工具
尚無工具清單。遠端伺服器會在首次健康檢查後取得工具清單。
常見問題
在本頁複製適用於 Cursor、Claude Desktop、Claude Code 或 VS Code 的 stdio 設定。它使用發布者的安裝方式,而不是 PlugMCP 代理伺服器。
這筆記錄未列出必要的環境變數。
Chat Nextjs MCP Client 透過 stdio 在本機執行。
上次檢查時間:2026-10-28。 ⚡ Chat MCP Client for Remote hosted MCP Servers (with Composio) and locally hosted MCP servers. 📡