Metorialのロゴ

Metorial

組織人気
metorial

Connect any AI model to 1200+ integrations (MCP, CLI, API)

公開者metorial
リポジトリmetorial
言語TypeScript
フォーク
367
スター
3.4K
利用可能なツール
0
通信方式stdio
リンク
  • ツールをAIワークフローに接続

    Metorialは、対応するAIクライアントやAIエージェントから利用できるMCP機能を提供します。

  • 0個の利用可能なツール

    呼び出し可能なアクションを以下で確認できます。サーバーから提供されている場合は、名前や説明も表示されます。

  • コピーして使える設定

    セットアップ用の設定例を使って、お好みのMCPクライアントにこのサーバーを設定できます。

  • オープンソースの注目度

    リンク先のリポジトリには3.4K件のスターと367件のフォークがあります。

[!TIP] Skip the setup and go hosted: The fastest, simplest and most reliable way to use Metorial is to sign up to our hosted platform.

➡️ Get Started (for free)

Introduction

Agents are being connected to production systems, but without a consistent identity and access layer around them: limited access control, no auditing, and no standard access restrictions. Metorial solves that.

Metorial is a control plane for agent access to external systems. It sits between agents and integrations, handling auth, permissions, and observability in a consistent way. Instead of wiring integrations ad hoc, teams get a shared layer that standardizes how agents interact with systems.

Core Capabilities

  • 1200+ integrations across SaaS tools, enterprise systems, data sources, and custom MCP servers.
  • Auth and token lifecycle management for OAuth, API keys, service accounts, and other credential flows.
  • RBAC, SAML SSO, and IAM built in so agent access follows your existing security model.
  • Scoped permissions per agent, workflow, team, or environment.
  • Audit logs and traceability for agent actions, including which agent acted with whose credentials.
  • Shared access patterns across teams and projects instead of one-off integration code.

Metorial for Developers

Metorial gives developers a single interface for connecting agents to real systems.

  • Use integrations across tools like Claude Code, Codex, and Cursor without breaking security policies.
  • Expose integrations as tools to any agent framework.
  • Unify OAuth, API keys, and other auth flows into one magic URL.
  • Reuse connections across projects, environments, and people.
  • Avoid re-implementing integration and auth logic for every app.

You write against one API, or use one connection URL, and Metorial handles the rest.

Metorial for Security

Metorial provides structure and visibility into how agents access systems.

  • Centralized access control with RBAC, SAML SSO, IAM, and scoped credentials.
  • Clear permission boundaries per agent.
  • Audit logs for all actions, including which agent performed them using whose credentials.
  • Controlled sharing of integrations.
  • Consistent and secure credential handling.

This makes agent activity enforceable and inspectable without relying on manual processes. Makes your Head of AI happy, lets your CISO sleep at night.

Ecosystem

  • Metorial: Integration catalog covering SaaS tools and enterprise systems.
  • Metorial Platform: Core engine, open source and self-hostable.
  • Metorial CLI: Agent-first CLI for interacting with integrations.
  • Lowerdeck: Shared libraries across the stack.
  • Starbase: MCP debugging and testing utility.

SDKs

The SDKs expose the Metorial API and integrate with agent frameworks.

They handle auth, access control, and tool exposure in a consistent way.

If you want to build a custom integration, check out our API documentation for details on how to use the Metorial API directly.

Self-Hosting

The Metorial Platform is the code that powers the engine behind Metorial. It is open source and can be self-hosted. You can use it to run your own Metorial instance, powered by the MCP servers in this repo.

Quick Start

The simplest way to get started is with Metorial Search, a built-in web search provider that requires no auth configuration.

JavaScript / TypeScript

typescript
import { Metorial } from 'metorial';
import { metorialAiSdk } from '@metorial/ai-sdk';
import { anthropic } from '@ai-sdk/anthropic';
import { stepCountIs, streamText } from 'ai';

let metorial = new Metorial({ apiKey: process.env.METORIAL_API_KEY! });

let deployment = await metorial.providerDeployments.create({
  name: 'Metorial Search',
  providerId: 'metorial-search'
});

let session = await metorial.connect({
  adapter: metorialAiSdk(),
  providers: [{ providerDeploymentId: deployment.id }]
});

let result = streamText({
  model: anthropic('claude-sonnet-4-20250514'),
  prompt:
    'Search the web for the latest news about AI agents and summarize the top 3 stories.',
  stopWhen: stepCountIs(10),
  tools: session.tools()
});

for await (let part of result.textStream) {
  process.stdout.write(part);
}

Install it with:

bash
npm install metorial @metorial/ai-sdk @ai-sdk/anthropic ai

Python

python
import asyncio
import os

