AI Assistants & MCP
Connect Claude, Cursor, VS Code, Codex or any MCP client to the TNID documentation, and let your app ask the docs a question from inside the API.
TNID's documentation is available to AI coding assistants through the Model Context Protocol (MCP), an open standard that lets an assistant call outside tools. Connect the server below and your assistant can search these docs, read any page, and report documentation problems back to us instead of guessing from stale training data.
The documentation MCP server
Server URL
https://docs.tnid.com/~gitbook/mcp
Transport
Streamable HTTP
Authentication
None. The server only reads public documentation.
Cost
Free
The server covers both the guides and the API Reference section of this site. It exposes three tools:
searchDocumentation
Full-text search across every page. Returns matching excerpts with titles and links.
getPage
Fetches the complete Markdown of one page by its URL, for example https://docs.tnid.com/company/search-companies.
sendFeedback
Lets the assistant report outdated, contradictory or missing content on a page. Reports go to the TNID documentation team.
Connect your assistant
Run once in your terminal:
claude mcp add --transport http tnid-docs https://docs.tnid.com/~gitbook/mcpThen ask, for example, "Using the TNID docs, write a client that authenticates as a company and lists pending B2B connection requests."
Open Settings → Connectors → Add custom connector, name it "TNID docs", and paste https://docs.tnid.com/~gitbook/mcp as the URL. No authentication is needed. Enable it in a chat from the tools menu.
Add to .cursor/mcp.json in your project (or ~/.cursor/mcp.json for all projects):
{
"mcpServers": {
"tnid-docs": {
"url": "https://docs.tnid.com/~gitbook/mcp"
}
}
}Add to .vscode/mcp.json in your workspace, then start the server from the MCP view:
{
"servers": {
"tnid-docs": {
"type": "http",
"url": "https://docs.tnid.com/~gitbook/mcp"
}
}
}Any MCP client that supports streamable HTTP can connect. Point it at https://docs.tnid.com/~gitbook/mcp with no bearer token. stdio and SSE transports are not offered.
Other machine-readable formats
Index of all pages with summaries
https://docs.tnid.com/llms.txt
Give an assistant a map of the docs
Every page in one file
https://docs.tnid.com/llms-full.txt
Load the whole guide into context
Any single page
Append .md to its URL, e.g. https://docs.tnid.com/getting-started-guide.md
Fetch one page without HTML
API Reference
docs.tnid.com/api-reference (every page also available with .md)
Every query, mutation, type and enum, generated from the API source
One-page API summary
Environments, authentication, feature map, webhooks and pagination in a single read
Ask the docs from inside the API
Both GraphQL servers expose a mutation that answers a natural-language question from this documentation and names the pages it drew on. It is useful for in-app help and for agents that already hold a TNID token:
A user token is answered from the user half of the reference, a company token from the company half. See the API Reference: user assistant, company assistant.
What to expect
Answers are grounded in the published documentation. If a page is wrong, the assistant will be wrong too; the
sendFeedbacktool exists so it can tell us.The assistant still needs your credentials to run code against the API. Keep client secrets and tokens in environment variables, never in prompts or chat history.
Prompts that work well: "Search the TNID docs for how B2C subscription requests are accepted and write the webhook handler", "Which server, /user or /company, exposes createSpamReport?", "Compare the plain and paginated variants of b2bConnections."
Questions or ideas for the MCP server? Email support@tsgglobal.com.