ccos-mcp-tools

star 12

Reference for all MCP tools exposed by the CCOS server for agent interactions

mandubian By mandubian schedule Updated 1/27/2026

name: CCOS MCP Tools description: Reference for all MCP tools exposed by the CCOS server for agent interactions

CCOS MCP Tools Reference

The CCOS MCP server exposes tools for capability discovery, execution, session management, and learning.

๐Ÿ” Discovery Tools

ccos_search

Search for capabilities by query, ID pattern, or domain.

{
  "query": "weather forecast",       // Required: search query
  "domains": ["weather", "geo"],     // Optional: domain filters
  "limit": 10,                       // Optional: max results (default: 10)
  "min_score": 0.3                   // Optional: minimum relevance (default: 0.0)
}

ccos_suggest_apis

Get LLM suggestions for external APIs matching a goal.

{
  "query": "get cryptocurrency prices"  // What you want to accomplish
}

Logic: If 1 suggestion โ†’ use it. If several and confident โ†’ choose one. If uncertain โ†’ ask user.

ccos_introspect_remote_api

Introspect external server (MCP, OpenAPI, or HTML docs) and create approval request.

{
  "endpoint": "https://api.example.com/openapi.json",  // Required
  "name": "Example API",                                // Optional display name
  "auth_env_var": "EXAMPLE_API_KEY"                    // Optional auth var
}

ccos_inspect_capability

Get detailed schema information for a capability.

{
  "capability_id": "weather.get_forecast"  // The capability to inspect
}

โšก Execution Tools

ccos_execute_capability โญ PRIMARY

Execute a capability with JSON inputs - no RTFS knowledge needed.

{
  "capability_id": "geocoding_api.direct_geocoding_by_location_name",
  "inputs": { "city": "Paris", "limit": 1 },
  "session_id": "optional-session-id",          // Optional: track multi-step
  "original_goal": "get weather for Paris"      // Optional: for learning
}

ccos_execute_plan

Execute raw RTFS code.

{
  "plan": "(let [x 1] (+ x 2))",   // RTFS code string
  "dry_run": false,                // If true, validate only
  "original_goal": "test math"     // Optional
}

ccos_plan

Decompose a goal into sub-intents using LLM.

{
  "goal": "get weather in paris tomorrow and send as email"
}

Returns: plan with resolved/gap steps, next_action guidance.


๐Ÿ“‹ Session Management

ccos_session_start

Start a new planning/execution session.

{
  "goal": "Build a daily report agent",
  "context": { "preference": "concise" }  // Optional
}

ccos_session_plan

Get the accumulated RTFS plan from a session.

{
  "session_id": "session_123456"
}

ccos_session_end

End session and save the RTFS plan.

{
  "session_id": "session_123456",
  "save_as": "my-plan.rtfs"       // Optional filename
}

ccos_consolidate_session

Convert a session into a reusable Agent Capability.

{
  "session_id": "session_123456",
  "agent_name": "daily_reporter",
  "description": "Generates daily consolidated reports"
}

๐Ÿง  Memory & Learning

ccos_log_thought

Record agent reasoning for learning.

{
  "thought": "The user wants weather + crypto data combined",
  "plan_id": "optional-plan-id",
  "is_failure": false            // Set true if recording failure
}

ccos_recall_memories

Retrieve relevant memories by tags.

{
  "tags": ["weather", "learning"],
  "limit": 10
}

ccos_record_learning

Explicitly record a learned pattern.

{
  "pattern": "Use batch API for multiple symbols",
  "context": "cryptocurrency price fetching",
  "outcome": "3x faster than individual calls",
  "confidence": 0.9
}

๐Ÿ“œ Governance & Reference

ccos_get_constitution

Get system rules and policies.

{}

ccos_get_guidelines

Get official agent guidelines from docs/agent_guidelines.md.

{}

rtfs_get_grammar

Get RTFS language grammar reference.

{
  "category": "overview"  // overview|literals|collections|special_forms|types|purity_effects|all
}

ccos_list_capabilities

List all registered CCOS capabilities.

{}

๐Ÿ” Secrets & Approvals

ccos_check_secrets

Check if required secrets are available.

{
  "secret_names": ["OPENWEATHERMAP_API_KEY", "GITHUB_TOKEN"]
}

ccos_list_approvals

List approval requests.

{
  "status": "pending",  // pending|rejected|expired|approved|all
  "limit": 20
}

ccos_register_server

Register an approved server's tools.

{
  "approval_id": "approval_123456"
}

๐Ÿ› ๏ธ Development Tools

ccos_synthesize_capability

Generate RTFS capability using LLM.

{
  "description": "Fetch and format weather data",
  "capability_name": "weather.formatted_forecast",
  "input_schema": { "type": "object", "properties": { "city": { "type": "string" } } },
  "output_schema": { "type": "object" }
}

ccos_compile_rtfs

Validate RTFS syntax without execution.

{
  "code": "(defn add [x y] (+ x y))"
}

rtfs_compile

Parse RTFS code with optional AST output.

{
  "code": "(+ 1 2)",
  "show_ast": true
}

Common Workflow Pattern

1. ccos_search โ†’ Find capabilities
2. ccos_inspect_capability โ†’ Get input schema
3. ccos_session_start โ†’ Begin session
4. ccos_execute_capability โ†’ Execute with inputs
5. ccos_session_end โ†’ Save RTFS plan
Install via CLI
npx skills add https://github.com/mandubian/ccos --skill ccos-mcp-tools
Repository Details
star Stars 12
call_split Forks 0
navigation Branch main
article Path SKILL.md
More from Creator