CSFD API MCP Server 标志

CSFD API MCP Server

社区
bartholomej

ČSFD API in JavaScript. Amazing NPM library for scrapping csfd.cz. Now with MCP server

发布者bartholomej
代码仓库node-csfd-api
语言TypeScript
复刻数
14
星标数
62
可用工具
0
传输类型stdio, streamable-http
分类
许可协议MIT
链接
  • 将工具接入 AI 工作流

    CSFD API MCP Server 提供 MCP 功能,可供兼容的 AI 客户端和智能体使用。

  • 0 个可用工具

    浏览下方可调用的操作;如果服务器提供了名称和描述,也会一并显示。

  • 可直接复制的配置

    使用安装配置片段,在您首选的 MCP 客户端中配置此服务器。

  • 开源社区热度

    关联的代码仓库有 62 个 Star 和 14 个 Fork。

npm version License Build & Publish Coverage npm downloads

CSFD API 🎬 + CSFD Export 💾 + CSFD MCP 🤖

Modern TypeScript NPM library for scraping CSFD.CZ. Scraper, API Rest Server, Exporter and MCP Server in one package. (unofficial)

Features • Installation • Quick Start • API Reference • Examples • MCP Server • Docker


✨ Features

  • 🎯 Type-safe - Full TypeScript support with type definitions
  • 🧪 Well-tested - ~100% code coverage
  • 🚀 Universal - Works in Node.js, browsers, and serverless environments
  • 🐳 Docker ready - Pre-built Docker images available
  • 🍺 Homebrew support - Easy globally installed CLI via Homebrew tap
  • 🤖 MCP Server - Use CSFD data directly within LLMs like Claude Desktop
  • 🔄 Modern API - Promise-based with async/await support
  • 📦 Few dependencies - Lightweight and efficient

Supported Platforms

  • Node.js (ESM & CommonJS)
  • Browsers (with CORS considerations)
  • Docker containers
  • macOS/Linux CLI (via Homebrew)
  • MCP Server (Claude Desktop, etc.)
  • Serverless (Firebase Functions, AWS Lambda, CloudFlare Workers, etc.)
  • Chrome Extensions
  • React Native (Yes, with Expo too!)

📦 Installation

bash
npm install node-csfd-api
# yarn add node-csfd-api
# pnpm add node-csfd-api

🚀 Quick Start

typescript
import { csfd } from 'node-csfd-api';

// Fetch movie details
const movie = await csfd.movie(535121);
console.log(movie.title); // "Na špatné straně"

// Search for content
const results = await csfd.search('Tarantino');
console.log(results.movies, results.tvSeries, results.users);

// Get creator info
const creator = await csfd.creator(2120);
console.log(creator.name); // "Quentin Tarantino"

// Get user ratings
const ratings = await csfd.userRatings('912');
console.log(ratings);

// Get user reviews
const reviews = await csfd.userReviews('195357-verbal');
console.log(reviews);

📖 Table of Contents

📚 API Reference

Movie

Retrieve comprehensive information about a movie or TV series by its ČSFD ID.

Method: csfd.movie(id: number): Promise<Movie>

typescript
import { csfd } from 'node-csfd-api';

// Using async/await
const movie = await csfd.movie(535121);

