Extract structured data from a web page, read it as markdown, verify values against the source.
接入配置
选择客户端,复制配置,再按项目文档补齐环境变量。
本地运行
claude mcp add contrie --env CONTRIE_API_KEY='<CONTRIE_API_KEY>' -- npx -y @contrie/mcp~/.codex/config.toml
[mcp_servers.contrie]
command = "npx"
args = ["-y", "@contrie/mcp"]
env = { CONTRIE_API_KEY = "<CONTRIE_API_KEY>" }
# codex mcp add contrie --env CONTRIE_API_KEY='<CONTRIE_API_KEY>' -- npx -y @contrie/mcp~/.cursor/mcp.json
{
"mcpServers": {
"contrie": {
"command": "npx",
"args": [
"-y",
"@contrie/mcp"
],
"env": {
"CONTRIE_API_KEY": "<CONTRIE_API_KEY>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"contrie": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@contrie/mcp"
],
"env": {
"CONTRIE_API_KEY": "<CONTRIE_API_KEY>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"contrie": {
"command": "npx",
"args": [
"-y",
"@contrie/mcp"
],
"env": {
"CONTRIE_API_KEY": "<CONTRIE_API_KEY>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"contrie": {
"command": "npx",
"args": [
"-y",
"@contrie/mcp"
],
"env": {
"CONTRIE_API_KEY": "<CONTRIE_API_KEY>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"contrie": {
"command": "npx",
"args": [
"-y",
"@contrie/mcp"
],
"env": {
"CONTRIE_API_KEY": "<CONTRIE_API_KEY>"
}
}
}
}远程托管
claude mcp add --transport http contrie https://www.contrie.com/mcp~/.codex/config.toml
[mcp_servers.contrie]
url = "https://www.contrie.com/mcp"
# codex mcp add contrie --url https://www.contrie.com/mcp~/.cursor/mcp.json
{
"mcpServers": {
"contrie": {
"url": "https://www.contrie.com/mcp"
}
}
}.vscode/mcp.json
{
"servers": {
"contrie": {
"type": "http",
"url": "https://www.contrie.com/mcp"
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"contrie": {
"httpUrl": "https://www.contrie.com/mcp"
}
}
}claude_desktop_config.json · Customize › Connectors › Add custom connector
{
"mcpServers": {
"contrie": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://www.contrie.com/mcp"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"contrie": {
"url": "https://www.contrie.com/mcp"
}
}
}需要的环境变量
CONTRIE_API_KEY
把占位值换成你自己的密钥;不要把密钥提交到代码仓库。