Markdown Converter
Agent skill for markdown-converter
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
Sign in to like and favorite skills
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
jc-mcp (managed with VirtualFish)vf activate jc-mcp# Activate virtual environment (Fish shell) vf activate jc-mcp # Start the FastAPI server locally uvicorn main:app --reload # Or run with Docker docker-compose up --build
# Activate virtual environment first vf activate jc-mcp # Run tests with pytest pytest # Run tests with verbose output and async support pytest -v
The server provides interactive API documentation at
http://localhost:8000/docs when running.
This is a FastAPI-based MCP (Model Context Protocol) server for JumpCloud integration that provides:
/ask endpoint using a local keyword-matching agent (no LLM required)main.py: FastAPI application with REST endpoints and MCP protocol handlers
/ask endpoint for natural language queriesjumpcloud/client.py: JumpCloud API client
jumpcloud/mcp_agent_runner.py: Local agent for matching prompts to tools
jumpcloud/auth.py: API key authentication via x-api-key header
All endpoints require JumpCloud API key authentication via
x-api-key header. The API key should match the JUMPCLOUD_API_KEY environment variable.
Tools are registered in
TOOL_REGISTRY in jumpcloud/mcp_agent_runner.py and exposed via MCP protocol:
Required environment variables (set in
.env):
JUMPCLOUD_API_KEY: Your JumpCloud API keyMCP_API_URL: Server URL (default: http://localhost:8000)Copy
.env.example to .env and fill in your JumpCloud API key to get started.
The
/ask endpoint uses a keyword-based local agent in jumpcloud/mcp_agent_runner.py that matches natural language prompts to appropriate JumpCloud API tools. It supports queries like:
list_systems with os: maclist_user_groupssearch_commandsThe agent uses simple keyword matching without requiring any external LLM services.
This server implements the Model Context Protocol and can be integrated with:
The MCP protocol exposes all JumpCloud tools for use within AI assistants and code editors.