// Alternatively, using promises
csfd.movie(535121).then((movie) => console.log(movie));
javascript
{
  id: 535121,
  title: 'Na špatné straně',
  year: '2018',
  descriptions: [
    'Otupělý policejní veterán Ridgeman (Mel Gibson)...',
    'Brett je policajt tesne ...'
  ],
  genres: [ 'Krimi', 'Drama', 'Thriller' ],
  type: 'film',
  url: 'https://www.csfd.cz/film/535121',
  origins: [ 'USA', 'Kanada' ],
  colorRating: 'good',
  rating: 73,
  ratingCount: 6654,
  photo: '//image.pmgstatic.com/cache/resized/w1326/files/images/film/photos/162/980/162980090_bbffbb.jpg',
  trivia: ['Když Henry (Tory Kittles) se svým mladším bratrem...', 'Ve filmu se střídají...'],
  titlesOther: [
    { country: 'USA', title: 'Dragged Across Concrete' },
    { country: 'Kanada', title: 'Dragged Across Concrete' },
    { country: 'Slovensko', title: 'Na zlej strane' },
    { country: 'Austrálie', title: 'Dragged Across Concrete' },
    { country: 'Velká Británie', title: 'Dragged Across Concrete' }
  ],
  poster: 'https://image.pmgstatic.com/cache/resized/w1080/files/images/film/posters/163/579/163579352_bf8737.jpg',
  creators: {
    directors: [
    {
      id: 87470,
      name: 'S. Craig Zahler',
      url: 'https://www.csfd.cz/tvurce/87470-s-craig-zahler/'
      }
    ],
    actors: [
      {
        id: 1,
        name: 'Mel Gibson',
        url: 'https://www.csfd.cz/tvurce/1-mel-gibson/'
      }
    ],
    basedOn: [],
    writers: [
      {
        id: 87470,
        name: 'S. Craig Zahler',
        url: 'https://www.csfd.cz/tvurce/87470-s-craig-zahler/'
      }
    ],
    music: [
      {
        id: 203209,
        name: 'Jeff Herriott',
        url: 'https://www.csfd.cz/tvurce/203209-jeff-herriott/'
      }
    ],
    producers: [
      {
        id: 320006,
        name: 'Sefton Fincham',
        url: 'https://www.csfd.cz/tvurce/320006-sefton-fincham/'
      }
    ]
  },
  vod: [
    {
      title: 'Voyo',
      url: 'https://voyo.nova.cz/filmy/4604-na-spatne-strane'
    },
    {
      title: 'DVD',
      url: 'https://filmy.heureka.cz/na-spatne-strane-dvd/#utm_source=csfd.cz&utm_medium=cooperation&utm_campaign=csfd_movies_feed'
    }
  ],
  tags: ['město', 'sledování'],
  premieres: [
   {
      country: 'Česko',
      format: 'Na Blu-ray',
      date: '07.08.2019',
      company: 'Magic Box'
    },
    {
      country: 'USA',
      format: 'V kinech',
      date: '22.03.2019',
      company: 'Lionsgate US'
    }
  ]
}

Search

Search for movies, TV series, and users across the ČSFD database.

Method: csfd.search(query: string): Promise<SearchResults>

typescript
import { csfd } from 'node-csfd-api';

const results = await csfd.search('bart');

// Access different result types
console.log(results.movies); // Array of movies
console.log(results.tvSeries); // Array of TV series
console.log(results.users); // Array of users
javascript
[
  {
    id: 19653,
    title: 'Black Bart',
    year: '1975',
    url: 'https://www.csfd.cz/film/19653-black-bart/',
    type: 'tv-film',
    colorRating: 'bad',
    poster: 'data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7',
    origins: ['USA'],
    creators: {
      directors: [{
        id: 87470,
        name: 'S. Craig Zahler',
        url: 'https://www.csfd.cz/tvurce/87470-s-craig-zahler/'
      }],
      actors: [{
        id: 1,
        name: 'Mel Gibson',
        url: 'https://www.csfd.cz/tvurce/1-mel-gibson/'
      }]
    }
  }
],
tvSeries: [
  {
    id: 71924,
    title: 'Království',
    year: 1994,
    url: 'https://www.csfd.cz/film/71924-kralovstvi/',
    type: 'series',
    colorRating: 'good',
    poster: 'https://image.pmgstatic.com/cache/resized/w60h85/files/images/film/posters/166/708/166708064_2da697.jpg',
    origins: ['Dánsko'],
    creators: []
  }
],
users: [
  {
    id: 912,
    user: 'BART!',
    userRealName: 'Lukáš Barták',
    avatar: 'https://image.pmgstatic.com/cache/resized/w45h60/files/images/user/avatars/000/281/281554_1c0fef.jpg',
    url: 'https://www.csfd.cz/uzivatel/912-bart/'
  }
]

Creators

Get detailed information about a creator including their biography and filmography.

Method: csfd.creator(id: number): Promise<Creator>

typescript
import { csfd } from 'node-csfd-api';

const creator = await csfd.creator(2120); // Quentin Tarantino

