- Home
- MCP servers
- MyContext
MyContext
- typescript
0
GitHub Stars
typescript
Language
7 months ago
First Indexed
3 months ago
Catalog Refreshed
Documentation & install
Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.
Installation
Add the following to your MCP client configuration file.
Configuration
View docs{
"mcpServers": {
"doko89-mcp-mycontext": {
"command": "node",
"args": [
"/absolute/path/to/mycontext-mcp-server/build/index.js"
]
}
}
}MyContext MCP Server lets you store and access project documentation locally using a nested, markdown-based structure. It keeps everything on your machine for fast, private access and makes it easy to search across all projects and contexts.
How to use
You interact with the MCP server through your MCP client. Your client can list all available projects, inspect project structure, read a specific context file, and search for keywords across all contexts. Use the following practical workflows to manage and retrieve information efficiently.
How to install
Prerequisites: ensure you have a supported runtime and package manager.
# Install dependencies
npm install
# Build the server
npm run build
Set up the local context directory structure as shown in examples. Create the directory for your markdown context data.
mkdir -p ~/.mycontext
Configure your client to connect to the MCP server using the local, stdio-based runtime. Provide the exact command path used to run the server as shown in the configuration example.
{
"mcpServers": {
"mycontext": {
"command": "node",
"args": ["/absolute/path/to/mycontext-mcp-server/build/index.js"]
}
}
}
Configuration and startup notes
After you finish the configuration, restart the MCP client to activate the server.
Notes and tips
Keep your context files well-structured and documented. Use # for main titles, ## for sections, and code blocks with proper syntax highlighting to make it easier to read and search.
Troubleshooting and environment
If you encounter permission issues or build problems, verify your Node.js version is up to date and ensure your local context directory is accessible.
Available tools
list_projects
Lists all projects available in the local context directory.
get_project_structure
Shows the full directory structure for a specified project.
read_context
Reads the contents of a specific context markdown file.
search_context
Searches for a keyword across all context files and returns matching results with project/file context.