FrontMCP docs
FrontMCP's docs for coding agents: search, pages, APIs, examples and upgrades, by FrontMCP release.
使うべきか
品質と安全性
検出事項(2)
- HIGH
- MEDIUMget_versions 内
ツール定義とプロトコルへの準拠に関する自動分析に基づいています。
コンテキストコスト
これは、サーバーのツールがモデルのコンテキストに読み込まれるたびに消費されるおおよそのトークン数です。数が多いほど、ほかのタスクに使える注意が減ります。
インストール
ワンクリックインストール
これを `claude_desktop_config.json` ファイルに追加してください:
{
"mcpServers": {
"frontmcp": {
"url": "https://mcp.frontmcp.dev/"
}
}
}リモートエンドポイント
https://mcp.frontmcp.dev/streamable-httpできること
ツール一覧
ツール(9)
🟢get_example(path, index, version)
Returns a runnable example from a FrontMCP docs page: the files of one of its Playgrounds, with their tests, as the docs run them. Without `index`, lists the page's Playgrounds (numbered from 1, in page order) with their section and files.
入力スキーマ
{
"type": "object",
"properties": {
"path": {
"type": "string",
"minLength": 1,
"maxLength": 500,
"description": "The page, like /reference/sdk/tool or a frontmcp.dev URL."
},
"index": {
"description": "Which Playground on the page, from 1.",
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"version": {
"description": "A documented FrontMCP version, like \"1.9.4\", or a minor, like \"1.9\", for its newest patch. Defaults to the version this endpoint serves.",
"type": "string",
"maxLength": 20
}
},
"required": [
"path"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢get_page(path, section, version)
Returns a FrontMCP docs page as Markdown, or one section of it. `path` is a path (/reference/sdk/tool), a frontmcp.dev URL, or an old docs.agentfront.dev URL, which is mapped to its page here; a #anchor in it, or `section`, picks the section. A very long page comes back as its introduction and its sections, to read one at a time.
入力スキーマ
{
"type": "object",
"properties": {
"path": {
"type": "string",
"minLength": 1,
"maxLength": 500,
"description": "The page: /reference/sdk/tool, https://frontmcp.dev/learn/your-first-tool#declaring-a-tool, or an old docs.agentfront.dev URL."
},
"section": {
"description": "A section's anchor, like \"options\". Overrides an anchor in `path`.",
"type": "string",
"maxLength": 200
},
"version": {
"description": "A documented FrontMCP version, like \"1.9.4\", or a minor, like \"1.9\", for its newest patch. Defaults to the version this endpoint serves.",
"type": "string",
"maxLength": 20
}
},
"required": [
"path"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢get_skill(name, file)
FrontMCP's skills catalog (@frontmcp/skills): instructions for building with FrontMCP, from setting up a project to production readiness. Without `name`, lists the skills. With `name`, returns its SKILL.md and the reference files beside it; with `file` too, that file.
入力スキーマ
{
"type": "object",
"properties": {
"name": {
"description": "A skill, like \"frontmcp-development\".",
"type": "string",
"maxLength": 100
},
"file": {
"description": "One of the skill's reference files, as listed, like \"references/create-tool.md\".",
"type": "string",
"maxLength": 300
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢get_versions
Lists the FrontMCP releases these docs cover, newest first, each with its release notes and the endpoint that pins it (https://mcp.frontmcp.dev/<version>). Says which version this endpoint serves. To find the version a project uses, call resolve_version.
入力スキーマ
{
"type": "object",
"properties": {}
}🟢list_pages(section, version)
Lists the FrontMCP docs as the site's sidebar has them, in reading order: Learn (lessons), Reference (APIs, options, deployment), Examples and Compare, each in groups of pages with their titles and paths.
入力スキーマ
{
"type": "object",
"properties": {
"section": {
"description": "Only this part of the docs.",
"type": "string",
"enum": [
"learn",
"reference",
"examples",
"compare"
]
},
"version": {
"description": "A documented FrontMCP version, like \"1.9.4\", or a minor, like \"1.9\", for its newest patch. Defaults to the version this endpoint serves.",
"type": "string",
"maxLength": 20
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢lookup_api(symbol, limit, version)
Finds a FrontMCP API by name in the Reference pages: a decorator (`@Tool`), function or method (`createFetchHandler`, `this.elicit`), option (`inputSchema`, `throttle`), error code (`TOOL_NOT_FOUND`), CLI command or flag (`--target`). Returns the matching entries, most relevant first, each with what the docs say, its page and anchor. Read more with get_page.
入力スキーマ
{
"type": "object",
"properties": {
"symbol": {
"type": "string",
"minLength": 1,
"maxLength": 120,
"description": "The name, with or without `@`, `this.` or parentheses."
},
"limit": {
"default": 8,
"description": "How many entries to return.",
"type": "integer",
"minimum": 1,
"maximum": 30
},
"version": {
"description": "A documented FrontMCP version, like \"1.9.4\", or a minor, like \"1.9\", for its newest patch. Defaults to the version this endpoint serves.",
"type": "string",
"maxLength": 20
}
},
"required": [
"symbol"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢resolve_version(packageJson, lockfile, range)
Says which documented FrontMCP version a project should read, and the endpoint that pins it. Pass the project's package.json, its lockfile (package-lock.json, yarn.lock or pnpm-lock.yaml; the part about @frontmcp/sdk is enough), or a version range. A lockfile gives the installed version; package.json only the range it allows. Call it first when you can read the project.
入力スキーマ
{
"type": "object",
"properties": {
"packageJson": {
"description": "The project's package.json, as it is.",
"type": "string",
"maxLength": 100000
},
"lockfile": {
"description": "The project's lockfile, or the lines about @frontmcp/sdk.",
"type": "string",
"maxLength": 200000
},
"range": {
"description": "A version or range, like \"1.9.4\" or \"^1.9.0\".",
"type": "string",
"maxLength": 100
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢search_docs(query, section, limit, version)
Full-text search over the FrontMCP docs, by section: page titles, section headings and prose. Returns up to `limit` sections, best first, each with its page, heading, path (with the #anchor) and the start of its text. Read one with get_page. For an API, option or error code by name, lookup_api is more precise.
入力スキーマ
{
"type": "object",
"properties": {
"query": {
"type": "string",
"maxLength": 200,
"description": "Words to look for, like \"rate limit\", \"deploy to cloudflare\" or \"elicit\"."
},
"section": {
"description": "Only this part of the docs.",
"type": "string",
"enum": [
"learn",
"reference",
"examples",
"compare"
]
},
"limit": {
"default": 8,
"description": "How many sections to return.",
"type": "integer",
"minimum": 1,
"maximum": 20
},
"version": {
"description": "A documented FrontMCP version, like \"1.9.4\", or a minor, like \"1.9\", for its newest patch. Defaults to the version this endpoint serves.",
"type": "string",
"maxLength": 20
}
},
"required": [
"query"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢whats_changed(from, to, section, limit)
What changed in FrontMCP after `from` up to `to` (the endpoint's version by default): each release's notes, every note the docs make about a change ("Changed in 1.9.5: before, …"), with its page and section, and, when both versions are documented, which pages changed. `from` can be any release, documented or not. Use it to upgrade a project, or to check whether docs for one version hold for another.
入力スキーマ
{
"type": "object",
"properties": {
"from": {
"type": "string",
"maxLength": 20,
"description": "The older release, like \"1.9.2\" or \"1.8\"."
},
"to": {
"description": "A documented FrontMCP version, like \"1.9.4\", or a minor, like \"1.9\", for its newest patch. Defaults to the version this endpoint serves.",
"type": "string",
"maxLength": 20
},
"section": {
"description": "Only notes from this part of the docs.",
"type": "string",
"enum": [
"learn",
"reference",
"examples",
"compare"
]
},
"limit": {
"default": 100,
"description": "How many notes to return, newest first.",
"type": "integer",
"minimum": 1,
"maximum": 300
}
},
"required": [
"from"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}コミュニティ
エビデンス