Skip to content

Tags: 3h4x/mcp-http-tools

Tags

v1.5.0

Toggle v1.5.0's commit message
feat: add --http transport with bearer-token auth

Adds a StreamableHTTPServerTransport-backed --http mode alongside the
existing stdio transport, gated by verifyBearerToken (Task 1). Serves
MCP at /mcp on 127.0.0.1:${MCP_HTTP_PORT:-3000}; requires
MCP_HTTP_TOKEN and rejects unauthenticated requests with 401.

index.js now builds a fresh Server+StreamableHTTPServerTransport pair
per HTTP request (factored into createMcpServer()) rather than reusing
one shared instance, matching the SDK's own stateless-transport
example: Server#connect() throws "Already connected to a transport" if
reused before the previous transport's close() has unset it, so a
single shared instance breaks on any request after the first.

Also fixes a pre-existing test.js bug where the "integration" describe
block's afterEach did `delete globalThis.fetch` instead of restoring
the captured realFetch reference -- since Node's global fetch is a
lazily-initialized property that doesn't come back after being deleted
once overwritten, this permanently broke the bare `fetch` global for
every describe block that runs afterward in the same process,
including the new HTTP transport tests.

v1.4.1

Toggle v1.4.1's commit message
ci: update GitHub Actions to checkout@v6

v1.4.0

Toggle v1.4.0's commit message
ci: publish to GitHub Packages registry

v1.3.9

Toggle v1.3.9's commit message

Verified

This commit was signed with the committer’s verified signature.
3h4x marcin
docs: add raw path docs reference

v1.3.8

Toggle v1.3.8's commit message

Verified

This commit was signed with the committer’s verified signature.
3h4x marcin
chore(release): configure npm publishing

v1.3.7

Toggle v1.3.7's commit message

Verified

This commit was signed with the committer’s verified signature.
3h4x marcin
docs: update test count to 250

v1.3.6

Toggle v1.3.6's commit message

Verified

This commit was signed with the committer’s verified signature.
3h4x marcin
docs: use pnpm dlx in supergateway example

v1.3.5

Toggle v1.3.5's commit message

Verified

This commit was signed with the committer’s verified signature.
3h4x marcin
test: add real server placeholder integration

v1.3.4

Toggle v1.3.4's commit message
chore: update README.md, config.yaml, docs/raw-path-placeholders.md

v1.3.3

Toggle v1.3.3's commit message
docs: fill CLAUDE.md gaps (conventions, security, testing, patterns)