Role-Specific Context MCP Server
@Chris-June
About Role-Specific Context MCP Server
No overview available yet
Config
No standard config provided
This server doesn't expose a parseable MCP config block in its README. See the repository for install instructions.
RepositoryTools
7Process a query using a specific role
Create a new role
Update an existing role
Delete a custom role
Change the tone of a role
Store a memory for a specific role
Clear all memories for a role
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
FAQ from Role-Specific Context MCP Server
What are the prerequisites for running the server?
Node.js 18+ and an OpenAI API key are required.
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.
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.
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.
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.
Frequently asked questions
What are the prerequisites for running the server?
Node.js 18+ and an OpenAI API key are required.
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.
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`.
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.
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`.
Basic information
More Other MCP servers
Mcp
browsermcpBrowser MCP is a Model Context Provider (MCP) server that allows AI applications to control your browser
FastMCP v2 🚀
jlowin🚀 The fast, Pythonic way to build MCP servers and clients.
MCP Registry
modelcontextprotocolA community driven registry service for Model Context Protocol (MCP) servers.
Inbox Zero AI MCP
elie222The world's best AI personal assistant for email. Open source app to help you reach inbox zero fast.
XcodeBuildMCP
cameroncookeA Model Context Protocol (MCP) server and CLI that provides tools for agent use when working on iOS and macOS projects.
Comments