We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/makeplane/plane-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
users.py•571 B
"""User-related tools for Plane MCP Server."""
from fastmcp import FastMCP
from plane.models.users import UserLite
from plane_mcp.client import get_plane_client_context
def register_user_tools(mcp: FastMCP) -> None:
"""Register all user-related tools with the MCP server."""
@mcp.tool()
def get_me() -> UserLite:
"""
Get current user information.
Returns:
UserLite object containing current user information
"""
client, workspace_slug = get_plane_client_context()
return client.users.get_me()