项目介绍
技术文档摘要
<!-- 项目LOGO -->
<br />
<div align="center">
<a href="https://github.com/stackzero-labs/ui">
<img src="public/logo.svg" alt="Logo" width="80" height="80">
</a>
<h3 align="center">@stackzero-labs/mcp</h3>
<p align="center">
适用于stackzero-labs/ui的官方MCP(模型上下文协议)服务器。
<br />
<a href="https://ui.stackzero.co"><strong>官方文档 »</strong></a>
<br />
<br />
<a href="https://ui.stackzero.co/get-started">开始使用</a>
·
<a href="https://github.com/stackzero-labs/mcp/issues/new?labels=bug&template=bug-report---.md">报告错误</a>
·
<a href="https://github.com/stackzero-labs/mcp/issues/new?labels=enhancement&template=feature-request---.md">请求功能</a>
</p>
</div>
概览
此包允许您运行一个模型上下文服务器,用于stackzero-labs/ui组件,使您可以将MCP协议应用于您的应用程序。
在Cursor中一键安装

安装
npm install @stackzero-labs/mcp
使用方法
作为独立服务器
npx @stackzero-labs/mcp
在Claude Desktop中
添加到您的Claude Desktop配置:
{
"mcpServers": {
"@stackzero-labs/mcp": {
"command": "npx",
"args": ["-y", "@stackzero-labs/mcp@latest"]
}
}
}
在Cursor中(手动设置)
进入Cursor设置,选择MCP。添加到您的Cursor配置:
{
"mcpServers": {
"@stackzero-labs/mcp": {
"command": "npx",
"args": ["-y", "@stackzero-labs/mcp@latest"]
}
}
}
开发
# 安装依赖
pnpm install
# 构建项目
pnpm build
# 在开发模式下运行
pnpm dev
# 检查MCP服务器
pnpm inspect
许可证
详情见LICENSE。