from metorial import Metorial
from metorial import metorial_pydantic_ai
from pydantic_ai import Agent

async def main():
  metorial = Metorial(api_key=os.environ["METORIAL_API_KEY"])

  deployment = metorial.provider_deployments.create(
    name="Metorial Search",
    provider_id="metorial-search",
  )

  session = await metorial.connect(
    adapter=metorial_pydantic_ai(),
    providers=[{"provider_deployment_id": deployment.id}],
  )

  agent = Agent(
    "anthropic:claude-sonnet-4-20250514",
    system_prompt="You are a helpful research assistant.",
    tools=session.tools(),
  )

  result = await agent.run(
    "Search the web for the latest news about AI agents and summarize the top 3 stories."
  )
  print(result.output)

asyncio.run(main())

Install it with:

bash
pip install metorial pydantic-ai python-dotenv

OAuth Integration

When working with services that require user authentication, such as Slack, GitHub, Google Calendar, or SAP, Metorial provides setup sessions to handle the OAuth flow and then reuse the resulting auth config.

JavaScript / TypeScript

typescript
import { Metorial } from 'metorial';
import { metorialAiSdk } from '@metorial/ai-sdk';

let metorial = new Metorial({ apiKey: process.env.METORIAL_API_KEY! });

let setupSession = await metorial.providerDeployments.setupSessions.create({
  providerId: 'your-slack-provider-id',
  providerAuthMethodId: 'your-slack-auth-method-id'
});

console.log(`Authenticate here: ${setupSession.url}`);

let completed = await metorial.providerDeployments.setupSessions.waitForCompletion([
  setupSession
]);

let session = await metorial.connect({
  adapter: metorialAiSdk(),
  providers: [
    {
      providerDeploymentId: 'your-slack-deployment-id',
      providerAuthConfigId: completed[0]!.authConfig!.id
    }
  ]
});

// Pass session.tools() to your model SDK.

Python

python
import os

from metorial import Metorial
from metorial import metorial_pydantic_ai

metorial = Metorial(api_key=os.environ["METORIAL_API_KEY"])

setup_session = metorial.provider_deployments.setup_sessions.create(
  provider_id="your-slack-provider-id",
  provider_auth_method_id="oauth",
  redirect_url="https://yourapp.com/oauth/callback",
)

print(f"Authenticate here: {setup_session.url}")

completed = await metorial.wait_for_setup_session([setup_session])

session = await metorial.connect(
  adapter=metorial_pydantic_ai(),
  providers=[
    {
      "provider_deployment_id": "your-slack-deployment-id",
      "provider_auth_config_id": completed[0].auth_config.id,
    }
  ],
)
tools = session.tools()

OAuth Flow Explained

  1. Create a setup session: Call providerDeployments.setupSessions.create() in TypeScript or provider_deployments.setup_sessions.create() in Python.
  2. Send the URL: Show the setup session URL to users so they can authenticate in their browser.
  3. Wait for completion: Wait for the setup session to finish and return an auth config.
  4. Use the auth config: Pass the auth config ID when configuring providers.

Provider Configuration Examples

Use the same providers list to combine dashboard-managed deployments, pre-created auth configs, inline credentials, and reusable session templates:

typescript
let session = await metorial.connect({
  adapter: metorialAiSdk(),
  providers: [
    { providerDeploymentId: 'your-search-deployment-id' },
    {
      providerDeploymentId: 'your-slack-deployment-id',
      providerAuthConfigId: 'slack-auth-config-id'
    },
    {
      providerDeploymentId: 'your-github-deployment-id',
      providerAuthConfig: {
        providerAuthMethodId: 'github-auth-method-id',
        credentials: { access_token: 'ghp_...' }
      }
    },
    { sessionTemplateId: 'your-template-id' }
  ]
});
python
session = await metorial.connect(
  adapter=metorial_pydantic_ai(),
  providers=[
    {"provider_deployment_id": "your-search-deployment-id"},
    {
      "provider_deployment_id": "your-slack-deployment-id",
      "provider_auth_config_id": "slack-auth-config-id",
    },
    {
      "provider_deployment_id": "your-github-deployment-id",
      "provider_auth_config": {
        "provider_auth_method_id": "github-auth-method-id",
        "credentials": {"access_token": "ghp_..."},
      },
    },
    {"session_template_id": "your-template-id"},
  ],
)

Examples

Check out the SDK example directories for complete working examples:

TypeScript

Python

Multi-Provider Support

Use the same Metorial providers across different AI clients and frameworks.

