Basic information
About Role-Specific Context MCP Server
# Role-Specific Context MCP Server
Role-Specific Context MCP Server is a MCP server in the Other category listed in the AddMCP.net directory, published by Chris-June. Supported transport: stdio. Runtime: node. The repository has 1 GitHub stars. Source code is hosted on github.com. Related topics: context management, mcp-server, role-management.
Role-Specific Context MCP Server config
No standard config provided
This server doesn't expose a parseable MCP config block in its README. See the repository for install instructions.
Role-Specific Context MCP Server tools
Tool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is Role-Specific Context MCP Server?
An MCP server that defines and governs contextual boundaries based on agent roles. It enables role-based context management for AI agents, allowing developers to establish clear instructions, objectives, and domain knowledge per role (e.g., Marketing Expert, Songwriter, Executive Assistant) and keep role-relevant memory partitioned and scoped.
How to use Role-Specific Context MCP Server?
Install Node.js 18+ and obtain an OpenAI API key. Clone the repository, run npm install, set the OPENAI_API_KEY in .env, then build with npm run build. Start the server with npm start. Use tools like process-with-role to send queries with a roleId, query, and optional customInstructions.
Key features of Role-Specific Context MCP Server
- Create, update, and delete custom roles with specific domains
- Pre-defined roles with tailored system prompts and instructions
- Customizable tone profiles (serious, witty, sarcastic)
- Role-specific memory storage with relevance-based retrieval
- Time-to-live (TTL) and memory limits per role
- Exposes roles as MCP resources, tools, and prompts
Use cases of Role-Specific Context MCP Server
- Process a marketing query using a pre-defined Marketing Expert role
- Create a custom Technical Writer role with instructions and tone
- Store and retrieve role-specific memories for continuous context
- Switch tone dynamically per role (e.g., witty for social media, serious for legal)
- Keep domain knowledge isolated to prevent cross-contamination between agents
Frequently asked questions
1 What are the prerequisites for running the server?
Node.js 18+ and an OpenAI API key are required.
2 How do I create a custom role?
Use the create-role tool with parameters id, name, description, instructions, domains, tone, and systemPrompt. Example provided for a "tech-writer" role.
3 How can I process a query with a specific role?
Use the process-with-role tool (or the HTTP POST endpoint /process) with roleId, query, and optional customInstructions.
4 What memory management features are available?
Role-specific memory storage, relevance-based retrieval, time-to-live (TTL) for memories, and configurable memory limits per role.
5 Which tools are exposed by the server?
Available tools: process-with-role, create-role, update-role, delete-role, change-role-tone, store-memory, and clear-role-memories.
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In