
xinbenlv/mcpsq
Developer tools이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
MCP^2 (mcpsq.xyz) is an open-sourced MCP Server of MCP Servers
개요
MCP^2(MCPSQ) is a simple MCP server to discover and manage MCP servers. See our website mcpsq.xyz for more information. - Node.js (v18 or higher) - Cursor editor The server will start on http://localhost:3000 and provide: - SSE endpoint at GET /mcp - Message handling at POST /messages To use this MCP server with Cursor, add the following configuration to your Cursor MCP settings: Create .cursor/mcp.json in your project root: Once configured, the following tools will be available in Cursor: - : Search for MCP servers relevant to your query - : Add an MCP server to your Cursor configuration - : List all currently configured MCP servers - : Remove an MCP server from your configuration 1. Start the MCPSQ server locally 2. Configure Cursor with the MCP settings above 3. Restart Cursor or reload the MCP configuration 4. In Cursor chat, try asking: "Find MCP servers for database management" 5. The MCPSQ tools should appear in the available tools list
README
원문 README의 일부입니다. 원문 보기.
MCP^2(MCPSQ)
MCP^2(MCPSQ) is a simple MCP server to discover and manage MCP servers. See our website mcpsq.xyz for more information.
Usage
npm start
Local Development
Prerequisites
Installation
- Clone the repository:
git clone https://github.com/xinbenlv/mcpsq.git
cd mcpsq
- Install dependencies:
npm install
Running the Server
Start the MCP server locally:
# Production mode
npm start
# Development mode with auto-reload
npm run dev
# Build TypeScript to JavaScript
npm run build
The server will start on http://localhost:3000 and provide:
- SSE endpoint at
GET /mcp - Message handling at
POST /messages
Configuring Cursor MCP Integration
To use this MCP server with Cursor, add the following configuration to your Cursor MCP settings:
Option 1: Global Configuration
Create or edit ~/.cursor/mcp.json:
{
"mcpServers": {
"mcpsq": {
"url": "http://localhost:3000/mcp"
}
}
}
Option 2: Project-specific Configuration
Create .cursor/mcp.json in your project root:
{
"mcpServers": {
"mcpsq": {
"url": "http://localhost:3000/mcp"
}
}
}
Available MCP Tools
Once configured, the following tools will be available in Cursor:
find-mcp-server: Search for MCP servers relevant to your queryadd-mcp-server-to-cursor: Add an MCP server to your Cursor configurationlist-current-mcp-servers: List all currently configured MCP serversremove-mcp-server-from-cursor: Remove an MCP server from your configuration
Testing the Integration
- Start the MCPSQ server locally
- Configure Cursor with the MCP settings above
- Restart Cursor or reload the MCP configuration
- In Cursor chat, try asking: “Find MCP servers for database management”
- The MCPSQ tools should appear in the available tools list
Development Scripts
# Start the server in production mode
npm start
# Start the server in development mode with auto-reload
npm run dev
# Build TypeScript to JavaScript
npm run build
# Clean build directory
npm run clean
# Validate data files
npm run validate:data
# Type checking without emitting files
npm run typecheck
Development Workflow
- Development: Use
npm run devfor development with automatic restart on file changes - Type Checking: Run
npm run typecheckto check for TypeScript errors without building - Building: Use
npm run buildto compile TypeScript to JavaScript (automatically cleans first) - Production: Use
npm startto run the compiled TypeScript directly with tsx
Troubleshooting
- Server not starting: Check if port 3000 is available
설치
This server does not publish a one-line install command.
Open the repository installation guide MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →설정
{
"mcpServers": {
"mcpsq": {
"url": "http://localhost:3000/mcp"
}
}
}