drio
Open app

MCP Server Configuration

Source

Fixed configuration for Model Context Protocol server with proper dependencies

Catalog onlyCatalog onlySTDIO

Overview

MCP Server Configuration is a repository that provides a fixed configuration for the Model Context Protocol (MCP) server, ensuring proper dependencies to resolve common errors like ERR_MODULE_NOT_FOUND related to zod-to-json-schema.

To use MCP Server Configuration, clone the repository, install the necessary dependencies, and start the server using npm commands.

  • Provides a fixed configuration for the MCP server. - Resolves common module not found errors. - Offers an alternative quick fix for setting up the server manually.
  1. Setting up a Model Context Protocol server with minimal configuration.
  2. Resolving dependency issues in Node.js projects related to MCP.
  3. Assisting developers in quickly starting their MCP server projects.

Add to your AI client

Use these steps to connect MCP Server Configuration in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.

Cursor

Add this to your .cursor/mcp.json file in your project root, then restart Cursor.

.cursor/mcp.json

{
  "mcpServers": {
    "mcp-server-config-rvjwhite": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-server-config-rvjwhite"
      ]
    }
  }
}

Claude Desktop

Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.

~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)

{
  "mcpServers": {
    "mcp-server-config-rvjwhite": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-server-config-rvjwhite"
      ]
    }
  }
}

Claude Code

Add this to your project's .mcp.json file. Claude Code will detect it automatically.

.mcp.json (project root)

{
  "mcpServers": {
    "mcp-server-config-rvjwhite": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-server-config-rvjwhite"
      ]
    }
  }
}

VS Code (Copilot)

Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.

.vscode/mcp.json

{
  "servers": {
    "mcp-server-config-rvjwhite": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-server-config-rvjwhite"
      ]
    }
  }
}

Windsurf

Add this to your Windsurf MCP config file, then restart Windsurf.

~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "mcp-server-config-rvjwhite": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-server-config-rvjwhite"
      ]
    }
  }
}

Cline

Open Cline settings, navigate to MCP Servers, and add this server configuration.

Cline MCP Settings (via UI)

{
  "mcpServers": {
    "mcp-server-config-rvjwhite": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-server-config-rvjwhite"
      ]
    }
  }
}

FAQ

What is the purpose of this repository?

This repository aims to provide a reliable configuration for the MCP server to avoid common setup issues.

Is there an alternative way to set up the server?

Yes! The repository includes a quick fix method for setting up the server without cloning the repository.

What dependencies are required?

The main dependencies include `@modelcontextprotocol/server-filesystem`, `zod`, and `zod-to-json-schema`.7:["$","div",null,{"className":"container mx-auto flex flex-col gap-4","children":["$L26","$L27",["$","$L28",null,{"currentProject":{"id":2806,"uuid":"b737d953-9c20-41b9-bb66-19740197b11c","name":"mcp-server-config","title":"MCP Server Configuration","description":"Fixed configuration for Model Context Protocol server with proper dependencies","avatar_url":"https://avatars.githubusercontent.com/u/121535945?v=4","created_at":"2025-03-14T02:17:02.705Z","updated_at":"2025-03-14T02:19:52.102Z","status":"created","author_name":"rvjwhite","author_avatar_url":"https://avatars.githubusercontent.com/u/121535945?v=4","tags":"[]","category":"developer-tools","is_featured":false,"sort":1,"url":"https://github.com/rvjwhite/mcp-server-config","target":"_self","content":"$29","summary":"$2a","img_url":null,"type":null,"metadata":"{\"star\":\"0\",\"license\":\"\",\"language\":\"JavaScript\",\"is_official\":false,\"latest_commit_time\":\"2025-03-12 23:57:09\"}","user_uuid":null,"tools":null,"sse_url":null,"sse_provider":null,"sse_params":null,"is_official":false,"server_command":null,"server_params":null,"server_config":null,"allow_call":false,"is_innovation":false,"is_dxt":false,"dxt_manifest":null,"dxt_file_url":null,"is_audit":false},"randomProjects":[],"currentServerKey":"$undefined"}]]}]