Naftiko · Capability

M365 Graph Copilot Capability Collection

A Microsoft 365 capability over Microsoft Graph that exposes a shaped subset of M365 data for AI agents (Copilot, ADK).

Run with Naftiko NaftikoMicrosoft 365Graph

What You Can Do

GET
Get me
/me

MCP Tools

get-me

read-only
list-messages

read-only
list-events

read-only
list-chats

read-only
list-drive-items

read-only

Capability Spec

m365-graph-copilot-capability-collection.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  title: M365 Graph Copilot Capability Collection
  description: A Microsoft 365 capability over Microsoft Graph that exposes a shaped subset of M365 data for AI agents (Copilot, ADK).
  tags: [Naftiko, Microsoft 365, Graph]
  created: '2026-05-01'
  modified: '2026-05-04'
binds:
- namespace: msgraph-env
  description: Microsoft Graph OAuth bearer (delegated or app-only).
  keys: {MSGRAPH_TOKEN: MSGRAPH_TOKEN}
capability:
  consumes:
  - namespace: msgraph
    type: http
    baseUri: https://graph.microsoft.com
    authentication: {type: bearer, token: '{{MSGRAPH_TOKEN}}'}
    resources:
    - {name: me, path: /v1.0/me, operations: [{name: get-me, method: GET}]}
    - {name: messages, path: /v1.0/me/messages, operations: [{name: list-messages, method: GET}]}
    - {name: events, path: /v1.0/me/events, operations: [{name: list-events, method: GET}]}
    - {name: chats, path: /v1.0/me/chats, operations: [{name: list-chats, method: GET}]}
    - {name: drive-items, path: /v1.0/me/drive/root/children, operations: [{name: list-drive-items, method: GET}]}
  exposes:
  - type: rest
    address: 0.0.0.0
    port: 8080
    namespace: m365-graph-copilot-capability-collection-rest
    description: REST surface over a shaped Microsoft Graph subset.
    resources:
    - {name: me, path: /me, operations: [{method: GET, name: get-me, call: msgraph.get-me}]}
  - type: mcp
    address: 0.0.0.0
    port: 3010
    namespace: m365-graph-copilot-capability-collection-mcp
    description: MCP for shaped M365 access.
    tools:
    - {name: get-me, hints: {readOnly: true}, call: msgraph.get-me}
    - {name: list-messages, hints: {readOnly: true}, call: msgraph.list-messages}
    - {name: list-events, hints: {readOnly: true}, call: msgraph.list-events}
    - {name: list-chats, hints: {readOnly: true}, call: msgraph.list-chats}
    - {name: list-drive-items, hints: {readOnly: true}, call: msgraph.list-drive-items}
  - type: skill
    address: 0.0.0.0
    port: 3011
    namespace: m365-graph-copilot-capability-collection-skills
    description: Skill bundle for shaped M365 access.
    skills:
    - name: m365-graph-copilot-capability-collection
      description: Shaped Microsoft Graph capability.
      location: file:///opt/naftiko/skills/m365-graph-copilot-capability-collection
      allowed-tools: get-me,list-messages,list-events,list-chats,list-drive-items
      tools:
      - {name: get-me, from: {sourceNamespace: m365-graph-copilot-capability-collection-mcp, action: get-me}}
      - {name: list-messages, from: {sourceNamespace: m365-graph-copilot-capability-collection-mcp, action: list-messages}}
      - {name: list-events, from: {sourceNamespace: m365-graph-copilot-capability-collection-mcp, action: list-events}}
      - {name: list-chats, from: {sourceNamespace: m365-graph-copilot-capability-collection-mcp, action: list-chats}}
      - {name: list-drive-items, from: {sourceNamespace: m365-graph-copilot-capability-collection-mcp, action: list-drive-items}}