ProviderTypeScript adapterPython adapterModel examples
AI SDK@metorial/ai-sdk-Any model via Vercel AI SDK
OpenAI@metorial/openaimetorial_openai()gpt-4.1, gpt-4o, o1, o3
Anthropic@metorial/anthropicmetorial_anthropic()claude-sonnet-4-5, claude-opus-4
Google Gemini@metorial/googlemetorial_google()gemini-2.5-pro, gemini-2.5-flash
Mistral@metorial/mistralmetorial_mistral()mistral-large-latest, codestral-latest
DeepSeek@metorial/deepseekmetorial_openai_compatible()deepseek-chat, deepseek-reasoner
TogetherAI@metorial/togetheraimetorial_openai_compatible()Llama-4, Qwen-3
XAI@metorial/xaimetorial_openai_compatible()grok-3, grok-3-mini
LangChain@metorial/langchainmetorial_langchain()Any model via LangChain
PydanticAI-metorial_pydantic_ai()Any model via PydanticAI

Motivation

MCP is a powerful standard for connecting AI models to external data and tools, but it focuses on enabling AI clients (like Claude Desktop or Cursor) to connect to tools and data sources. Metorial builds on MCP but makes it a one-liner for developers to connect their AI apps to any API, data source, or tool. Thereby we enable developers to create agentic AI applications that can interact with other systems in a reliable, simple, and secure way.

Tech Stack

  • Model Context Protocol (MCP) - Metorial is powered by the Model Context Protocol, a standard for connecting AI models to external data and tools.
  • Docker - Metorial uses Docker to run MCP servers in a containerized environment, making it easy to deploy and manage.
  • MCP Containers - Metorial provides a collection of pre-built MCP servers in Docker containers.
  • Typescript - Most of Metorial is written in TypeScript.
  • Bun - The core of Metorial runs on Bun, a fast JavaScript runtime that is compatible with Node.js.
  • Go - The MCP engine is written in Go, providing a high-performance backend for Metorial.
  • PostgreSQL - Metorial uses PostgreSQL for data storage.
  • Redis - Metorial uses Redis for caching and real-time data processing.
  • MongoDB - Metorial uses MongoDB for storing usage data and logs.
  • React - The Metorial Dashboard is built with React.

Features

Metorial is built to make it super easy for developers to connect their AI apps to external data and tools. Powered by the Model Context Protocol (MCP), Metorial is built on standards.

Large Server Catalog

The Metorial server index already contains more than 5000 MCP servers. It's a super easy to find and use MCP servers for your AI applications. Everything is searchable and neatly organized, so you can find the right server for your use case.

https://github.com/user-attachments/assets/a171030e-0159-4ce2-9e92-f4fb3f7bfdc6

Embedded MCP Explorer

Test and explore MCP servers directly in the Metorial Dashboard. The embedded MCP Explorer allows you to use any MCP server without leaving the dashboard. This makes it easy to test and debug your integrations before writing any code.

https://github.com/user-attachments/assets/eeb73085-e1d6-4745-988a-385694d26500

Monitoring and Debugging

Every MCP session is recorded and can be reviewed in the Metorial Dashboard. This allows you to monitor and find issues in your integrations. And even better, if an error occurs, Metorial detects it and provides a detailed error report so you can quickly fix the issue.

https://github.com/user-attachments/assets/c676411e-25b6-442a-af22-c8d99e2be25b

Built for Developers

Metorial is built from the ground up for developers. Here are some of the key features that make Metorial a great choice for developers:

  • Customizable: Metorial is highly customizable, allowing you to configure your integrations to fit your needs.
  • Open source: Metorial is open source, so you can run it on your own infrastructure or use our hosted platform.
  • Multi-instance support: Create multiple instances of your Metorial Projects to test different configurations, environments or versions of your integrations.
  • Powerful SDKs: Metorial provides powerful SDKs for JavaScript/TypeScript and Python, making it easy to integrate with your AI applications.
  • Detailed documentation: Metorial provides detailed documentation for all its features, including examples and tutorials to help you get started quickly.
  • Full API access: Every feature of Metorial is accessible via the API, allowing you to build custom integrations and automate your workflows. Theoretically, you could build your own dashboard using the API.
  • Advanced dashboard: The Metorial Dashboard provides a powerful interface for managing your integrations, monitoring your usage, and debugging your MCP servers.

License

The Metorial Catalog is licensed under the Apache License 2.0.

MetorialのMCPを複数のAIモデルで活用

TypingMindはワークスペース単位でMCPツールに接続します。そのため、一度Metorialに接続すれば、モデルごとに個別に設定することなく、TypingMind内のさまざまなAIモデルで利用できます。 このMCPは、デバイス上のTypingMind MCPコネクタを通じてローカルで動作します。

ローカルコネクタのセットアップガイド

