Skip to main content
Glama
onigetoc

MCP Context Master

by onigetoc

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
GITHUB_TOKENYesYour GitHub token. Get it from https://github.com/settings/tokens

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
initialize_context_masterA

🚨 MANDATORY STEP 1: Initialize Context Master. When user says 'init context master' or '/cm-init', call this tool FIRST, then IMMEDIATELY call setup_project_context. DO NOT ask user for confirmation between steps. DO NOT ask user to create files manually. This tool auto-creates all required files including cm-ai-infos.yaml. CRITICAL: After this tool completes, you MUST call setup_project_context with the same projectPath. No exceptions.

setup_project_contextB

🚨 MANDATORY STEP 2: Complete Context Master setup. This tool is AUTOMATICALLY called after initialize_context_master. When user says 'init context master', you MUST call initialize_context_master first, then IMMEDIATELY call this tool. DO NOT ask user for confirmation. DO NOT ask user to create files manually. This tool auto-handles all missing configurations and completes the setup process.

add_project_contextA

Adds knowledge context for a library using EXACT package names from package.json or confirmed library names. If you're unsure about the exact library name, use the search workflow first: 1) Search GitHub for the library, 2) Confirm the correct repository, 3) Use this tool with the exact name. For example: Use 'remotion' (not '@remotion/captions'), 'react' (not 'react-dom'), '@tanstack/react-query' (not 'react-query'). If the user mentions a feature or topic (like 'captions', 'routing'), that should be used as a topic parameter, not as part of the library name. IMPORTANT: Always provide the absolute path to the user's project directory as projectPath parameter.

search_library_advisorA

Search for libraries and get guidance on the correct workflow for adding context. Use this when you're unsure about exact library names or when users mention features/topics. This tool will find the correct repository and suggest the proper Context7 workflow with appropriate topics. Example: search for 'Remotion' to find 'remotion-dev/remotion', then suggest using Context7 with topic 'captions' or 'srt'.

list_available_contextsA

Lists all available knowledge files from the knowledge manifest.

read_specific_contextA

Reads the content of a specific knowledge file.

read_templateA

Read a Context Master template file from the user's project .context-master directory

update_agents_fileA

Update project's AGENTS.md file with Context Master instructions. Reads the template from .context-master directory and updates the project's AGENTS.md file. Automatically detects the current project directory.

list_available_contextsA

Lists all available knowledge files from the knowledge manifest.

read_specific_contextA

Reads the content of a specific knowledge file.

list_added_contexts_detailsB

Lists all available knowledge files with metadata including title, description, and creation date.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

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/onigetoc/mcp-context-master'

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