Kết nối
- Địa chỉ
https://ai9k.vercel.app/api/mcp
- Cách truyền
- Streamable HTTP, không lưu trạng thái
- Phiên bản MCP
2025-06-18, 2025-03-26, 2024-11-05
- Phương thức HTTP
POST, OPTIONS
- Thân yêu cầu tối đa
- 64 KiB
- Giới hạn tần suất
- 60 yêu cầu mỗi 60 giây, tính theo địa chỉ IP
Vượt giới hạn tần suất thì nhận 429 kèm Retry-After. Thân yêu cầu quá lớn thì nhận 413. Phương thức khác POST và OPTIONS thì nhận 405 kèm địa chỉ trang này.
Thêm vào cấu hình MCP của ứng dụng:
{
"mcpServers": {
"ai-coding-dictionary": {
"type": "http",
"url": "https://ai9k.vercel.app/api/mcp"
}
}
}
Hoặc với Claude Code:
claude mcp add --transport http ai-coding-dictionary https://ai9k.vercel.app/api/mcp
6 công cụ, liệt kê từ chính danh sách mà máy chủ khai báo. Mô tả bằng tiếng Anh vì đó là nguyên văn agent nhận được.
get_overviewOverview of the dictionary
What this dictionary covers: the number of terms, the curriculum sections in teaching order, the languages, and the files the site publishes for machines. Takes no required arguments. Use this first when you do not yet know whether the dictionary can answer the question.
Tham số
searchSearch the dictionary
Find terms by words. Matching ignores accents and letter case, and looks at the English and the Vietnamese text together, so query in the user's own words in either language. A word that few terms use counts for more than a common one, and a hit in the term's name counts for more than one in its text. A term whose whole name appears in the query comes first. A result that scores under a tenth of the best one is left out, so the list is short rather than noisy. This is word matching, not a search by meaning: when a question returns nothing useful, retry with the key noun. Use this when you have words or a question and no slug, then call get_term with a slug from the results.
Tham số
query string bắt buộcWords to look for, at most 200 characters.
lang "vi" | "en" tuỳ chọnLanguage of the text in the answer: "vi" (Vietnamese, the default) or "en" (English). Use the language the user writes in.
limit integer tuỳ chọnHow many results to return, 1 to 20. The default is 8.
get_termRead one term
The full entry of one term: its description, the body and the usage dialogue as markdown, its section, the terms it links to and the terms that link to it, and the addresses of the term in the Learn view and on the map. Pass a slug such as "context-window"; the English term or its Vietnamese name also works. An unknown slug is not a dead end: found is false and suggestions names the nearest terms to retry with. Use this once search, get_section or get_related has given you a slug.
Tham số
slug string bắt buộcThe term's slug, such as "context-window".
lang "vi" | "en" tuỳ chọnLanguage of the text in the answer: "vi" (Vietnamese, the default) or "en" (English). Use the language the user writes in.
get_sectionList the terms of a section
The terms of one curriculum section, in teaching order, each with its description. Sections are numbered from 1; get_overview lists them. An unknown number comes back with found false and the sections that do exist. Use this to browse a part of the curriculum; use search when you have a question rather than a section.
Tham số
section integer bắt buộcThe section's number, from get_overview.
lang "vi" | "en" tuỳ chọnLanguage of the text in the answer: "vi" (Vietnamese, the default) or "en" (English). Use the language the user writes in.
get_relatedTerms linked to a term
The neighbours of a term in the link graph: the terms its entry links to, and the terms whose entries link to it, each with its description. It walks one step from a term you already have. Use this after get_term to widen an answer; use search when you have a question and no starting term. An unknown slug comes back with found false and suggestions.
Tham số
slug string bắt buộcThe term's slug, such as "context-window".
lang "vi" | "en" tuỳ chọnLanguage of the text in the answer: "vi" (Vietnamese, the default) or "en" (English). Use the language the user writes in.
compareCompare terms
Two to 6 terms side by side: each one's description, body and section, whether they share a section, the links that run between them, and the terms that all of them link to. Use this when the question is "X vs Y" or "how does X differ from Y". Call search first if you only have names. An unknown slug lands in missing with suggestions, and the rest are still compared.
Tham số
slugs string[] bắt buộcSlugs of the terms to compare, 2 to 6.
lang "vi" | "en" tuỳ chọnLanguage of the text in the answer: "vi" (Vietnamese, the default) or "en" (English). Use the language the user writes in.