console.log(creator.name); // Name
console.log(creator.bio); // Biography
console.log(creator.films); // Filmography
console.log(creator.birthday); // Birth date
// ... many more properties, see example
javascript
{
  id: 2120,
  name: 'Quentin Tarantino',
  birthday: '27.03.1963',
  birthplace: 'Knoxville, Tennessee, USA',
  photo: 'https://image.pmgstatic.com/cache/resized/w100h132crop/files/images/creator/photos/164/515/164515525_b98f8a.jpg',
  age: 58,
  bio: 'Quentin Tarantino se narodil 27. března roku 1963 v americkém Knoxville teprve šestnáctileté Connie Tarantinové. Své jméno Quentin dostal podle matčiny oblíbené televizní postavy Quinta ze seriálu "Gunsmoke". Quentinův otec byl jistý Tony Tarantino, který rodinu opustil když byl Quentin ještě malinký. Jeho dětství a dospívání ovlivnily nejen filmy, ale pop kultura obecně. Televizní seriály, komiksy, populární hudba, to vše jako mladý hltal ve velkém a stále neměl…',
  films: [
    {
      id: 527699,
      title: 'Tenkrát v Hollywoodu',
      year: 2019,
      colorRating: 'good'
    },
    {
      id: 362228,
      title: 'Osm hrozných',
      year: 2015,
      colorRating: 'good'
    },
    {
      id: 294824,
      title: 'Nespoutaný Django',
      year: 2012,
      colorRating: 'good'
    },
    {
      id: 117077,
      title: 'Hanebný pancharti',
      year: 2009,
      colorRating: 'good'
    },
    {
      id: 229384,
      title: 'Grindhouse: Auto zabiják',
      year: 2007,
      colorRating: 'average'
    },
    {
      id: 178904,
      title: 'Sin City - město hříchu',
      year: 2005,
      colorRating: 'good'
    },
    {
      id: 136304,
      title: 'Kill Bill 2',
      year: 2004,
      colorRating: 'good'
    },
    { id: 43483, title: 'Kill Bill', year: 2003, colorRating: 'good' },
    {
      id: 8850,
      title: 'Jackie Brown',
      year: 1997,
      colorRating: 'good'
    },
    {
      id: 7743,
      title: 'Čtyři pokoje',
      year: 1995,
      colorRating: 'good'
    },
    {
      id: 8852,
      title: 'Pulp Fiction: Historky z podsvětí',
      year: 1994,
      colorRating: 'good'
    }
  ]
}

User Ratings

Retrieve user ratings from their ČSFD profile.

Method: csfd.userRatings(username: string, options?: UserRatingsOptions): Promise<Rating[]>

Basic Usage

typescript
import { csfd } from 'node-csfd-api';

// Get last page of ratings (~50 items)
const ratings = await csfd.userRatings('912-bart');

Advanced Options

typescript
// Get specific page
const page2 = await csfd.userRatings('912-bart', { page: 2 });

// Get all ratings (use with caution - rate limiting applies)
const allRatings = await csfd.userRatings('912-bart', {
  allPages: true,
  allPagesDelay: 2000 // 2 second delay between requests
});

// Filter by content type
const onlyMovies = await csfd.userRatings('912-bart', {
  includesOnly: ['film']
});

const excludeEpisodes = await csfd.userRatings('912-bart', {
  exclude: ['episode', 'season']
});

⚠️ Rate Limiting Warning: When fetching all pages, use appropriate delays to avoid detection. Consider implementing exponential backoff for large datasets.

javascript
[
  {
    title: 'David Attenborough: Život na naší planetě',
    year: 2020,
    type: 'film',
    url: 'https://www.csfd.cz/film/812944-david-attenborough-zivot-na-nasi-planete/',
    colorRating: 'good',
    userDate: '01.11.2020',
    userRating: 5
  },
  {
    title: 'Coronation',
    year: 2020,
    type: 'film',
    url: 'https://www.csfd.cz/film/912552-coronation/',
    colorRating: 'good',
    userDate: '28.10.2020',
    userRating: 4
  }
];

UserRatingsOptions

OptionTypeDefaultDescription
includesOnlyCSFDFilmTypes[]nullInclude only specific content types (e.g., ['film', 'series'])
excludeCSFDFilmTypes[]nullExclude specific content types (e.g., ['episode'])
allPagesbooleanfalseFetch all pages of ratings
allPagesDelaynumber0Delay between page requests in milliseconds
pagenumber1Fetch specific page number
onProgress(page: number, total: number) => voidundefinedCalled on each page fetch — use for progress bars or logging

📝 Note: includesOnly and exclude are mutually exclusive. If both are provided, includesOnly takes precedence.

🔗 See CSFDFilmTypes definition

User Reviews

Retrieve detailed user reviews from their ČSFD profile.

