This demo showcases how to embed MCP-B in a Vue3 project. Through this project, you can learn how to use the MCP-B framework to build modern web applications and experience its powerful tool integration capabilities and intelligent agent system.
The example code is located at /src/App.vue
MCP-B is an innovative AI agent framework based on the Model Context Protocol (MCP), designed for building intelligent and scalable AI applications. It provides powerful tool integration capabilities, enabling developers to easily create AI agents with rich functionality.
- Tool Integration: Seamless integration with various tools and APIs
- Scalability: Modular architecture for easy extension and customization
- Intelligent Agents: Smart agent system based on the MCP protocol
- Developer Friendly: Complete development tools and documentation
- MCP-B Official Documentation - View the latest official documentation and updates
VSCode + Volar (and disable Vetur).
TypeScript cannot handle type information for .vue
imports by default, so we replace the tsc
CLI with vue-tsc
for type checking. In editors, we need Volar to make the TypeScript language service aware of .vue
types.
See Vite Configuration Reference.
npm install
npm run dev
npm run build
Lint with ESLint
npm run lint