Skip to main content
Glama

get-issues

Retrieve and list all available projects in an Autodesk Construction Cloud account using the Model Context Protocol. Designed for fine-grained access control via Secure Service Accounts.

Instructions

List all available projects in an Autodesk Construction Cloud account

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
projectIdYes

Implementation Reference

  • The handler function that authenticates, fetches issues for the given projectId using IssuesClient, and formats the results as text content.
    callback: async ({ projectId }) => { // TODO: add pagination support const accessToken = await getAccessToken(["data:read"]); const issuesClient = new IssuesClient(); projectId = projectId.replace("b.", ""); // the projectId should not contain the "b." prefix const issues = await issuesClient.getIssues(projectId, { accessToken }); if (!issues.results) { throw new Error("No issues found"); } return { content: issues.results.map((issue) => ({ type: "text", text: JSON.stringify(issue) })) }; }
  • Input schema validating projectId as a non-empty string.
    const schema = { projectId: z.string().nonempty() };
  • src/server.ts:11-14 (registration)
    Registers the 'get-issues' tool (along with others) into the MCP server by iterating over all tool exports from src/tools/index and calling server.tool().
    const server = new McpServer({ name: "autodesk-platform-services", version: "0.0.1" }); for (const tool of Object.values(tools)) { server.tool(tool.title, tool.description, tool.schema, tool.callback); }
  • src/tools/index.ts:5-5 (registration)
    Re-exports the getIssues tool object for use in the main tools index.
    export { getIssues } from "./get-issues.js";

Other Tools

Related Tools

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/petrbroz/aps-mcp-server'

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