Method: csfd.userReviews(userId: number | string, options?: UserReviewsOptions): Promise<Review[]>

Basic Usage

typescript
import { csfd } from 'node-csfd-api';

// Get latest reviews
const reviews = await csfd.userReviews(195357);

Advanced Options

typescript
// Get specific page
const page2 = await csfd.userReviews(195357, { page: 2 });

// Get all reviews with rate limiting
const allReviews = await csfd.userReviews(195357, {
  allPages: true,
  allPagesDelay: 2000
});

// Filter by content type
const filtered = await csfd.userReviews(195357, {
  includesOnly: ['film'],
  exclude: ['episode']
});
javascript
[
  {
    id: 1391448,
    title: 'Co s Péťou?',
    year: 2025,
    type: 'film',
    url: 'https://www.csfd.cz/film/1391448-co-s-petou/prehled/',
    colorRating: 'good',
    userDate: '27.11.2025',
    userRating: 4,
    text: 'Co s Péťou? Inu, co by? Každý normální Sparťan by to okamžitě mrdnul z útesu...',
    poster:
      'https://image.pmgstatic.com/cache/resized/w240h339/files/images/film/posters/170/492/170492173_1l3djd.jpg'
  },
  {
    id: 1530416,
    title: 'Kouzlo derby',
    year: 2025,
    type: 'film',
    url: 'https://www.csfd.cz/film/1530416-kouzlo-derby/prehled/',
    colorRating: 'average',
    userDate: '26.11.2025',
    userRating: 1,
    text: 'Typické kolečkoidní sebevykradačské pásmo klišovitých...',
    poster:
      'https://image.pmgstatic.com/cache/resized/w240h339/files/images/film/posters/170/230/170230377_cimu90.jpg'
  }
];

UserReviewsOptions

Same options as UserRatingsOptions.

💻 CLI Tools

This library ships with a CLI exposing several tools. Choose the installation method that fits your workflow.

Installation

Option A: npx (no installation required)

Runs directly via Node.js

bash
npx node-csfd-api <command>

Option B: Homebrew (macOS)

bash
brew install bartholomej/tap/csfd

Option C: Install script (macOS & Linux)

Installs the latest stable release as a standalone binary to ~/.local/bin/csfd.

bash
curl -fsSL https://raw.githubusercontent.com/bartholomej/node-csfd-api/master/install.sh | bash
## Install specific version
# curl -fsSL https://raw.githubusercontent.com/bartholomej/node-csfd-api/master/install.sh | CSFD_VERSION=5.5.0 bash

Option D: Windows (manual download)

Download csfd-windows-x64.zip from the latest release, extract csfd.exe, and add it to your PATH.

⚠️ Windows may show a SmartScreen warning ("Windows protected your PC") because the binary is not code-signed. To proceed: click More info → Run anyway. Alternatively, right-click the .exe → Properties → check Unblock.


CLI Examples

💡 The examples below use csfd (Options B, C & D). If you use npx, replace it with npx node-csfd-api — e.g. npx node-csfd-api export ratings 912.

1. Search

bash
csfd search tarantino
# npx node-csfd-api search tarantino
csfd search "blade runner" --json   # raw JSON output
# npx node-csfd-api search "blade runner" --json

2. Movie Details

bash
csfd movie 535121             # by ID
# npx node-csfd-api movie 535121
csfd movie "blade runner"     # by title — searches and shows the top result
# npx node-csfd-api movie "blade runner"
csfd movie 535121 --json      # raw JSON output, pipe-friendly
# npx node-csfd-api movie 535121 --json

3. Export Ratings (CSV, JSON & Letterboxd)

Backup your personal user ratings. Use this tool just to keep a local copy of your data.

bash
csfd export ratings 912            # CSV (default) -> <userId>-ratings.csv
# npx node-csfd-api export ratings 912
csfd export ratings 912 --json     # JSON -> <userId>-ratings.json
# npx node-csfd-api export ratings 912 --json
csfd export ratings 912 --letterboxd  # Letterboxd CSV -> <userId>-for-letterboxd.csv
# npx node-csfd-api export ratings 912 --letterboxd

3. Export Reviews (CSV & JSON)

bash
csfd export reviews 912            # CSV (default) -> <userId>-reviews.csv
# npx node-csfd-api export reviews 912
csfd export reviews 912 --json     # JSON -> <userId>-reviews.json
# npx node-csfd-api export reviews 912 --json

4. REST API Server

