Files MCP Server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Files MCP Serverlist files in the current directory"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Files MCP Server
This library provides an MCP server for local testing with any client that supports the Model Context Protocol.
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-serverEdit the server configuration to include the require env vars
{ "mcp": { "servers": { "my-mcp-server-1da66260": { "type": "stdio", "command": "npx", "args": [ "-y", "D:\\github\\files-mcp-server" ], "env": { "ODMCP_TENANT_ID": "{TENANT_ID}", "ODMCP_CLIENT_ID": "{CLIENT_ID}", "ODMCP_THUMBPRINT": "{THUMBPRINT}", "ODMCP_PRIVATE_KEY": "{BASE64_ENCODED_PRIVATE_KEY}", }, }, } } }Begin interacting with the server
Local Development
Create a .env file
ODMCP_TENANT_ID="{TENANT_ID}"
ODMCP_CLIENT_ID="{CLIENT_ID}"
ODMCP_THUMBPRINT="{THUMBPRINT}"
ODMCP_PRIVATE_KEY="{BASE64_ENCODED_PRIVATE_KEY}"Hit F5 to start the server and debug
Inspector works well for testing the MCP server itself or use your LLM Client of choice!
Encode private key
To help you base64 encode your certificate's private key you can update the file /src/encodekey.ts with your private key and run npm run encode-key. The base64 encoded key will be output on the commandline.
Do NOT check in updates to the encodekey.ts file including your private key information 🙂.
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.
This server cannot be installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/SimformSolutionsPvtLtd/files-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server