Static Files

v1.0.0File Systemsstable

want a static file hosted somewhere? static.modelcontextprotocol.io is somewhere!

staticmcpai-integration
Share:
9
Stars
0
Downloads
0
Weekly
0/5

What is Static Files?

Static Files is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to want a static file hosted somewhere? static.modelcontextprotocol.io is somewhere!

want a static file hosted somewhere? static.modelcontextprotocol.io is somewhere!

This server falls under the File Systems category on MCPgee, the world's largest MCP server directory with 33,000+ servers.

Features

  • want a static file hosted somewhere? static.modelcontextprot

Use Cases

Host and access static files through the MCP protocol.
LicenseMIT
Languagehtml
Versionv1.0.0
UpdatedApr 13, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx static

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

How to Set Up and Use Static Files

The Static MCP Server, hosted at static.modelcontextprotocol.io, provides a simple way to serve static files through the Model Context Protocol. It is maintained by the official MCP organization and is useful for sharing configuration files, data assets, or any static content that AI assistants need to reference during a session.

Prerequisites

  • Node.js 18 or later installed
  • An MCP-compatible client such as Claude Desktop or VS Code with Copilot
  • A static file you want to host (JSON, text, markdown, etc.)
  • Basic familiarity with the MCP configuration file format
1

Install Node.js

Ensure Node.js 18 or later is installed on your system. The static server is invoked via npx so no global installation is required.

node --version
2

Run the static server with npx

Launch the server using npx. The server will start and listen for MCP client connections over stdio.

npx static
3

Add the server to your MCP client config

Open your Claude Desktop configuration file and add an entry for the static server. On macOS the file lives at ~/Library/Application Support/Claude/claude_desktop_config.json.

4

Restart your MCP client

Save the configuration file and restart Claude Desktop (or your chosen client) so the new server entry is picked up. The static server will appear in the connected tools list.

Static Files Examples

Client configuration

Add the static server to claude_desktop_config.json using the npx launch command.

{
  "mcpServers": {
    "static": {
      "command": "npx",
      "args": ["static"]
    }
  }
}

Prompts to try

Once connected, ask Claude to fetch or reference a static file served by the MCP host.

- "Fetch the file at static.modelcontextprotocol.io/my-config.json and summarize its contents."
- "Read the static data file and tell me how many records it contains."
- "Load the hosted markdown document and format it as a numbered list."

Troubleshooting Static Files

npx static command not found or fails to start

Make sure Node.js 18+ is installed and npx is available. Run `npx --version` to confirm. If needed, install Node.js from nodejs.org.

Claude Desktop does not show the static server in connected tools

Verify the JSON in claude_desktop_config.json is valid (no trailing commas). Fully quit and reopen Claude Desktop rather than just closing the window.

File not found when requesting a static resource

Confirm the file is actually hosted at static.modelcontextprotocol.io and the path in your prompt matches the exact URL. The service only serves files that have been uploaded there.

Frequently Asked Questions about Static Files

What is Static Files?

Static Files is a Model Context Protocol (MCP) server that want a static file hosted somewhere? static.modelcontextprotocol.io is somewhere! It connects AI assistants to external tools and data sources through a standardized interface.

How do I install Static Files?

Follow the installation instructions on the Static Files GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.

Which AI clients work with Static Files?

Static Files works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.

Is Static Files free to use?

Yes, Static Files is open source and available under the MIT license. You can use it freely in both personal and commercial projects.

Browse More File Systems MCP Servers

Explore all file systems servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.

Quick Config Preview

{ "mcpServers": { "static": { "command": "npx", "args": ["-y", "static"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

Ready to use Static Files?

Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.

33,000+ ServersFree & Open SourceStep-by-Step Guides