CodeQL library for Python
codeql/python-all 7.2.11 (changelog, source)
Search

Module Mcp

INTERNAL: Do not use.

Provides models for the mcp and fastmcp PyPI packages.

The parameters of tool, resource and prompt handlers are chosen by the MCP client, that is by a language model or by anyone who can reach the server. The low-level server of mcp, the HTTP headers and the bearer tokens are modeled as data extensions (mcp.model.yml, fastmcp.model.yml).

Import path

import semmle.python.frameworks.Mcp