Source Parts Inc. Playground API

MCP tool testing

GitHub OpenAPI

Operations 8

GET /playground/tools List available tools #
POST /playground Execute a tool #
GET /playground/recipes List recipes #
POST /playground/recipes Create recipe #
POST /playground/recipes/{recipe_id}/run Execute recipe #
GET /playground/recipes/{recipe_id} Get a specific recipe #
PUT /playground/recipes/{recipe_id} Update a recipe #
DELETE /playground/recipes/{recipe_id} Delete a recipe #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/source-parts:source-parts-playground-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

source-parts-playground-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Source Parts Playground API
  description: 'The Source Parts v1 API provides programmatic access to electronic parts data,

    inventory management, BOM processing, and manufacturing workflows.


    **Required headers:** every request must include a non-empty `User-Agent`

    header identifying your application (e.g. `User-Agent: your-app/1.0`).

    Requests without one are rejected with `403 Forbidden` before authentication.'
  version: 1.1.0
  contact:
    name: Source Parts Support
    email: support@source.parts
    url: https://source.parts
  license:
    name: Proprietary
    url: https://source.parts/terms
servers:
- url: https://api.source.parts/v1
  description: Production
- url: http://localhost:9900/v1
  description: Local development
security:
- ApiKeyAuth: []
tags:
- name: Playground
  description: MCP tool testing
paths:
  /playground/tools:
    get:
      tags:
      - Playground
      summary: List available tools
      responses:
        '200':
          description: Tool list
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ToolsListResponse'
      operationId: getPlaygroundTools
      x-operation-id-source: derived
  /playground:
    post:
      tags:
      - Playground
      summary: Execute a tool
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ToolExecuteRequest'
      responses:
        '200':
          description: Tool execution result
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ToolExecuteResponse'
      operationId: postPlayground
      x-operation-id-source: derived
  /playground/recipes:
    get:
      tags:
      - Playground
      summary: List recipes
      responses:
        '200':
          description: Recipe list
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RecipesListResponse'
      operationId: getPlaygroundRecipes
      x-operation-id-source: derived
    post:
      tags:
      - Playground
      summary: Create recipe
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RecipeCreateRequest'
      responses:
        '201':
          description: Recipe created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RecipeResponse'
      operationId: postPlaygroundRecipes
      x-operation-id-source: derived
  /playground/recipes/{recipe_id}/run:
    post:
      tags:
      - Playground
      summary: Execute recipe
      parameters:
      - name: recipe_id
        in: path
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                inputs:
                  type: object
      responses:
        '200':
          description: Recipe execution result
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RecipeExecuteResponse'
      operationId: postPlaygroundRecipesByRecipeIdRun
      x-operation-id-source: derived
  /playground/recipes/{recipe_id}:
    parameters:
    - name: recipe_id
      in: path
      required: true
      schema:
        type: string
    get:
      tags:
      - Playground
      summary: Get a specific recipe
      x-generated: true
      x-handler: playground.get_recipe
      responses:
        '200':
          description: Success
        '401':
          description: Authentication required
      operationId: getPlaygroundRecipesByRecipeId
      x-operation-id-source: derived
    put:
      tags:
      - Playground
      summary: Update a recipe
      x-generated: true
      x-handler: playground.update_recipe
      responses:
        '200':
          description: Success
        '401':
          description: Authentication required
      operationId: putPlaygroundRecipesByRecipeId
      x-operation-id-source: derived
    delete:
      tags:
      - Playground
      summary: Delete a recipe
      x-generated: true
      x-handler: playground.delete_recipe
      responses:
        '200':
          description: Success
        '401':
          description: Authentication required
      operationId: deletePlaygroundRecipesByRecipeId
      x-operation-id-source: derived
components:
  schemas:
    ToolExecuteRequest:
      type: object
      required:
      - tool
      properties:
        tool:
          type: string
        parameters:
          type: object
    ToolsListResponse:
      type: object
      properties:
        status:
          type: string
        data:
          type: object
          properties:
            tools:
              type: array
              items:
                type: object
            count:
              type: integer
    RecipeExecuteResponse:
      type: object
      properties:
        status:
          type: string
        data:
          type: object
          properties:
            recipe_id:
              type: string
            total_steps:
              type: integer
            successful_steps:
              type: integer
            steps:
              type: array
              items:
                type: object
            final_output:
              type: object
    RecipeCreateRequest:
      type: object
      required:
      - name
      - steps
      properties:
        name:
          type: string
        description:
          type: string
        steps:
          type: array
          items:
            type: object
            properties:
              order:
                type: integer
              tool:
                type: string
              parameters:
                type: object
        is_public:
          type: boolean
          default: false
        tags:
          type: array
          items:
            type: string
    ToolExecuteResponse:
      type: object
      properties:
        status:
          type: string
        data:
          type: object
          properties:
            tool:
              type: string
            execution_time_ms:
              type: integer
            result:
              type: object
    RecipeResponse:
      type: object
      properties:
        status:
          type: string
        data:
          type: object
          properties:
            id:
              type: string
            name:
              type: string
            created_at:
              type: string
    RecipesListResponse:
      type: object
      properties:
        status:
          type: string
        data:
          type: object
          properties:
            recipes:
              type: array
              items:
                type: object
            total:
              type: integer
  securitySchemes:
    ApiKeyAuth:
      type: http
      scheme: bearer
      description: API key (sp_live_xxx or sp_test_xxx)