- Explore MCP Servers
- files-mcp-server
Files Mcp Server
What is Files Mcp Server
files-mcp-server is an implementation of an MCP server designed for local testing and community contributions, specifically for clients that support the Model Context Protocol.
Use cases
Use cases include testing new features in applications, contributing to community projects, and developing tools that interact with the Model Context Protocol.
How to use
To use files-mcp-server, clone the repository locally, add the server to your MCP client using the provided npx command, configure the necessary environment variables, and start interacting with the server.
Key features
Key features include local testing capabilities, support for the Model Context Protocol, and the ability to easily update and restart the server for testing new tools.
Where to use
files-mcp-server can be used in development environments where local testing of applications that utilize the Model Context Protocol is required.
Clients Supporting MCP
The following are the main client software that supports the Model Context Protocol. Click the link to visit the official website for more information.
Overview
What is Files Mcp Server
files-mcp-server is an implementation of an MCP server designed for local testing and community contributions, specifically for clients that support the Model Context Protocol.
Use cases
Use cases include testing new features in applications, contributing to community projects, and developing tools that interact with the Model Context Protocol.
How to use
To use files-mcp-server, clone the repository locally, add the server to your MCP client using the provided npx command, configure the necessary environment variables, and start interacting with the server.
Key features
Key features include local testing capabilities, support for the Model Context Protocol, and the ability to easily update and restart the server for testing new tools.
Where to use
files-mcp-server can be used in development environments where local testing of applications that utilize the Model Context Protocol is required.
Clients Supporting MCP
The following are the main client software that supports the Model Context Protocol. Click the link to visit the official website for more information.
Content
Files MCP Server
This library provides an MCP server for local testing with any client that supports the Model Context Protocol.
It is an http server using delegated authentication to access your environment.
Scopes
This sample uses the Files.ReadWrite.All and Sites.Read.All delegated Graph scopes.
Install
- Clone this repository locally (will update once we are published to NPM)
- In your MCP client of choice add this server using
npx -y {ABSOLUTE LOCAL PATH}\files-mcp-server - Edit the server configuration to include the require env vars
- Begin interacting with the server
Local Development
- Create a .env file
ODMCP_TENANT_ID="{TENANT_ID}" ODMCP_CLIENT_ID="{CLIENT_ID}"
- Hit F5 to start the server
- Inspector works well for testing the MCP server itself or use your LLM Client of choice!
To test the delegated authentication flow as of June 5 Visual Studio Code insiders supports the protected resource flow.
Trademarks
This project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft trademarks or logos is subject to and must follow Microsoft’s Trademark & Brand Guidelines. Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship. Any use of third-party trademarks or logos are subject to those third-party’s policies.
Usage
PLEASE USE THIS ONLY IN A DEVELOPER ENVIRONMENT — NOT FOR PRODUCTION
For more information, see the Microsoft identity platform security guidance.
Dev Tools Supporting MCP
The following are the main code editors that support the Model Context Protocol. Click the link to visit the official website for more information.










