Best for
- Developers who need an MCP client to access a specified Claude Code project directory.
This is a tutorial or resource collection; there is nothing to install into a client.
The source identifies this as a stdio filesystem configuration example in an Anthropic-managed repository, but does not establish that this specific server is maintained by the upstream filesystem protocol owner; tool names and client compatibility are not evidenced.
Strongest · Maintenance 11/20 Weakest · Documentation 5/20
Test out of dateListed 2026-07-29
Read the FMRS scoring method →Runtime:Node.js · Python
DATABASE_URL
Database connection string supplied by the user's own database, injected via ${DATABASE_URL}.
CUSTOM_API_KEY
API key for the custom MCP server, provided by the user's own service; sensitive credential.
LOG_LEVEL
Example log level, e.g. info, controlling MCP server log verbosity.
DB_POOL_SIZE
Database connection pool size, set to 10 in the example.
DEBUG
Debug toggle, set to false in the example.
Add this configuration to a client that supports stdio MCP servers, and set ${CLAUDE_PROJECT_DIR} to the target project directory. Before running it, confirm that Node.js and npx are installed and that you trust the relevant plugin and server software.
{"command":"npx","args":["-y","@modelcontextprotocol/server-filesystem","${CLAUDE_PROJECT_DIR}"],"env":{"LOG_LEVEL":"info"}}
Works in clients that read an "mcpServers" key. For clients such as VS Code that use a different key, the configurator below converts it.
{
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-filesystem",
"${CLAUDE_PROJECT_DIR}"
],
"env": {
"LOG_LEVEL": "info"
}
}
Goes in your project's .vscode/mcp.json (VS Code uses a "servers" key).
After configuring the filesystem MCP server in Claude Code, check that filesystem tools appear in the client's tool list, then ask it to list the current directory files to confirm the connection works.
Once connected, you can ask your AI assistant things like:
A stdio MCP server configuration example for local filesystem access, using the project directory as its target. The source does not provide specific tool names, client compatibility, or more detailed capability information.
Secure local file read/write access
Standalone MCP server for Obsidian vaults: hybrid search, notes & files, structured memory, tasks, OAuth 2.1.
Secure remote access to your Obsidian vault over HTTPS with OAuth 2.0 authentication.
AI-native surgical editing of Word and OpenDocument files with formatting preservation
Source revision ea10b213686c Data synced 2026-10-19 Read the FMRS scoring method