Microsoft Products APIs · Capability

Microsoft Graph API (v1.0) — Me

Microsoft Graph API (v1.0) — Me. 1 operations. Lead operation: Get the profile of the signed-in user. Self-contained Naftiko capability covering one Ms Products business surface.

Run with Naftiko Ms ProductsMe

What You Can Do

GET
Getme — Get the profile of the signed-in user
/v1/me

MCP Tools

get-profile-signed-user

Get the profile of the signed-in user

read-only idempotent

Capability Spec

ms-products-me.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Microsoft Graph API (v1.0) — Me
  description: 'Microsoft Graph API (v1.0) — Me. 1 operations. Lead operation: Get the profile of the signed-in user. Self-contained
    Naftiko capability covering one Ms Products business surface.'
  tags:
  - Ms Products
  - Me
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    MS_PRODUCTS_API_KEY: MS_PRODUCTS_API_KEY
capability:
  consumes:
  - type: http
    namespace: ms-products-me
    baseUri: https://graph.microsoft.com/v1.0
    description: Microsoft Graph API (v1.0) — Me business capability. Self-contained, no shared references.
    resources:
    - name: me
      path: /me
      operations:
      - name: getme
        method: GET
        description: Get the profile of the signed-in user
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: bearer
      token: '{{env.MS_PRODUCTS_API_KEY}}'
  exposes:
  - type: rest
    namespace: ms-products-me-rest
    port: 8080
    description: REST adapter for Microsoft Graph API (v1.0) — Me. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/me
      name: me
      description: REST surface for me.
      operations:
      - method: GET
        name: getme
        description: Get the profile of the signed-in user
        call: ms-products-me.getme
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: ms-products-me-mcp
    port: 9090
    transport: http
    description: MCP adapter for Microsoft Graph API (v1.0) — Me. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: get-profile-signed-user
      description: Get the profile of the signed-in user
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: ms-products-me.getme
      outputParameters:
      - type: object
        mapping: $.