MCPサーバーが、お使いのコンピューター上のローカルファイル、アプリ、非公開リソースにアクセスする必要がある場合は、この方法を使います。

1

MCP設定を開く

TypingMindで「設定」、「詳細設定」、「MCP」の順に進み、「コネクタを設定」を選択してください。

  1. ブラウザでTypingMindを開いてください。
  2. 設定アイコンをクリックしてください。
  3. 「詳細設定」に移動してください。
  4. 「MCP」セクションを開いてください。
  5. 「コネクタを設定」をクリックし、「このデバイス」を選択してください。
「このデバイス」が選択されたTypingMindのMCPコネクタ設定画面
2

コネクタのコマンドを実行

「このデバイス」を選択し、TypingMindからコマンドをコピーしてターミナルで実行してください。MCPの使用中は、プロセスを実行したままにしてください。

  1. TypingMindに表示されるセットアップコマンドをコピーしてください。
  2. macOSではターミナルを、WindowsではWindows Terminalを開いてください。
  3. コマンドを貼り付けて実行してください。
  4. ターミナルで続行の確認を求められた場合は、パッケージのインストールを承認してください。
  5. MCPツールの使用中は、ターミナルウィンドウを開いたまま、プロセスの実行を継続してください。
3

Metorialをサーバーとして追加

コネクタのステータスが「準備完了」になったら、「サーバーを編集」をクリックし、MCPサーバーの設定を貼り付けてください。

  1. コネクタのステータスが「準備完了」になるまでお待ちください。
  2. 「サーバーを編集」をクリックしてください。
  3. MetorialのMCPサーバー設定を貼り付けてください。
  4. サーバー一覧を保存してください。
  5. コネクタが引き続き使用可能か確認するには、更新してください。
稼働中のサーバーと「サーバーを編集」ボタンが表示されたTypingMindのMCP設定画面
{
  "mcpServers": {
    "metorial": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

複数のモデルで同じ接続を使用

サーバー一覧を保存し、「プラグイン」を開いてMetorialのMCPツールを有効にしてください。その後、TypingMindで対応するAIモデルを選択し、チャットでツールを使うか、AIエージェントに割り当ててください。

  1. TypingMindの「プラグイン」ページを開いてください。
  2. MetorialのMCPツールを有効にしてください。
  3. チャットを開始し、使用するAIモデルを選択してください。
  4. MCPツールをチャットで使うか、AIエージェントに割り当ててください。
  5. MCPに再接続することなく、必要に応じて別のAIモデルに切り替えられます。
選択したAIモデルと有効なMCPツールを使用したTypingMindのチャット
Metorialを使ってこのタスクを手伝ってもらえますか?
Metorial
はい、読みました。
Metorialで調べた結果をお伝えします。

よくある質問

Metorial MCPサーバーは何に使いますか?

Metorialは、対応するAIクライアントを外部ツールやコンテキストに接続するためのMCPサーバーです。TypingMindでは、このMCPサーバーを一度追加するだけで、AIワークスペース内でそのツールを利用できるようになります。

TypingMindでMetorial MCPを複数のAIモデルと併用できますか?

はい。TypingMindはワークスペース単位でMCPツールに接続するため、モデルごとにMCPサーバーを設定する必要はありません。Claude、ChatGPT、Geminiや、TypingMindで設定したその他のAIモデルでMetorialを利用できます。

TypingMindでMetorial MCPを使うメリットは何ですか?

TypingMindは、複数のAIモデル、プロンプト、プラグイン、AIエージェント、APIキー、MCPツールを1つのワークスペースにまとめられる、LLMチャット向けの優れたフロントエンドです。Metorialを接続すると、TypingMindでチャットのワークフローを整理しながら、お好みのモデルでそのMCPツールを利用できます。

Metorial MCPをTypingMindに接続するにはどうすればよいですか?

MetorialはTypingMindのローカルMCPコネクタ経由で動作します。MCPサーバーがコンピューター上のローカルファイル、デスクトップアプリ、コマンドラインツール、プライベートリソースにアクセスする必要がある場合に最適です。

TypingMindでMetorial MCPのどのようなツールを利用できますか?

MetorialはMCP機能を提供しています。TypingMindのプラグインページで有効にすると、チャットで使用したり、AIエージェントに割り当てたりできます。

Metorial MCPを使うには、APIキーをTypingMindと共有する必要がありますか?

いいえ。TypingMindはローカルファーストの設計で、モデルプロバイダー、APIキー、プロンプト、MCP設定をご自身で管理できます。Metorialで認証が必要な場合は、接続の作成時に、そのMCPサーバーに必要なヘッダー、OAuth設定、またはローカル設定を追加してください。

関連するMCPサーバー

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