MCP Registry MCP is a server component that provides tools for interacting with the MCP registry system. It offers endpoints for health checks, listing registry entries, retrieving server details, and pinging the server to get configuration information.
You can run the MCP Registry MCP server using either Podman or Docker. The following example shows how to configure and run the server as a container.
Create a configuration file with the following JSON content:
{
"mcpServers": {
"mcp-registry": {
"command": "podman",
"args": [
"run",
"-i",
"--rm",
"-e", "MCP_REGISTRY_URL",
"-e", "MCP_TRANSPORT",
"quay.io/maorfr/mcp-registry-mcp:latest"
],
"env": {
"MCP_REGISTRY_URL": "https://your-domain.mcp-registry.co",
"MCP_TRANSPORT": "sse"
}
}
}
}
Make sure to replace "https://your-domain.mcp-registry.co"
with the actual URL of your MCP registry.
The configuration is similar for Docker - simply replace the "command": "podman"
with "command": "docker"
:
{
"mcpServers": {
"mcp-registry": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e", "MCP_REGISTRY_URL",
"-e", "MCP_TRANSPORT",
"quay.io/maorfr/mcp-registry-mcp:latest"
],
"env": {
"MCP_REGISTRY_URL": "https://your-domain.mcp-registry.co",
"MCP_TRANSPORT": "sse"
}
}
}
}
The MCP Registry MCP server provides several tools that you can use to interact with the registry:
Checks the health status of the MCP registry server.
Parameters: None
Example usage:
curl -X POST https://your-server/v1/tools/health_check
Lists MCP registry server entries with pagination support.
Parameters: None
Example usage:
curl -X POST https://your-server/v1/tools/list_registry_server_entries
Retrieves detailed information for a specific MCP registry server.
Parameters:
server_id
(str): The ID of the server to retrieve details for.Example usage:
curl -X POST https://your-server/v1/tools/get_server_details \
-H "Content-Type: application/json" \
-d '{"server_id": "your-server-id"}'
Simple ping endpoint that returns environment configuration information.
Parameters: None
Example usage:
curl -X POST https://your-server/v1/tools/ping
The following environment variables can be configured:
MCP_REGISTRY_URL
: The URL of your MCP registry serverMCP_TRANSPORT
: The transport method (e.g., "sse")Make sure to set these variables correctly in your container configuration.
To add this MCP server to Claude Code, run this command in your terminal:
claude mcp add-json "mcp-registry" '{"command":"podman","args":["run","-i","--rm","-e","MCP_REGISTRY_URL","-e","MCP_TRANSPORT","quay.io/maorfr/mcp-registry-mcp:latest"],"env":{"MCP_REGISTRY_URL":"https://your-domain.mcp-registry.co","MCP_TRANSPORT":"sse"}}'
See the official Claude Code MCP documentation for more details.
There are two ways to add an MCP server to Cursor. The most common way is to add the server globally in the ~/.cursor/mcp.json
file so that it is available in all of your projects.
If you only need the server in a single project, you can add it to the project instead by creating or adding it to the .cursor/mcp.json
file.
To add a global MCP server go to Cursor Settings > Tools & Integrations and click "New MCP Server".
When you click that button the ~/.cursor/mcp.json
file will be opened and you can add your server like this:
{
"mcpServers": {
"mcp-registry": {
"command": "podman",
"args": [
"run",
"-i",
"--rm",
"-e",
"MCP_REGISTRY_URL",
"-e",
"MCP_TRANSPORT",
"quay.io/maorfr/mcp-registry-mcp:latest"
],
"env": {
"MCP_REGISTRY_URL": "https://your-domain.mcp-registry.co",
"MCP_TRANSPORT": "sse"
}
}
}
}
To add an MCP server to a project you can create a new .cursor/mcp.json
file or add it to the existing one. This will look exactly the same as the global MCP server example above.
Once the server is installed, you might need to head back to Settings > MCP and click the refresh button.
The Cursor agent will then be able to see the available tools the added MCP server has available and will call them when it needs to.
You can also explicitly ask the agent to use the tool by mentioning the tool name and describing what the function does.
To add this MCP server to Claude Desktop:
1. Find your configuration file:
~/Library/Application Support/Claude/claude_desktop_config.json
%APPDATA%\Claude\claude_desktop_config.json
~/.config/Claude/claude_desktop_config.json
2. Add this to your configuration file:
{
"mcpServers": {
"mcp-registry": {
"command": "podman",
"args": [
"run",
"-i",
"--rm",
"-e",
"MCP_REGISTRY_URL",
"-e",
"MCP_TRANSPORT",
"quay.io/maorfr/mcp-registry-mcp:latest"
],
"env": {
"MCP_REGISTRY_URL": "https://your-domain.mcp-registry.co",
"MCP_TRANSPORT": "sse"
}
}
}
}
3. Restart Claude Desktop for the changes to take effect