MCP Tool Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| MCP_TOOL_ROOT | No | Workspace the tools are confined to. Defaults to the current directory. | |
| MCP_TOOL_SQL_TIMEOUT | No | Seconds a single SQLite query may run. | 5 |
| MCP_TOOL_HTTP_TIMEOUT | No | Seconds per HTTP request. | 10 |
| MCP_TOOL_ALLOWED_HOSTS | No | Comma-separated list of hosts fetch_url may contact. example.com is exact, *.example.com matches subdomains, and * allows any host. Empty disables outbound HTTP. | |
| MCP_TOOL_MAX_READ_BYTES | No | Larger files are refused by read_file/query_records and skipped by search_files. | 2000000 |
| MCP_TOOL_MAX_FETCH_BYTES | No | Response bodies are truncated beyond this byte limit. | 1000000 |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
Tools for working inside a sandboxed workspace directory. All paths are relative to the workspace root. Start with list_files or search_files to orient yourself, use read_file with start_line/max_lines for large files, and prefer query_records over read_file for CSV/JSON/JSONL data. Read the config://server resource to see limits and which hosts fetch_url may contact.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| list_filesB | List files and directories in the workspace with their type and size. |
| read_fileA | Read a UTF-8 text file, optionally a window of lines. |
| search_filesA | Search text files in the workspace line by line, like grep. Hidden directories and binary files are skipped. |
| query_recordsA | Filter, sort, group and summarise records in a tabular data file. |
| calculateA | Evaluate an arithmetic expression safely (no code execution). |
| fetch_urlA | Fetch a URL with HTTP GET and return the status, headers and text body. Only hosts on the server's allowlist can be reached, including for redirects. Binary bodies are not returned, only their size. |
| sqlite_queryB | Run a read-only SQL query against a SQLite database in the workspace. |
| git_infoB | Summarise a git repo: branch, HEAD, uncommitted changes, remotes, recent commits. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| review_file | Ask the model to review a workspace file for bugs and clarity. |
| analyze_eval_results | Ask the model to summarise an agent evaluation run stored as a data file. |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| server-config | Workspace root, limits and HTTP allowlist the tools are running with. |
| workspace-tree | Indented listing of the workspace, two levels deep, hidden entries excluded. |
TDQS
Scored across 8 tools
Most tools have clearly distinct targets: list_files/read_file/search_files operate on workspace text, fetch_url on HTTP, git_info on repos. The only real boundary risk is query_records vs sqlite_query, both being 'query data' tools, but their descriptions clearly separate tabular files (jsonl/csv) from SQLite databases. Minor overlap keeps this from a perfect score.
Five tools follow a clean verb_noun pattern (list_files, read_file, search_files, query_records, fetch_url). The deviations are mild and still readable: calculate is a bare verb, and sqlite_query/git_info are noun-first. No camelCase/snake_case mixing.
Eight tools is well within the sweet spot and each covers a distinct capability: file listing/reading/search, structured data querying, arithmetic, HTTP fetch, SQLite access, and git status. Nothing feels padded or redundant.
The surface is heavily read-only: there is no write_file/create_file, no delete or move/rename, so an agent cannot produce or modify workspace content, which is an obvious gap for a workspace-oriented server. Read, search, query, fetch and git inspection are otherwise well covered.