# MCP Service

The **MCP Service** tile allows you to connect external tools and APIs via the [Smithery](https://smithery.ai/) platform. This makes it possible to interact with databases, search engines, documents, messengers, and other services directly from Tila.

## What does it do?

Integrates an external service into your scenario. After connecting, the MCP service becomes available as a tool — you can call it from the canvas and use it in any context.

## When to use?

- For integrating with Notion, GitHub, Figma, Telegram, DuckDuckGo, and other services — to work with data, create documents, search for information, and automate actions.

## Main tile elements

### Connection parameters

Each service has its own set of parameters.

Example: Notion API

Fields to connect:

- `notionApiKey` — must start with `ntn_`
- `notionDatabaseId` — the database for reading or writing
- `notionParentPageId` — parent page (if you want to create a new database)

Smithery will prompt you for the necessary fields.

### “Apply” button

Saves and activates the connection. After that, the service will be available as a tool.

## How to use

1. Add the **MCP Service** tile to the canvas.
2. Find the required service using the built-in search.
3. Enter the connection parameters.
4. Click **Apply**.

## How to connect your own service?

You can integrate your own service using the [Smithery](https://smithery.ai/) platform. Detailed instructions for creating an MCP service are in the [Smithery documentation](https://smithery.ai/docs/build).

## Recommendations

- Use the **Task** tile for regular calls to the MCP service.
- In an agent, the MCP service can be specified as an external tool, and the agent will use it as needed.