bash
csfd server
# npx node-csfd-api server

5. MCP Server for AI Agents

bash
csfd mcp
# npx node-csfd-api mcp

🤖 MCP Server (Model Context Protocol)

This library includes a built-in Model Context Protocol (MCP) server. This allows you to use ČSFD data directly within LLMs like Claude Desktop.

Features

  • Search: Search for movies, TV series, and users.
  • Details: Get comprehensive details about movies, creators, and users.
  • Reviews: Read user reviews and ratings.

Usage with Claude Desktop

Add the following configuration to your claude_desktop_config.json:

json
{
  "mcpServers": {
    "csfd": {
      "command": "npx",
      "args": ["-y", "node-csfd-api", "mcp"]
    }
  }
}

Supported Tools

  • search: Search query (returns movies, series, users)
  • movie_details: Get movie details by ID
  • creator_details: Get creator details by ID
  • user_ratings: Get user ratings
  • user_reviews: Get user reviews

🐳 Docker Support

Run the CSFD API as a standalone REST service using Docker.

Using Pre-built Image

bash
# Pull the latest image
docker pull bartholomej/node-csfd-api

# Run the container
docker run -p 3000:3000 bartholomej/node-csfd-api

Building Your Own Image

bash
# Build the image
docker build -t node-csfd-api .

# Run the container
docker run -p 3000:3000 node-csfd-api

REST API Endpoints

Once running, access the API at http://localhost:3000:

EndpointDescriptionExample
/movie/:idGet movie details/movie/535121
/search/:querySearch content/search/tarantino
/creator/:idGet creator info/creator/2120
/user-ratings/:usernameGet user ratings/user-ratings/912-bart
/user-reviews/:userIdGet user reviews/user-reviews/195357

Docker Hub: bartholomej/node-csfd-api

🌟 Real-World Usage

This library powers several production applications:

Browser Extensions

Web Applications

  • bartweb.cz - Personal website using Firebase Functions for "Last Seen" movie tracking

Mobile Applications

  • KinoKlub - React Native app for AeroFilms cinema chain (Android & iOS)

🔮 Roadmap

Completed Features ✅

  • Movies & TV Series
    • Basic info (title, year, rating, poster, duration)
    • Detailed metadata (genres, origins, VOD platforms)
    • Cast & crew (directors, actors, writers, composers, producers, etc.)
    • Related content (similar movies, trivia)
    • Alternative titles, premieres, tags
  • Search
    • Movies, TV series, Creators and users
  • Creators
    • Biography and filmography
  • User Data
    • Ratings with pagination and filtering
    • Reviews with pagination and filtering

Planned Features 🚧

  • Search: Creator search functionality
  • Movie: reviews from movie detail page
  • Movie: Original soundtracks (OST) information
  • Server: Caching layer for improved performance
  • Server: Rate limiting helpers

🛠️ Development

Prerequisites

  • Node.js 18+
  • yarn/npm/pnpm/...

Setup

bash
# Clone the repository
git clone https://github.com/bartholomej/node-csfd-api.git
cd node-csfd-api

# Install dependencies
yarn install

# Run tests
yarn test

# Run tests with coverage
yarn test:coverage

# Start development mode
yarn start

# Run the demo
yarn demo

Project Structure

text
src/
├── dto/              # Data transfer objects & types
├── fetchers/         # HTTP request handlers
├── helpers/          # Parsing & data transformation
├── services/         # Main API service classes
└── index.ts          # Public API exports

Testing

The project maintains ~100% code coverage. Tests are located in the tests/ directory.

bash
# Run all tests
yarn test

# Run tests in watch mode
yarn test:watch

# Generate coverage report
yarn test:coverage

🤝 Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

How to Contribute

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/amazing-feature)
  3. Make your changes
  4. Add tests for new functionality
  5. Ensure tests pass (yarn test)
  6. Commit your changes (git commit -m 'Add amazing feature')
  7. Push to the branch (git push origin feature/amazing-feature)
  8. Open a Pull Request

Guidelines

  • Write clear, concise commit messages
  • Add tests for new features
  • Update documentation as needed
  • Follow the existing code style
  • Ensure all tests pass before submitting PR

Reporting Issues

Found a bug? Have a feature request? Please open an issue with:

  • Clear description of the problem
  • Steps to reproduce (for bugs)
  • Expected vs actual behavior
  • Environment details (Node version, OS, etc.)

