hermann-mcp-server
v1.0.2
Published
Hermann MCP Server for Claude Desktop
Downloads
12
Maintainers
Readme
Hermann MCP Server
Model Context Protocol (MCP) server that exposes Hermann's learning and context APIs as tools for AI assistants.
Features
- store_learning - Store learnings/insights for AI agents
- get_learning - Retrieve stored learnings by type or ID
- store_context - Store conversation/session context
- get_context - Retrieve stored context by agent ID or context ID
Installation
From npm
npm install -g hermann-mcp-serverFrom source
cd /path/to/mcp-server-package
npm install
npm linkConfiguration
- Copy
.env.exampleto.env:
cp .env.example .env- Update the values:
HERMANN_API_URL=https://your-api-gateway-url.com
HERMANN_API_KEY=your-api-keyClaude Desktop Integration
Add this to your Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json on macOS):
{
"mcpServers": {
"hermann": {
"command": "hermann-mcp",
"env": {
"HERMANN_API_URL": "https://your-api-gateway-url.com",
"HERMANN_API_KEY": "your-api-key"
}
}
}
}VS Code Integration
Add this to your VS Code settings (.vscode/settings.json or User Settings):
{
"github.copilot.chat.mcp.servers": {
"hermann": {
"command": "hermann-mcp",
"env": {
"HERMANN_API_URL": "https://your-api-gateway-url.com",
"HERMANN_API_KEY": "your-api-key"
}
}
}
}Testing Locally
# Test the server
node index.jsThe server will run on stdio and wait for MCP protocol messages.
Usage Examples
Once configured, you can ask Claude or GitHub Copilot to:
- "Store this bug fix pattern as a learning"
- "Retrieve learnings about authentication"
- "Store the current context for this session"
- "Get the context for agent XYZ"
API Endpoints
The server connects to these Lambda endpoints:
POST /mcp/learning- Store learningGET /mcp/learning?type=X- Get learnings by typeGET /mcp/learning?learning_id=X- Get specific learningPOST /mcp/context- Store contextGET /mcp/context?agent_id=X- Get context by agentGET /mcp/context?context_id=X- Get specific context
Development
To make changes:
- Edit
index.js - Restart Claude Desktop or VS Code to reload the MCP server
- Or use the Command Palette: "MCP: Restart Servers"
Uninstall
npm uninstall -g hermann-mcp-server