mcpsq
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mcpsqFind MCP servers for database management"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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 startRelated MCP server: DevEnvInfoServer
Local Development
Prerequisites
Installation
Clone the repository:
git clone https://github.com/xinbenlv/mcpsq.git
cd mcpsqInstall dependencies:
npm installRunning 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 buildThe server will start on http://localhost:3000 and provide:
SSE endpoint at
GET /mcpMessage 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 typecheckDevelopment Workflow
Development: Use
npm run devfor development with automatic restart on file changesType Checking: Run
npm run typecheckto check for TypeScript errors without buildingBuilding: 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
Cursor not connecting: Verify the MCP configuration file path and JSON syntax
Tools not appearing: Check Cursor's MCP logs in the output panel
TypeScript errors: Run
npm run typecheckto see detailed error messages
Heroku Deployment
MCPSQ can be easily deployed to Heroku for cloud hosting:
Prerequisites
Heroku CLI installed
Heroku account
Deployment Steps
Login to Heroku:
heroku loginCreate a new Heroku app:
heroku create your-mcpsq-app-nameDeploy to Heroku:
git push heroku mainOpen your deployed app:
heroku openConfiguration
The app will automatically:
Use Heroku's
PORTenvironment variableBuild the TypeScript code during deployment via
heroku-postbuildscriptStart the server using the compiled JavaScript
Your MCPSQ server will be available at:
MCP endpoint:
https://your-app-name.herokuapp.com/mcp
Using with Cursor
Configure Cursor to use your Heroku-deployed MCPSQ server:
{
"mcpServers": {
"mcpsq": {
"url": "https://your-app-name.herokuapp.com/mcp"
}
}
}Data
The data is stored in the data directory.
Contributing
Contributions are welcome! Please feel free to submit a pull request that updates the data in the data directory.
ROADMAP
handle env vars needed
publish to npmjs.com
add Heroku deployment support
License
This project is licensed under the MIT License - see the LICENSE file for details.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/xinbenlv/mcpsq'
If you have feedback or need assistance with the MCP directory API, please join our Discord server