Naftiko · Capability

Mcp First Context Engineering Capability

A capability designed MCP-first — context engineering surface (token budget, ranking, retrieval) exposed as primary MCP tools.

Run with Naftiko NaftikoMCPContext Engineering

What You Can Do

POST
Build context
/context/build

MCP Tools

build-context

get-context-build

read-only

Capability Spec

mcp-first-context-engineering-capability.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  title: Mcp First Context Engineering Capability
  description: A capability designed MCP-first — context engineering surface (token budget, ranking, retrieval) exposed as primary MCP tools.
  tags: [Naftiko, MCP, Context Engineering]
  created: '2026-05-01'
  modified: '2026-05-04'
binds:
- namespace: naftiko-env
  keys: {NAFTIKO_API_KEY: NAFTIKO_API_KEY}
capability:
  consumes:
  - namespace: naftiko-context
    type: http
    baseUri: https://api.naftiko.com
    authentication: {type: bearer, token: '{{NAFTIKO_API_KEY}}'}
    resources:
    - {name: context-builds, path: /v1/context/builds, operations: [{name: build-context, method: POST}]}
    - name: context-build
      path: /v1/context/builds/{{build_id}}
      operations:
      - {name: get-context-build, method: GET, inputParameters: [{name: build_id, in: path}]}
  exposes:
  - type: rest
    address: 0.0.0.0
    port: 8080
    namespace: mcp-first-context-engineering-capability-rest
    description: REST surface for MCP-first context engineering.
    resources:
    - {name: build, path: /context/build, operations: [{method: POST, name: build-context, call: naftiko-context.build-context}]}
  - type: mcp
    address: 0.0.0.0
    port: 3010
    namespace: mcp-first-context-engineering-capability-mcp
    description: MCP for context engineering.
    tools:
    - {name: build-context, call: naftiko-context.build-context}
    - name: get-context-build
      hints: {readOnly: true}
      inputParameters: [{name: build_id, type: string, required: true}]
      call: naftiko-context.get-context-build
  - type: skill
    address: 0.0.0.0
    port: 3011
    namespace: mcp-first-context-engineering-capability-skills
    description: Skill for context engineering.
    skills:
    - name: mcp-first-context-engineering-capability
      description: MCP-first context engineering.
      location: file:///opt/naftiko/skills/mcp-first-context-engineering-capability
      allowed-tools: build-context,get-context-build
      tools:
      - {name: build-context, from: {sourceNamespace: mcp-first-context-engineering-capability-mcp, action: build-context}}
      - {name: get-context-build, from: {sourceNamespace: mcp-first-context-engineering-capability-mcp, action: get-context-build}}