经 AI Skill Hub 精选评估,Metorial-Node 获评「推荐使用」。这款MCP工具在功能完整性、社区活跃度和易用性方面表现出色,AI 评分 7.5 分,适合有一定技术背景的用户使用。
Metorial API的官方TypeScript SDK,提供了一个开源的MCP工具,方便开发者与Metorial API进行交互。
Metorial-Node 是一款遵循 MCP(Model Context Protocol)标准协议的 AI 工具扩展。通过 MCP 协议,它可以让 Claude、Cursor 等主流 AI 客户端直接访问和操作外部工具、数据源和服务,实现 AI 能力的无缝扩展。无论是文件操作、数据库查询还是 API 调用,都可以通过自然语言在 AI 对话中直接触发,极大提升生产效率。
Metorial API的官方TypeScript SDK,提供了一个开源的MCP工具,方便开发者与Metorial API进行交互。
Metorial-Node 是一款遵循 MCP(Model Context Protocol)标准协议的 AI 工具扩展。通过 MCP 协议,它可以让 Claude、Cursor 等主流 AI 客户端直接访问和操作外部工具、数据源和服务,实现 AI 能力的无缝扩展。无论是文件操作、数据库查询还是 API 调用,都可以通过自然语言在 AI 对话中直接触发,极大提升生产效率。
# 方式一:通过 Claude Code CLI 一键安装
claude skill install https://github.com/metorial/metorial-node
# 方式二:手动配置 claude_desktop_config.json
{
"mcpServers": {
"metorial-node": {
"command": "npx",
"args": ["-y", "metorial-node"]
}
}
}
# 配置文件位置
# macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
# Windows: %APPDATA%/Claude/claude_desktop_config.json
# 安装后在 Claude 对话中直接使用 # 示例: 用户: 请帮我用 Metorial-Node 执行以下任务... Claude: [自动调用 Metorial-Node MCP 工具处理请求] # 查看可用工具列表 # 在 Claude 中输入:"列出所有可用的 MCP 工具"
// claude_desktop_config.json 配置示例
{
"mcpServers": {
"metorial-node": {
"command": "npx",
"args": ["-y", "metorial-node"],
"env": {
// "API_KEY": "your-api-key-here"
}
}
}
}
// 保存后重启 Claude Desktop 生效
```bash npm install metorial
Some providers (Exa, Tavily) use API keys configured entirely in the dashboard. Just pass the deployment ID — no auth code needed:
providers: [{ providerDeploymentId: 'your-exa-deployment-id' }];
This example uses Metorial Search, a built-in web search provider that requires no auth configuration. You just need two environment variables:
METORIAL_API_KEY from platform.metorial.comANTHROPIC_API_KEY from console.anthropic.comnpm install metorial @metorial/ai-sdk @ai-sdk/anthropic ai
import { anthropic } from '@ai-sdk/anthropic';
import { metorialAiSdk } from '@metorial/ai-sdk';
import { Metorial } from 'metorial';
import { stepCountIs, streamText } from 'ai';
let metorial = new Metorial({ apiKey: process.env.METORIAL_API_KEY! });
// Create a deployment for Metorial Search (built-in web search, no auth needed)
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(),
onStepFinish: step => {
if (step.toolCalls?.length) {
console.log(step.toolCalls.map(tc => tc.toolName).join(', '));
}
}
});
for await (let part of result.textStream) {
process.stdout.write(part);
}
See the full runnable example at examples/typescript-quick-start/.
Check out the examples/ directory for more comprehensive examples:
typescript-quick-start - Quick start with Metorial Searchtypescript-ai-sdk - AI SDK + Anthropic (v5/v6)typescript-ai-sdk-v4 - AI SDK + Anthropic (v4)typescript-anthropic - Anthropic SDKtypescript-openai - OpenAItypescript-openai-compatible - Any OpenAI-compatible APItypescript-google - Google Geminitypescript-deepseek - DeepSeektypescript-mistral - Mistraltypescript-togetherai - TogetherAItypescript-xai - xAI (Grok)typescript-langchain - LangChain + LangGraphtypescript-provider-config - Provider configuration patternsAll LLM integrations follow the same metorial.connect({ adapter, providers }) pattern. See examples/ for complete examples with every supported LLM.
An auth config represents an already-authenticated connection to a provider — for example, a user who has completed the OAuth flow for Slack. Once created (via the dashboard or a setup session), reference it by ID:
providers: [
{
providerDeploymentId: 'your-slack-deployment-id',
providerAuthConfigId: 'your-auth-config-id'
}
];
session.tools() into streaming APIs like AI SDK's streamText(). See the Quick Start for a full example.{ sessionTemplateId: '...' } in the providers array to load a dashboard-managed session template.connect() session, see the lower-level SDK docs.The official Node.js/TypeScript SDK for Metorial. Give your AI agents access to tools like Slack, GitHub, SAP, and hundreds more through MCP — without managing servers, auth flows, or infrastructure.
Sign up for a free account to get started.
This SDK provides adapter packages that format MCP tools for each LLM. You can also use the API directly.
| LLM Integration | Import | Format | Models (non-exhaustive) | Example |
|---|---|---|---|---|
| AI SDK | @metorial/ai-sdk | Framework tools | Any model via Vercel AI SDK | [typescript-ai-sdk](examples/typescript-ai-sdk/) |
| OpenAI | @metorial/openai | OpenAI function calling | gpt-4.1, gpt-4o, o1, o3 | [typescript-openai](examples/typescript-openai/) |
| Anthropic | @metorial/anthropic | Claude tool format | claude-sonnet-4-5, claude-opus-4 | [typescript-anthropic](examples/typescript-anthropic/) |
@metorial/google | Gemini function declarations | gemini-2.5-pro, gemini-2.5-flash | [typescript-google](examples/typescript-google/) | |
| Mistral | @metorial/mistral | Mistral function calling | mistral-large-latest, codestral-latest | [typescript-mistral](examples/typescript-mistral/) |
| DeepSeek | @metorial/deepseek | OpenAI-compatible | deepseek-chat, deepseek-reasoner | [typescript-deepseek](examples/typescript-deepseek/) |
| TogetherAI | @metorial/togetherai | OpenAI-compatible | Llama-4, Qwen-3 | [typescript-togetherai](examples/typescript-togetherai/) |
| XAI | @metorial/xai | OpenAI-compatible | grok-3, grok-3-mini | [typescript-xai](examples/typescript-xai/) |
| LangChain | @metorial/langchain | LangChain tools | Any model via LangChain | [typescript-langchain](examples/typescript-langchain/) |
| OpenAI-Compatible | @metorial/openai-compatible | OpenAI-compatible | Any OpenAI-compatible API | [typescript-openai-compatible](examples/typescript-openai-compatible/) |
Metorial-Node是一个基本的TypeScript SDK,提供了一个开源的MCP工具,方便开发者与Metorial API进行交互,但其功能和特性需要进一步开发和完善。
AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。
建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。
✅ MIT 协议 — 最宽松的开源协议之一,可自由商用、修改、分发,仅需保留版权声明。
AI Skill Hub 点评:Metorial-Node 的核心功能完整,质量良好。对于Claude Desktop / Claude Code 用户来说,这是一个值得纳入个人工具库的选择。建议先在非生产环境试用,再逐步推广。
| 原始名称 | metorial-node |
| 原始描述 | 开源MCP工具:Official TypeScript SDK for the Metorial API ✨📡 。⭐9 · TypeScript |
| Topics | aimcpsdktypescript |
| GitHub | https://github.com/metorial/metorial-node |
| License | MIT |
| 语言 | TypeScript |
收录时间:2026-06-04 · 更新时间:2026-06-04 · License:MIT · AI Skill Hub 不对第三方内容的准确性作法律背书。
选择 Agent 类型,复制安装指令后粘贴到对应客户端