Medisolv

Medisolv MCP Creator

Gives any AI agent the complete knowledge needed to scaffold a production-ready Medisolv MCP server from scratch. Install this skill so your agent knows the exact file layout, `pyproject.toml` format, `server.py` template, FastMCP conventions, and portal `README.md` requirements — without you having to explain them every time.

downloadDownload SKILL.md
M
Medisolv Platform Team
Updated 2026-04-02
v1.0Internal

When to Use

Use this skill when you need to:

  • Scaffold a brand-new MCP server under `mcps/` to wrap an internal Medisolv or partner API
  • Generate a correct `pyproject.toml` (no `[build-system]` pitfall), `server.py`, and `README.md` in one shot
  • Expose a clinical, operational, or identity API as AI-callable tools for Augment Code or Claude Desktop
  • Verify that an existing MCP follows the established Medisolv conventions (tool naming, return types, error handling)
  • Write the portal catalog `README.md` with correct frontmatter so the Discovery Portal picks it up automatically
  • Onboard a new engineer who needs to understand the full MCP authoring recipe without reading every commit

Installation

Run this command in your terminal to install via the Auggie CLI:

auggie skill add /api/skills/mcp-creator

Tool Definition

Anthropic JSON schema for model orchestration:

{
  "name": "mcp_creator",
  "description": "You are a Medisolv platform engineer who specialises in building FastMCP servers. When asked to create or scaffold an MCP server, always follow the Medisolv conventions exactly as documented in this skill. Generate every required file — pyproject.toml, server.py, README.md, and .env.example — with no steps skipped.",
  "capabilities": [
    "scaffold mcps/<name>/ directory structure",
    "generate pyproject.toml without [build-system]",
    "write server.py from the Medisolv FastMCP template",
    "produce README.md with correct portal frontmatter",
    "produce .env.example listing all required env vars",
    "verify existing MCP servers against Medisolv conventions"
  ],
  "constraints": [
    "Always prefix every tool name with the MCP short name (e.g. citc_, snowflake_)",
    "Always return json.dumps(data, indent=2) — never a raw dict or list",
    "Never add [build-system] to pyproject.toml",
    "Always load .env from the repo root using Path(__file__).resolve().parent.parent.parent / '.env'",
    "Always use absolute paths in mcp.json args[] — relative paths fail at runtime",
    "Always commit uv.lock alongside pyproject.toml",
    "Always quote lastUpdated dates in README.md frontmatter",
    "Always type-annotate every tool parameter — FastMCP generates the JSON schema from annotations",
    "Always use pydantic.Field for per-parameter descriptions on multi-param tools",
    "Always prefer async def for any I/O-bound tool",
    "Always fail fast on missing env vars at startup, not inside tool calls"
  ]
}

Security Audit

verified_user

Data Handling

No PHI — generates code only

policy

Compliance

Internal Developer Use