Skip to content

GML-2177 GML-2178 Improve HTTP mode and client documentation - #4

Merged
chengbiao-jin merged 3 commits into
mainfrom
docs/http-and-examples
Aug 28, 2026
Merged

chengbiao-jin merged 3 commits into
mainfrom
docs/http-and-examples

Conversation

@chengbiao-jin

Copy link
Copy Markdown
Collaborator

Documentation only — no source changes.

Structure

The usage guide now introduces configuration and connection profiles before the HTTP
walkthrough that builds on them, and the separate "Multi-user Deployments" section is gone:
its header/profile reference, error semantics, and deployment notes are folded into the HTTP
section where they are used, and its duplicate editor snippet and design narrative removed.
Net −69 lines despite adding the walkthrough.

Both transports are now listed in the table of contents.

HTTP Mode End-to-End

A new five-step walkthrough — install, describe your sites, start the server, check it is
up, connect a client — including the responses a health check actually returns:

Response Meaning
200 Up, default profile's credentials work
400 Up, request does not name a reachable site
401 Up, no usable credentials
502 Up, but TigerGraph unreachable
307 Trailing slash omitted on /mcp/

Every code was produced by running it against a live server.

Corrections

  • The HTTP client example did not work on a fresh install. pip install tigergraph-mcp
    now resolves MCP SDK 2.x, whose client API differs from 1.x in three ways: the function
    name, headers vs http_client, and two return values instead of three. Working examples
    are provided for both generations.
  • The editor configuration used https:// without explanation and omitted the trailing
    slash. The server serves plain HTTP and does not terminate TLS; the note now says when to
    use which scheme.
  • The Copilot guide claimed 68 tools; there are 69.
  • The LangChain examples printed tool names; they now bind the tools to a model and run a
    question through an agent, inside the session so the binding holds.
  • The LangGraph guide gained a note on holding one session rather than get_tools(), which
    starts a subprocess per tool call.

Verification

All in-page anchors resolve (29 links, 0 broken), every tigergraph__* name referenced across
docs/ and examples/ exists (62 referenced, 0 missing), and the documented commands and both
client snippets were run against a live TigerGraph 4.2.2 and both MCP SDK generations. 483 tests
pass.

Refs: GML-2177, GML-2178

- List both transports in the table of contents
- Correct the tool count in the Copilot guide
- Explain which URL scheme to use and why
- Point the LangGraph guide at the single-session pattern

Refs: GML-2177, GML-2178
- Cover configuration and profiles before the HTTP walkthrough that
  builds on them
- Fold the header, profile and deployment reference into that
  walkthrough and drop the separate multi-user section
- Describe serving several users in terms of what to configure

Refs: GML-2177, GML-2178
- Build an agent from the loaded tools and run a question through it,
  inside the session so the tools stay bound to it

Refs: GML-2177, GML-2178
@chengbiao-jin
chengbiao-jin merged commit 4c78ea7 into main Aug 28, 2026
5 checks passed
@chengbiao-jin
chengbiao-jin deleted the docs/http-and-examples branch August 28, 2026 17:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant