ctxtest
CtxNest is a local-first, centralized context engine providing AI agents with 42 tools to manage versioned markdown knowledge across projects and a personal knowledge base, optimized for context window economy.
File Reading
read_file/read_files/read_file_by_path— Read single, batch (up to 200), or path-based filesread_file_outline— Headings-only outline without loading full contentread_section/read_file_lines— Read a single heading's body or a specific line rangedescribe_file— File metadata (tags, size, history, backlinks) without loading content
File Writing
create_file/create_files— Create single or batch (up to 200) filesupdate_file/update_file_section— Full replace or surgical per-heading update (auto-commits to git)delete_file/delete_files— Delete single or batch (up to 500) filesmove_file— Rename or relocate a filejournal_append— Append a timestamped entry to today's journal
Search & Discovery
search— FTS5 full-text search with inline excerpts and highlightsbundle_search— Search and concatenate results into a token-budgeted XML/Markdown blobregex_search/grep_in_file— Cross-file or within-file regex searchfind_related— Files sharing tags, ranked by overlapwhats_new— Files created/modified since a checkpointproject_map— Compact indented outline of an entire project or knowledge base
Tagging & Favorites
add_tags/remove_tags/list_tags— Manage tagsset_favorite— Mark/unmark favoritessuggest_tags— Propose tags based on corpus (no LLM required)tag_search_results— Bulk-apply tags to all files matching a query
Folders & Projects
list_files/list_folders— List files or folders with filterscreate_folder/delete_folder— Create (nested) or recursively delete foldersregister_project/list_projects— Register external repos and list all projectsstats— Aggregate counts, top tags, per-project breakdown
Versioning & Integrity
get_history/get_diff/restore_file— Git history, diffs, and rollbackcommit_backup— Commit and push a project to gitdiff_against_disk/refresh_index— Detect and reconcile drift from external edits
Web Clipping
clip_url— Fetch a page, extract content via Readability, and store as Markdown (supports auth-walled pages with cookie/token retry)
All file-returning tools include est_tokens and size_bytes; list/search tools inline tags and excerpts to minimize round-trips.
ctxtest (ctxnest)
This is a simple "Hello World" MCP (Model Context Protocol) server created for testing purposes.
Features
This server exposes the following tools:
hello-world: A greeting tool.Input:
name(string)Output: A personalized hello message.
stat: A status check tool.Output: Returns "running well".
Getting Started
Prerequisites
Node.js (v18 or higher)
npm
Installation
Clone or navigate to the project directory.
Install dependencies:
npm install
Running the Server
To start the server on stdio:
npm startBuilding the Project
To compile the TypeScript source code:
npm run buildNote
This is only a test project.
Maintenance
Tools
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/safiyu/ctxnest'
If you have feedback or need assistance with the MCP directory API, please join our Discord server