currdir-mcp-server
3.2
If you are the rightful owner of currdir-mcp-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
The currdir-mcp-server is a simple MCP server that provides a tool to retrieve the current working directory.
currdir-mcp-server
A simple MCP (Model Context Protocol) server that provides a tool to get the current working directory.
Features
- get_current_directory: Returns the current directory path where the MCP server is running, along with platform and Node.js version information.
Installation
npm install @mkusaka/currdir-mcp-server
Or install globally:
npm install -g @mkusaka/currdir-mcp-server
Usage
Build and run
npm run build
npm start
Development mode
npm run dev
MCP Tool
This server provides the following tool:
get_current_directory
Returns information about the current working directory.
Input: None
Output:
{
"currentDirectory": "/path/to/current/directory",
"platform": "darwin",
"nodeVersion": "v20.0.0"
}
Configuration
The server can be integrated with any MCP-compatible client. Add it to your MCP client configuration:
{
"mcpServers": {
"currdir": {
"command": "npx",
"args": ["@mkusaka/currdir-mcp-server"]
}
}
}
License
MIT