go port of the mcp-file-context-server
MCPpedia last refreshed this data
Go MCP File Context Server is an MCP server that go port of the mcp-file-context-server. Its tool list has not been published yet over stdio, sse and http, requires no API key, and scores 57/100 on MCPpedia's security, maintenance and efficiency rubric.
Config is the same across clients - only the file and path differ.
{
"mcpServers": {
"file-context": {
"args": [
"-root-dir",
"/Users/username/projects/myproject",
"-log-level",
"access"
],
"command": "/path/to/go-mcp-file-context-server"
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
A Go port of the MCP File Context Server - a Model Context Protocol (MCP) server that provides file system context to Large Language Models (LLMs).
No automated test available for this server. Check the GitHub README for setup instructions.
Five weighted categories - click any category to see the underlying evidence.
No known CVEs.
No package registry to scan.
Click any tool to inspect its schema.
Be the first to review
Have you used this server?
Share your experience - it helps other developers decide.
Sign in to write a review.
Others in developer-tools
XcodeBuildMCP provides tools for Xcode project management, simulator management, and app utilities.
Manage Supabase projects — databases, auth, storage, and edge functions
MCP server for using the GitLab API
Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.
MCP Security Weekly
Get CVE alerts and security updates for Go Mcp File Context Server and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
A Go port of the MCP File Context Server - a Model Context Protocol (MCP) server that provides file system context to Large Language Models (LLMs).
File Read Operations
File Write Operations
Code Analysis
Smart Caching
Advanced Search
Comprehensive Logging
Download the appropriate binary for your platform from the Releases page:
| Platform | Architecture | File |
|---|---|---|
| macOS | Universal (Intel + Apple Silicon) | go-mcp-file-context-server-darwin-universal |
| macOS | Apple Silicon (M1/M2/M3) | go-mcp-file-context-server-darwin-arm64 |
| macOS | Intel | go-mcp-file-context-server-darwin-amd64 |
| Linux | x86_64 | go-mcp-file-context-server-linux-amd64 |
| Linux | ARM64 | go-mcp-file-context-server-linux-arm64 |
| Windows | x86_64 | go-mcp-file-context-server-windows-amd64.exe |
# Clone the repository
git clone https://github.com/JeremyProffitt/go-mcp-file-context-server.git
cd go-mcp-file-context-server
# Build
go build -o go-mcp-file-context-server .
# Run
./go-mcp-file-context-server
Usage: go-mcp-file-context-server [OPTIONS]
Options:
-root-dir <paths> Root directories to restrict file access (comma-separated)
Default: no restriction (full filesystem access)
-blocked-patterns <patterns>
Patterns to block access to (comma-separated globs)
Default: .aws/*,.env,.mcp_env
-allowed-patterns <patterns>
Patterns to allow (exceptions to blocked patterns)
Default: .aws/terraform,.aws/terraform/*,.aws/terraform/**
-log-dir <path> Directory for log files
Default: ~/go-mcp-file-context-server/logs
-log-level <level> Log level: off, error, warn, info, access, debug
Default: info
-version Show version information
-help Show help message
| Variable | Description | Default |
|---|---|---|
MCP_ROOT_DIR | Restrict file access to these directories (comma-separated) | No restriction |
MCP_BLOCKED_PATTERNS | Block access to files matching these patterns (comma-separated globs) | .aws/*,.env,.mcp_env |
MCP_ALLOWED_PATTERNS | Allow access to files matching these patterns (exceptions to blocked, comma-separated globs) | .aws/terraform,.aws/terraform/*,.aws/terraform/** |
MCP_LOG_DIR | Directory for log files |