Skip to main content
Glama
Jij-Inc

Jij MCP Server

Official
by Jij-Inc

qiskit_v1_api_reference_toc

Fetch the Qiskit v1 API reference table of contents in Markdown format to navigate quantum computing documentation efficiently.

Instructions

Fetch the Qiskit v1 API reference table of contents (https://docs.quantum.ibm.com/api/qiskit/1.4). Returns: str: The table of contents in Markdown format.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The handler function for the 'qiskit_v1_api_reference_toc' tool. It fetches the table of contents from the Qiskit v1 API documentation URL using the fetch_as_markdown helper and returns it in Markdown format, handling errors appropriately.
    @mcp.tool() async def qiskit_v1_api_reference_toc() -> str: """ Fetch the Qiskit v1 API reference table of contents (https://docs.quantum.ibm.com/api/qiskit/1.4). Returns: str: The table of contents in Markdown format. """ url = "https://docs.quantum.ibm.com/api/qiskit/1.4" response: FetchResponse = await fetch_as_markdown(url) if response.isError: return response.errorMessage if response.errorMessage else "Error fetching the content" return url + "\n" + response.content[0]["text"]
  • The @mcp.tool() decorator registers the qiskit_v1_api_reference_toc function as an MCP tool.
    @mcp.tool()

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Jij-Inc/Jij-MCP-Server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server