Registry

Introduction

The OCP Registry provides pre-configured OpenAPI specifications with OCP extensions, enabling your AI agents to seamlessly integrate with external services.

How It Works

from ocp_agent import OCPAgent

agent = OCPAgent()

# Register an API with auth
await agent.register_api(
    'github',
    headers={'Authorization': 'Bearer your_token'}
)

# Use any tool
result = await agent.call_tool('reposGet', {
    'owner': 'opencontextprotocol',
    'repo': 'ocp-python'
})

Each API in the registry includes:

  • 🛠️ Pre-configured endpoints: Ready to use without manual setup
  • 🔍 Tool definitions: Automatically discovered from OpenAPI specifications
  • 🔐 Authentication guides: Step-by-step credential configuration

Next

Browse available APIs to get started: