Logo mcp-server

mcp-server

Cộng đồng
tredict-com

Official MCP server for Tredict. Connect Claude, ChatGPT or any MCP-compatible AI assistant to your training history, analyse activities, determine capacity values and create fully structured training plans synced to your watch.

Nhà phát hànhtredict-com
Kho mãmcp-server
Bản fork
0
Sao
2
Công cụ có sẵn
18
Phương thức truyền tảistdio
Danh mục
Liên kết
  • Kết nối công cụ với quy trình làm việc AI

    mcp-server cung cấp các khả năng MCP mà ứng dụng khách và tác nhân AI tương thích có thể sử dụng.

  • 18 công cụ có sẵn

    Xem các thao tác có thể gọi bên dưới, kèm tên và mô tả nếu máy chủ cung cấp.

  • Cấu hình sẵn để sao chép

    Dùng các đoạn cấu hình cài đặt mẫu để thiết lập máy chủ này trong ứng dụng khách MCP bạn muốn dùng.

  • Chỉ số quan tâm đến mã nguồn mở

    2 sao và 0 bản fork từ kho mã được liên kết.

Tredict MCP Server

Official Model Context Protocol (MCP) server for Tredict, the planning and analytics platform for endurance sports athletes and coaches. Connect your preferred AI assistant to your complete training history across running, cycling, swimming and more. Analyse activities, determine capacity values, create fully structured training plans inside Tredict, synced directly to your watch.

Tredict also ships interactive MCP App UI widgets that visually render activity details and training plans directly in the LLM chat of hosts such as Claude.ai or ChatGPT.

Overview

NameTredict MCP Server
MCP Server URLhttps://www.tredict.com/api/mcp/v2
TransportStreamable HTTP and SSE
ProtocolMCP 2025-06-18
AuthenticationOAuth 2.1 with PKCE / Personal API Token

Full technical documentation: Tredict MCP Server Documentation.

Core features

  • Training plan creation. Analyse training history and current fitness to generate reusable, multi-week plans with structured workouts in the user's "My Plans" category.
  • Structured workout authoring. Create executable structured workouts for running, cycling, swimming and strength, and reschedule or rename planned sessions.
  • Activity analysis. Detailed metrics and full time series (heart rate, pace, power, cadence, altitude, position, laps) for every executed activity.
  • Capacity assessment. Determine FTP, FTPace (running), HRmax and lactate threshold from recent training data.
  • Health and recovery. Access HRV, sleep, body values (weight, body fat, resting heart rate) and training effort over time.
  • Training zones. Read zone revisions and aggregated zone distribution per sportType and zoneType (heartrate, pace, power, cadence).
  • Equipment tracking. List all equipment (bikes, shoes, swimming, misc) with usage ranges, counts, distance and duration.
  • Device sync. Plans applied to the training calendar are automatically uploaded to connected sports watches (Garmin, Suunto, Coros, icTrainer, Wahoo, Apple Watch and others).

Example Conversations

Activity Analysis

You: "How did my long run on Sunday go?"
Claude: [Shows pace, heart rate, cadence, elevation and zone distribution. 
         Flags the last 5 km where HR drifted into threshold]

Training Plan Creation

You: "Build me a 10-week half marathon plan based on my recent training"
Claude: [Analyses last 8 weeks of running history, creates a structured 
         multi-week plan in My Plans, pushes workouts to your Garmin]

FTP & Capacity

You: "What is my current running FTP?"
Claude: [Derives FTPace from recent efforts, compares to last revision, 
         suggests updated training zones]

Equipment & Shoes

You: "How many kilometres do my current running shoes have?"
Claude: [Lists active shoes with distance logged, 
         flags gear approaching typical replacement range]

Year-over-Year Comparison

You: "How does my 2025 training compare to 2024?"
Claude: [Compares total volume, zone distribution, long run progression
         and peak weeks across both years]

Recovery Check

You: "Am I ready for tomorrow's threshold session?"
Claude: [Reads HRV trend, resting heart rate and recent training load.
         Gives a clear go or back-off recommendation]

Plan Adherence

You: "Am I actually hitting my training zones as planned?"
Claude: [Shows prescribed vs actual time in each zone per sport,
         highlights where execution is drifting from the plan]

HRV & Fitness Trend

You: "What does my HRV trend tell me about my current fitness?"
Claude: [Analyses rMSSD baseline, flags suppression periods,
         links dips to high-load weeks in training history]

Race Goal Reality Check

You: "Is my sub-4 marathon goal realistic given my current training?"
Claude: [Derives pace capacity from recent long runs and threshold efforts,
         compares to goal pace, outlines what needs to improve]

Platform support

Officially supported: Anthropic Claude (Web, Desktop, Code), OpenAI ChatGPT, OpenAI Codex, Mistral Le Chat, Mistral Vibe.

Compatible: any MCP client that supports OAuth 2.1 or bearer-token authentication, including local LLM setups.

Setup guides per platform:

Configuration

Claude.ai / Claude Desktop

Settings → Connectors → Add custom connector:

  • Name: Tredict
  • Remote MCP Server URL: https://www.tredict.com/api/mcp/v2

OAuth is handled automatically on first use.

Generic MCP client (Streamable HTTP)

json
{
  "mcpServers": {
    "tredict": {
      "url": "https://www.tredict.com/api/mcp/v2",
      "transport": { "type": "http" }
    }
  }
}

Personal API Token

For clients without OAuth support, create an access token in Tredict at "Settings → Personal API / MCP" and pass it as a bearer token:

Authorization: Bearer <your-personal-api-token>

Authentication

The server supports two methods:

  1. OAuth 2.1 with PKCE and Client Credentials. Recommended for third-party MCP hosts. Scopes are fine-grained: activityRead, activityWrite, bodyvaluesRead.
  2. Personal API Token. Recommended for self-built agents and local LLM workflows.

See the OAuth2 documentation for full details.

Available tools

All tool names, descriptions and schemas can be listed by the MCP client. Scope annotations in parentheses.

Activities

ToolDescriptionScope
activity-listList executed activities for a date rangeactivityRead
activityActivity details, metrics and time seriesactivityRead
activity-updateUpdate title and notes of an activity (non-destructive)activityWrite
equipment-listList all user equipment (bikes, shoes, swimming, misc)activityRead

Planning

ToolDescriptionScope
plan-creationCreate a reusable training plan in "My Plans"activityWrite
add-plan-trainingAdd a single structured workout to an existing planactivityWrite
planned-workout-listList planned / scheduled workoutsactivityRead
planned-workoutDetails and structure of a single planned workoutactivityRead
planned-workout-change-dateReschedule a planned workout to a new dateactivityWrite
training-effort-listTraining effort over time across all sportTypesactivityRead

Body, health and capacity

ToolDescriptionScope
bodyvaluesWeight, body fat, resting HR, body height and morebodyvaluesRead
capacityCapacity values (HRmax, HRlth, FTP, FTPace) per sportTypebodyvaluesRead
hrv-listHeart rate variability data with baselinebodyvaluesRead
sleep-listSleep data with baselinebodyvaluesRead
zonesZone revisions per sportType and zoneTypebodyvaluesRead
zones-distributionAggregated zones distribution per sportType and monthbodyvaluesRead

Interactive MCP App UI widgets

ToolDescriptionScope
show-activity-uiRender activity details, metrics, laps and map in the chatactivityRead
show-plan-uiRender a reusable training plan with calendar view in the chatactivityRead

Prompts

Predefined, parameterised tasks the host can offer as templates:

  • better-names : find recent activities with poor titles and suggest meaningful ones.
  • coolest-training (year) : find the most interesting session of a given year.
  • compare-years (firstYear, otherYear) : in-depth year-over-year comparison.
  • create-plan (monthsBack?, durationInWeeks?, workoutsPerWeeks?, sportTypes?, targetZonesTypes?) : build a full training plan from recent history.
  • determine-ftp (sportType?) : derive current FTP from training history.
  • indepth-analysis : 2-year in-depth training status assessment.
  • recreate-structured-workout (activityId) : rebuild an executable structured workout from an executed activity.

Resources

URIDescription
mcp://tredict/assets/logo.svgTredict rectangular logo (light / dark themes)
mcp://tredict/assets/logo-slogan.svgTredict logo with "Analytics for Endurance Athletes" slogan
ui://widget/activity-ui-100.htmlActivity details UI widget (MCP App)
ui://widget/plan-ui-100.htmlTraining plan UI widget (MCP App)

Data integrity

  • All write operations are reversible. activity-update stores previous titles and notes in the mcpUpdatedFields array, so any change can be rolled back at any time.
  • The server only accesses your own profile. If you have access to other Tredict athletes as a friend or coach, their data remains invisible to the MCP server.

Health data responsibility

Some responses, in particular from plan-creation, ask the LLM to surface health and liability notices. By registering with Tredict, the user accepts responsibility for health-related applications of the data as defined in the Terms of Use. LLMs make mistakes and are not a substitute for a qualified coach or your own judgement.

Privacy and control

An external MCP client has no access to Tredict data until the user explicitly configures it. Read and write permissions can be restricted per scope at token creation. Tredict is fully GDPR compliant; see the Privacy Policy. Review the privacy policy of the connected AI provider for what happens to data sent through it, or use a local LLM to keep everything on-device.

Links

Cài đặt

TypingMind
Yêu cầu:

Node.js 18+

{
  "mcpServers": {
    "tredict": {
      "url": "https://www.tredict.com/api/mcp/v2",
      "transport": {
        "type": "http"
      }
    }
  }
}

Công cụ có sẵn

  • activity-list

    List executed activities for a date range

  • activity

    Activity details, metrics and time series

  • activity-update

    Update title and notes of an activity

  • equipment-list

    List all user equipment (bikes, shoes, swimming, misc)

  • plan-creation

    Create a reusable training plan

  • add-plan-training

    Add a structured workout to an existing plan

  • planned-workout-list

    List planned/scheduled workouts

  • planned-workout

    Details and structure of a planned workout

  • planned-workout-change-date

    Reschedule a planned workout to a new date

  • training-effort-list

    Training effort over time across all sports

  • bodyvalues

    Weight, body fat, resting HR and other health metrics

  • capacity

    Capacity values (HRmax, FTP, FTPace) per sport

  • hrv-list

    Heart rate variability data with baseline

  • sleep-list

    Sleep data with baseline

  • zones

    Zone revisions per sport and zone type

  • zones-distribution

    Aggregated zones distribution per sport and month

  • show-activity-ui

    Render activity details with interactive widgets

  • show-plan-ui

    Render training plan with calendar view

Dùng MCP mcp-server với nhiều mô hình AI

TypingMind kết nối các công cụ MCP ở cấp không gian làm việc, nên sau khi kết nối mcp-server, bạn có thể dùng với nhiều mô hình AI khác nhau trong TypingMind thay vì phải thiết lập riêng cho từng mô hình. MCP này chạy cục bộ thông qua trình kết nối MCP của TypingMind trên thiết bị của bạn.

Hướng dẫn thiết lập để dùng trình kết nối cục bộ

Dùng cách này khi máy chủ MCP cần truy cập các tệp, ứng dụng hoặc tài nguyên riêng tư trên máy tính của bạn.

1

Mở cài đặt MCP

Trong TypingMind, vào Cài đặt, Cài đặt nâng cao, rồi đến Giao thức ngữ cảnh mô hình và chọn Cài trình kết nối.

  1. Mở TypingMind trong trình duyệt của bạn.
  2. Nhấp vào biểu tượng Cài đặt.
  3. Vào Cài đặt nâng cao.
  4. Mở mục Giao thức ngữ cảnh mô hình.
  5. Nhấp vào Cài trình kết nối rồi chọn Thiết bị này.
Màn hình thiết lập trình kết nối MCP của TypingMind với tùy chọn Thiết bị này được chọn
2

Chạy lệnh trình kết nối

Chọn Thiết bị này, sao chép lệnh từ TypingMind và chạy trong Terminal. Giữ tiến trình chạy trong khi bạn dùng MCP.

  1. Sao chép lệnh thiết lập hiển thị trong TypingMind.
  2. Mở Terminal trên macOS hoặc Windows Terminal trên Windows.
  3. Dán và chạy lệnh.
  4. Xác nhận cài đặt gói nếu Terminal hỏi bạn có muốn tiếp tục không.
  5. Giữ tiến trình trong cửa sổ Terminal chạy trong khi dùng các công cụ MCP.
3

Thêm mcp-server làm máy chủ

Khi trạng thái trình kết nối là Sẵn sàng, nhấp vào Sửa máy chủ và dán cấu hình máy chủ MCP.

  1. Đợi đến khi trạng thái trình kết nối hiển thị Sẵn sàng.
  2. Nhấp vào Sửa máy chủ.
  3. Dán cấu hình máy chủ MCP của mcp-server.
  4. Lưu danh sách máy chủ.
  5. Làm mới nếu bạn muốn xác nhận trình kết nối vẫn sẵn sàng.
Cài đặt MCP của TypingMind hiển thị máy chủ đang hoạt động và nút Sửa máy chủ
{
  "mcpServers": {
    "mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

Dùng kết nối với nhiều mô hình

Lưu danh sách máy chủ, mở Plugin, bật các công cụ MCP của mcp-server, sau đó chọn bất kỳ mô hình AI nào được hỗ trợ trong TypingMind và dùng các công cụ trong cuộc trò chuyện hoặc gán chúng cho một tác nhân AI.

  1. Mở trang Plugin trong TypingMind.
  2. Bật các công cụ MCP của mcp-server.
  3. Bắt đầu cuộc trò chuyện và chọn mô hình AI bạn muốn dùng.
  4. Dùng các công cụ MCP trong cuộc trò chuyện hoặc gán chúng cho một tác nhân AI.
  5. Chuyển sang mô hình AI khác bất cứ khi nào cần mà không phải kết nối lại MCP.
Cuộc trò chuyện TypingMind dùng các công cụ MCP đã bật với một mô hình AI được chọn
Bạn có thể dùng mcp-server giúp tôi làm việc này không?
mcp-server
Được. Tôi đã đọc.
Đây là kết quả tôi tìm được bằng mcp-server.

Câu hỏi thường gặp

Máy chủ MCP mcp-server dùng để làm gì?

mcp-server là máy chủ MCP cho phép các ứng dụng AI tương thích kết nối với công cụ và ngữ cảnh bên ngoài. Trong TypingMind, bạn chỉ cần thêm máy chủ MCP này một lần để các công cụ của nó có sẵn trong không gian làm việc AI của bạn.

Bạn có thể dùng MCP mcp-server với nhiều mô hình AI trong TypingMind không?

Có. TypingMind kết nối các công cụ MCP ở cấp không gian làm việc, nên bạn có thể dùng mcp-server với nhiều mô hình AI như Claude, ChatGPT, Gemini hoặc các mô hình khác đã cấu hình trong TypingMind mà không cần thiết lập máy chủ MCP riêng cho từng mô hình.

Vì sao nên dùng MCP mcp-server với TypingMind?

TypingMind là một trong những giao diện trò chuyện với LLM tốt nhất vì tập hợp nhiều mô hình AI, prompt, plugin, tác nhân AI, khóa API và công cụ MCP vào một không gian làm việc. Khi kết nối mcp-server, bạn có thể dùng các công cụ MCP của dịch vụ này với những mô hình ưa thích, đồng thời giữ quy trình trò chuyện gọn gàng trong TypingMind.

Làm cách nào để kết nối MCP mcp-server với TypingMind?

mcp-server hoạt động thông qua trình kết nối MCP cục bộ của TypingMind. Đây là lựa chọn phù hợp nhất khi máy chủ MCP cần truy cập tệp cục bộ, ứng dụng máy tính, công cụ dòng lệnh hoặc tài nguyên riêng trên máy tính của bạn.

MCP mcp-server cung cấp những công cụ nào trong TypingMind?

mcp-server cung cấp 18 công cụ MCP mà bạn có thể bật từ trang Plugin của TypingMind để dùng trong trò chuyện hoặc gán cho tác nhân AI.

Bạn có cần chia sẻ khóa API với TypingMind để dùng MCP mcp-server không?

Không. TypingMind ưu tiên xử lý cục bộ và cho phép bạn kiểm soát nhà cung cấp mô hình, khóa API, prompt và cấu hình MCP. Nếu mcp-server yêu cầu xác thực, hãy thêm các header, cài đặt OAuth hoặc cấu hình cục bộ cần thiết cho máy chủ MCP đó khi tạo kết nối.

Máy chủ MCP liên quan

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