⭐️ Support

If you find this project useful and you are brave enough consider making a donation for some 🍺 or 🍵 ;)

Your support helps maintain and improve this library! 🙏

🔒 Privacy & Security

This library does not collect, store, or transmit any user data.

All requests are made directly from your application to ČSFD.cz. No intermediary servers are involved, and no data is logged or stored by this library.

I physically can't. I have nowhere to store it. I don't even have a server database to store it. So even if Justin Bieber asked nicely to see your data, I wouldn't have anything to show him.

Important Notes

  • This is a scraping library - use it responsibly and respect ❤️ ČSFD's terms of service
  • Implement appropriate rate limiting in production
  • Consider caching responses to minimize server load
  • Be aware of CORS restrictions when using in browsers

📝 License

MIT © 2020 - 2026 Lukas Bartak

See LICENSE for full details.


Built with ❤️ by Lukas Bartak

Powered by nature 🗻, wind 💨, tea 🍵 and beer 🍺

⭐ Star on GitHub • 📦 NPM Package • 🐳 Docker Hub

安装

TypingMind
前提条件:

Node.js 18+

{
  "mcpServers": {
    "bartholomej-node-csfd-api": {
      "command": "npx",
      "args": [
        "-y",
        "node-csfd-api"
      ]
    }
  }
}

将 CSFD API MCP Server MCP 与多个 AI 模型配合使用

TypingMind 在工作区级别连接 MCP 工具,因此连接 CSFD API MCP Server 后,您就可以在 TypingMind 中搭配不同的 AI 模型使用,无需为每个模型单独设置。 您可以在自己的设备上本地运行 MCP,也可以通过 URL 连接远程 MCP 服务器。

方式 1:使用本地连接器

如果 MCP 服务器需要访问您电脑上的本地文件、应用或私有资源,请选择此方式。

1

打开 MCP 设置

在 TypingMind 中,依次前往“设置”、“高级设置”和“模型上下文协议”,然后选择“设置连接器”。

  1. 在您的浏览器中打开 TypingMind。
  2. 点击“设置”图标。
  3. 进入“高级设置”。
  4. 打开“模型上下文协议”部分。
  5. 点击“设置连接器”,然后选择“此设备”。
TypingMind MCP 连接器设置界面,已选择“此设备”
2

运行连接器命令

选择“此设备”,从 TypingMind 复制命令并在终端中运行。使用 MCP 时,请保持该进程运行。

  1. 复制 TypingMind 显示的设置命令。
  2. 在 macOS 上打开“终端”,或在 Windows 上打开 Windows Terminal。
  3. 粘贴并运行命令。
  4. 如果终端询问您是否继续,请确认安装软件包。
  5. 使用 MCP 工具时,请保持终端窗口及其中的进程运行。
3

将 CSFD API MCP Server 添加为服务器

当连接器状态为“就绪”时,点击“编辑服务器”,然后粘贴 MCP 服务器配置。

  1. 等待连接器状态显示为“就绪”。
  2. 点击“编辑服务器”。
  3. 粘贴 CSFD API MCP Server MCP 服务器配置。
  4. 保存服务器列表。
  5. 如需确认连接器是否仍处于就绪状态,请刷新。
TypingMind MCP 设置界面,显示正在运行的服务器和“编辑服务器”按钮
{
  "mcpServers": {
    "bartholomej-node-csfd-api": {
      "command": "npx",
      "args": [
        "-y",
        "node-csfd-api"
      ]
    }
  }
}
4

在不同模型中使用同一连接

保存服务器列表,打开“插件”,启用 CSFD API MCP Server MCP 工具,然后在 TypingMind 中选择任意受支持的 AI 模型,即可在聊天中使用这些工具,或将其分配给智能体。

  1. 在 TypingMind 中打开“插件”页面。
  2. 启用 CSFD API MCP Server MCP 工具。
  3. 开始聊天并选择您想使用的 AI 模型。
  4. 在聊天中使用 MCP 工具,或将其分配给 AI 智能体。
  5. 根据需要随时切换到其他 AI 模型,无需重新连接 MCP。
在 TypingMind 聊天中使用已启用的 MCP 工具和选定的 AI 模型
您能使用 CSFD API MCP Server 帮我完成这项任务吗?
CSFD API MCP Server
当然。我已阅读。
以下是我使用 CSFD API MCP Server 得到的结果。

