> ## Documentation Index
> Fetch the complete documentation index at: https://docs.runtools.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# MCP Status

> Current status of Model Context Protocol support

Model Context Protocol servers are not a current public SDK, CLI, dashboard, or
API feature in RunTools. There is no supported MCP server registration format to
place in `runtools.config.ts` today.

Use these supported surfaces instead:

| Need                    | Current Surface                                      |
| ----------------------- | ---------------------------------------------------- |
| Hosted integrations     | Tool Hub marketplace tools                           |
| Custom integration code | `defineTool()` in `tools/*.ts` and `runtools deploy` |
| Per-provider OAuth      | Connected Apps and Tool Hub credential resolution    |
| Secrets                 | `rt.secrets` and `runtools secret`                   |

```typescript tools/custom-search.ts theme={null}
import { defineTool } from '@runtools-ai/sdk';

export default defineTool({
  name: 'custom-search',
  description: 'Search a private index',
  actions: {
    search: {
      description: 'Search documents',
      parameters: {
        type: 'object',
        properties: {
          query: { type: 'string' },
        },
        required: ['query'],
      },
      execute: async (params) => {
        return { results: [] };
      },
    },
  },
});
```

When MCP becomes a public surface, this page should document the exact SDK and API contract rather than showing aspirational configuration.
