Skip to main content
Glama
sivanlm-commits

MCP Workspace Server

MCP Workspace Server

制御されたローカルワークスペース内のファイルへの安全かつ構造化されたアクセスをAIエージェントに提供する、軽量なPython MCPサーバーです。

概要

AIエージェントは、ローカルファイルに保存されたプロジェクトのコンテキストにアクセスする必要があることがよくあります。エージェントに無制限のファイルシステムアクセスを許可すると、不要なセキュリティリスクが生じます。

このプロジェクトは、Model Context Protocol (MCP) を使用して、設定されたディレクトリへのアクセスを制限しながら、制御された小規模なワークスペースツールのセットを公開します。

Related MCP server: Files MCP Server

MCP ツール

サーバーは3つのツールを公開しています。

list_workspace_files

設定されたワークスペース内で利用可能なファイルを一覧表示します。

read_text_file

サイズ制限を設定可能なUTF-8テキストファイルを読み取ります。

search_text

ワークスペース内のドキュメントを検索し、一致したファイル名、行番号、テキストを返します。

セキュリティ

サーバーは、要求されたパスを定義されたワークスペースルートに対して解決し、そのディレクトリ外へのパストラバーサルを防止します。

その他の保護策は次のとおりです。

  • ワークスペースへのアクセス制限

  • 入力検証

  • ファイルサイズの制限

  • UTF-8 の処理

  • パストラバーサルの防止

  • 自動化されたセキュリティテスト

プロジェクト構成

mcp-workspace-server/
├── src/
│   └── mcp_workspace_server/
│       ├── __init__.py
│       └── server.py
├── tests/
│   └── test_paths.py
├── workspace/
│   └── example.txt
├── pyproject.toml
└── README.md
A
license - permissive license
Not graded
quality - not tested
B
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • F
    license
    Not graded
    quality
    D
    maintenance
    Enables Large Language Models to safely browse and interact with local file systems through secure directory listing, file reading, and content search capabilities. Built with comprehensive security controls and high-performance handling of large directories and files.
  • A
    license
    Not graded
    quality
    C
    maintenance
    Enables AI agents to safely explore directories, read files, search content by pattern or filename, and edit files with checksum verification and dry-run preview within sandboxed filesystem access.
    13
    75
    ISC
  • F
    license
    Not graded
    quality
    D
    maintenance
    Provides secure filesystem access for AI assistants with optimizations like file reading limits and depth-limited traversal to improve token efficiency. It enables AI models to read, write, and search files within explicitly allowed directories while automatically skipping large system folders.
    3
  • A
    license
    Not graded
    quality
    C
    maintenance
    Provides a secure, constrained filesystem workspace for LLM agents to manage files, notes, and code artifacts via stdio or remote HTTP. It features granular access controls, including extension whitelisting, storage quotas, and immutable paths for safe automated file operations.
    BSD 3-Clause

View all related MCP servers

Related MCP Connectors

  • Securely search and manage workspace context files for AI agents and teams.

  • Persistent docs and memory for AI agents — read, write, organize & search a shared workspace.

  • File uploads for AI agents. Upload, list, and manage files. No signup required.

View all MCP Connectors

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/sivanlm-commits/mcp-workspace-server'

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