方式 2:添加 MCP 服务器 URL

如果 CSFD API MCP Server 已托管在远程服务器上,或您的团队希望让多个用户共用一个连接器,请选择此方式。

1

打开 MCP 连接器

在 TypingMind 中,前往“插件”,打开“MCP 连接器”,然后选择“添加 URL”。

  1. 在您的浏览器中打开 TypingMind。
  2. 进入“插件”。
  3. 打开“MCP 连接器”。
  4. 点击“添加 URL”。
TypingMind 的“添加自定义 MCP 服务器 URL”表单
2

粘贴服务器 URL

在“服务器 URL”字段中输入 您的服务器 URL。根据服务器要求,添加连接名称、描述、图标、自定义 HTTP 请求头或 OAuth 客户端设置。

  1. 将 您的服务器 URL 粘贴到“服务器 URL”字段中。
  2. 为 CSFD API MCP Server 输入连接名称。
  3. 您可以添加描述和图标,以便更容易识别此连接。
  4. 如果服务器需要身份验证,请添加自定义 HTTP 请求头或 OAuth 客户端信息。
3

创建连接

点击“创建连接”,然后返回插件列表,确认新的 MCP 连接显示为“有效”。

  1. 点击“创建连接”。
  2. 返回 MCP 连接器列表。
  3. 确认 CSFD API MCP Server 连接显示为“有效”。
  4. 如果连接未立即出现,请刷新插件列表。
4

切换模型,无需重新连接

使用您偏好的模型开始聊天,在“插件”中启用 CSFD API MCP Server 工具,并根据需要随时切换到其他模型。该 MCP 连接在 TypingMind 工作区中仍然可用。

  1. 在 TypingMind 中开始新聊天。
  2. 选择您想使用的 AI 模型。
  3. 在“插件”中启用 CSFD API MCP Server 工具。
  4. 需要时,请让模型使用该工具。
  5. 切换到其他 AI 模型,继续使用同一个 MCP 连接。
在 TypingMind 聊天中使用已启用的 MCP 工具和选定的 AI 模型
您能使用 CSFD API MCP Server 帮我完成这项任务吗?
CSFD API MCP Server
当然。我已阅读。
以下是我使用 CSFD API MCP Server 得到的结果。

常见问题

CSFD API MCP Server MCP 服务器有什么用途?

CSFD API MCP Server 是一个 MCP 服务器,可让兼容的 AI 客户端连接外部工具并获取上下文。在 TypingMind 中,只需添加一次此 MCP 服务器,即可在您的 AI 工作区中使用其工具。

可以在 TypingMind 中让多个 AI 模型使用 CSFD API MCP Server MCP 吗?

可以。TypingMind 在工作区层面连接 MCP 工具,因此您可以让 Claude、ChatGPT、Gemini 等不同 AI 模型,或您在 TypingMind 中配置的其他模型使用 CSFD API MCP Server,而无需为每个模型单独配置 MCP 服务器。

为什么在 TypingMind 中使用 CSFD API MCP Server MCP?

TypingMind 将多个 AI 模型、提示词、插件、AI 智能体、API 密钥和 MCP 工具整合到同一个工作区中,是优秀的大语言模型聊天前端之一。连接 CSFD API MCP Server 后,您可以在偏好的不同模型中使用其 MCP 工具,同时在 TypingMind 中井然有序地管理聊天工作流程。

如何将 CSFD API MCP Server MCP 连接到 TypingMind?

您可以通过本地 MCP 连接器,或添加远程 MCP 服务器 URL,在 TypingMind 中连接 CSFD API MCP Server。当服务器需要访问您设备上的文件、应用或私有资源时,请使用本地连接器;当 MCP 服务器托管在远程时,请使用服务器 URL。

CSFD API MCP Server MCP 在 TypingMind 中提供哪些工具?

CSFD API MCP Server 提供 MCP 功能,您可以在 TypingMind 的插件页面启用这些功能,然后在聊天中使用,或将其分配给 AI 智能体。

使用 CSFD API MCP Server MCP 需要向 TypingMind 提供我的 API 密钥吗?

不需要。TypingMind 采用本地优先的设计,让您自行掌控模型提供商、API 密钥、提示词和 MCP 配置。如果 CSFD API MCP Server 需要身份验证,请在创建连接时,为该 MCP 服务器添加所需的请求头、OAuth 设置或本地配置。

相关 MCP 服务器

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