mcpField
M
MCP Server Configuration

MCP Server Configuration

Local
github.com/rvjwhiteDeveloper Tools0Updated 85w ago

About MCP Server Configuration

MCP Server Configuration is a Node.js project configuration for running an MCP filesystem server with dependencies intended to resolve a `zod-to-json-schema` module error. It is for developers setting up or troubleshooting this server configuration.

Key features

  1. 01Node.js project configuration
  2. 02Includes required dependencies
  3. 03Addresses a module resolution error
  4. 04Provides installation and startup steps

Use cases

  1. 01Set up the filesystem MCP server
  2. 02Resolve a `zod-to-json-schema` module error

MCP support

The configuration is for the `@modelcontextprotocol/server-filesystem` MCP server. It includes setup instructions and dependencies for starting it.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

No install method listed yet

We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.

Repository

Tools

No tool list yet

Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.

Details

From the project README

MCP Server Configuration

This repository contains a fixed configuration for the Model Context Protocol (MCP) server with proper dependencies to resolve the ERR_MODULE_NOT_FOUND error related to zod-to-json-schema.

Installation

  1. Clone this repository:

    git clone https://github.com/rvjwhite/mcp-server-config.git
    cd mcp-server-config
    
  2. Install dependencies:

    npm install
    
  3. Start the server:

    npm start
    

Alternative Quick Fix

If you prefer not to use this repository, you can also fix the issue with these steps:

  1. Create a new directory and initialize a Node.js project:

    mkdir mcp-server
    cd mcp-server
    npm init -y
    
  2. Install the required dependencies explicitly:

    npm install @modelcontextprotocol/server-filesystem zod zod-to-json-schema
    
  3. Add "type": "module" to your package.json

  4. Create a simple index.js file:

    import { createServer } from '@modelcontextprotocol/server-filesystem';
    const server = createServer();
    
  5. Run with: node index.js

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.