Skip to main content
Glama

Enhanced Directory Context MCP Server

by PWalaGov

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Schema

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription
Directory OverviewOverview of /app
package.jsonContents of package.json
readme.mdContents of readme.md
server.jsContents of server.js

Tools

Functions exposed to the LLM to take actions

NameDescription
set_working_directory

Set the working directory for context extraction

get_directory_structure

Get the complete directory structure with file metadata

get_file_contents

Read contents of specific files

search_files

Search for content within files using regex or text matching

analyze_project_context

Analyze the project structure and provide intelligent context summary

get_git_context

Extract Git repository context (branch, recent commits, status)

create_file

Create a new file with specified content

update_file

Update specific parts of a file using search and replace

append_to_file

Append content to the end of a file

delete_file

Delete a file

rename_file

Rename or move a file

create_directory

Create a new directory

batch_file_operations

Perform multiple file operations in a single transaction

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/PWalaGov/File-Control-MCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server