About Usermcp
Usermcp is an MCP server published by LSTM-Kirigaya in the Developer Tools category: with just one line of code, your MCP or agent can record and manage user preferences with the user profile MCP, without requiring any database dependencies.
The repository has 22 stars and 3 forks, with the last commit a year ago. Six months or more without a commit doesn't mean the server is broken, but check the open issues before depending on it in production.
Install
git clone https://github.com/LSTM-Kirigaya/usermcpThis server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.
Ask AI
Ask AI about Usermcp
Powered by Claude · Grounded in docs
Security checks
Static checks derived from the repository 4 hours ago. Heuristics on the source, not an audit.
- ✓README presentThe repository ships documentation.
- ✓License declaredUsable under a stated license.
- !Tests presentNo tests found. Behaviour changes may go unnoticed between versions.
- ✓Dependencies pinnedA lockfile pins dependency versions.
- ✓No dynamic code executionSource scan found no eval, dynamic Function, or shell execution.
- !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.
README
usermcp
With just one line of code, your MCP or agent can record and manage user preferences with the user profile MCP, without requiring any database dependencies.
Introduction
usermcp is a lightweight user preference management component designed to simplify the process of recording and managing user preferences for MCPs or agents. It provides simple interfaces for recording, querying, updating, and deleting user preferences without requiring any database dependencies.
Features
- No Database Dependencies: Manage user preferences without installing or configuring a database
- One-line Integration: Integrate user preference management into your MCP or agent with just one line of code
- Full CRUD Operations: Supports Create, Read, Update, Delete operations for user preferences
- Automatic Prompt Management: Built-in prompt management for user preferences
Installation
pip install usermcp
Usage
Basic Usage
from mcp.server.fastmcp import FastMCP
from usermcp import register_user_profile_mcp
# Create FastMCP instance
mcp = FastMCP('Your MCP Name')
# ...
# implement your MCP logic here
# ...
# Register user profile management functions
register_user_profile_mcp(mcp)
# Run MCP service
mcp.run()
Core Functions
usermcp provides the following tool functions:
usermcp_query_user_profile: Query user preferencesusermcp_insert_user_profile: Insert user preferencesusermcp_delete_user_profile: Delete user preferences
Prompt Management
usermcp includes built-in prompt management that automatically invokes the appropriate tool functions based on context:
- Actively invoke
usermcp_query_user_profilewhen the context contains relevant tokens like the user's name or other personal information - Invoke
usermcp_insert_user_profilewhen the relevant information is triggered in your context - Invoke
usermcp_delete_user_profilewhen the user's feedback is different from what you expected
Dependencies
- Python >= 3.10
- mcp >= 1.12.3
License
MIT
README fetched from the repository 4 hours ago. The original is authoritative.