Skip to content
Back to skills

Aps Mcp Server

ASecurity

Scaffold a custom MCP (Model Context Protocol) server that integrates with Autodesk Platform Services (APS). Use this skill when the user wants to build, create, generate, or set up an MCP server for APS, Autodesk, Forma, or any Autodesk cloud API. Supports Node.js/TypeScript, .NET/C#, and Python. Handles STDIO (local) and Streamable HTTP (cloud) transport, and various APS auth patterns: 2-legged OAuth, Secure Service Accounts, and 3-legged OAuth.

  • 9 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 4, 2026
ai-agentstypescriptpythonc#nodenodejstestingapi

Works with

  • claude desktop
  • cli
  • api
  • mcp

Security analysis

A100/100

Pro scans all 12 files and shows the line behind each finding

Scanned December 4, 2026

npx -y skills add autodesk-platform-services/skills --skill aps-mcp-server --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Aps Mcp Server?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Aps Mcp Server
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/autodesk-platform-services-aps-mcp-server/badge)](https://www.skillsdirectory.com/skills/autodesk-platform-services-aps-mcp-server)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: aps-mcp-server
description: >
  Scaffold a custom MCP (Model Context Protocol) server that integrates with
  Autodesk Platform Services (APS). Use this skill when the user wants to
  build, create, generate, or set up an MCP server for APS, Autodesk, Forma,
  or any Autodesk cloud API. Supports Node.js/TypeScript, .NET/C#, and Python.
  Handles STDIO (local) and Streamable HTTP (cloud) transport, and various APS
  auth patterns: 2-legged OAuth, Secure Service Accounts, and 3-legged OAuth.
metadata:
  author: Developer Advocates @ Autodesk
  version: "0.1"
  products: "APS, Forma"
  technologies: "MCP, Node.js, TypeScript, .NET, C#, Python, OAuth"
  industries: "AEC, Manufacturing, Media & Entertainment"
compatibility: Requires Node.js 20+, or .NET 9+, or Python 3.11+, plus internet access for package installation.
---

# APS MCP Server Generator

This skill creates a fully working MCP server project that connects to
Autodesk Platform Services (APS). Follow the steps below exactly.

## Step 1 — Gather Requirements

Ask the user **all three questions at once** if they have not already answered:

1. **Language** — Node.js/TypeScript, .NET/C#, or Python?
2. **Transport** — Local (STDIO, for Claude Desktop or similar) or Cloud (Streamable HTTP, for web deployment)?
3. **Authentication** — Which APS auth pattern?
   - **2-legged OAuth** — app accesses its own resources; no user sign-in
   - **Secure Service Accounts (SSA)** — automated server-to-server; acts as a service account with user context, without interactive login
   - **3-legged OAuth** — user signs in via browser; server acts on their behalf. Needs Streamable HTTP and an identity provider for MCP authorization, which tells the server who each user is

If the user's request already makes one of the choices clear (e.g., "Python FastMCP server"), skip that question.

## Step 2 — Load Reference Docs

Before writing any files, load the appropriate references:

- **Node.js** → read [`references/nodejs.md`](references/nodejs.md)
- **.NET** → read [`references/dotnet.md`](references/dotnet.md)
- **Python** → read [`references/python.md`](references/python.md)
- **Auth (always)** → read [`references/auth.md`](references/auth.md) for how auth is wired into the server
- **Token helper for the chosen auth type and language** → use the `aps-auth` skill (2-legged
  OAuth, Secure Service Accounts, or 3-legged OAuth). Its helpers are the source of truth for
  token acquisition, caching, and refresh.
- **STDIO** → read [`references/transport-stdio.md`](references/transport-stdio.md)
- **Streamable HTTP** → read [`references/transport-http.md`](references/transport-http.md)
- **Always** → read [`references/testing.md`](references/testing.md)

## Step 3 — Confirm Output Directory

Ask or confirm where to create the project (default: `./aps-mcp-server` in the current directory).

## Step 4 — Scaffold the Project

Create every file needed for a working project. Do **not** leave placeholder TODOs — generate complete, runnable code. Use the patterns from the reference files exactly.

### Files to create (all languages)

| File | Purpose |
|------|---------|
| `.env.example` | All required env vars with placeholder values and comments |
| `README.md` | Setup, run, MCP client config, and test instructions |
| Main server file | Language-specific entry point |
| Tool file(s) | At least one example APS tool (e.g., list OSS buckets) |
| Auth helper | Token acquisition logic for the chosen auth type |
| Test file(s) | Unit tests with mocked APS calls (see `testing.md`) |

### Language-specific additional files

- **Node.js**: `package.json`, `tsconfig.json` (if TypeScript), `vitest` dev dependency
- **.NET**: `.csproj`, `appsettings.json`, `*.Tests` project with xUnit + NSubstitute
- **Python**: `pyproject.toml` (uv-managed), `pytest` + `pytest-asyncio` dev dependencies

## Step 5 — Post-Scaffold Instructions

After creating files, tell the user:

1. How to install dependencies (including test dependencies)
2. How to fill in `.env` (which APS portal pages to visit for each credential)
3. How to run the unit tests (no credentials required)
4. How to run the server
5. How to connect to it from an MCP client (Claude Desktop config or Inspector URL)
6. How to run an interactive smoke test with MCP Inspector

## Key Rules

- **Never implement token passthrough.** The MCP server must authenticate with APS itself — it must never accept APS tokens from the MCP client and forward them.
- **Always cache tokens.** Use the `aps-auth` helpers, which cache tokens and refresh them ahead of expiry.
- **Streamable HTTP is stateless.** The MCP `2026-07-28` revision removed sessions, so never key per-user state by MCP session ID or client info. For 3-legged OAuth, protect the server with MCP authorization and key APS tokens by the authenticated user (the access token's `sub`); see `auth.md`.
- **Tool descriptions matter.** Write clear docstrings/descriptions for every tool — the LLM uses them to decide when to call each tool.
- **Return both `content` and `structuredContent`** in Node.js tools when the data could be consumed programmatically (e.g., by a UI component). Python FastMCP infers structured output automatically from return types.

Files in this skill

  • README.md549 B
  • SKILL.md5.2 KB
  • references/auth.md17.7 KB
  • references/dotnet.md7.8 KB
  • references/nodejs.md8.8 KB
  • references/python.md6.7 KB
  • references/testing-dotnet.md2.2 KB
  • references/testing-nodejs.md3.5 KB
  • references/testing-python.md2.3 KB
  • references/testing.md2.1 KB
  • references/transport-http.md6.1 KB
  • references/transport-stdio.md3 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.