Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "0.1.0-alpha.25"
".": "0.1.0-alpha.26"
}
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 0.1.0-alpha.26 (2026-02-07)

Full Changelog: [v0.1.0-alpha.25...v0.1.0-alpha.26](https://github.com/Scan-Documents/node-sdk/compare/v0.1.0-alpha.25...v0.1.0-alpha.26)

### Chores

* **internal:** add health check to MCP server when running in HTTP mode ([26bf884](https://github.com/Scan-Documents/node-sdk/commit/26bf884a9c1266ba85bb0ba8d6a1c869a3118c21))

## 0.1.0-alpha.25 (2026-02-06)

Full Changelog: [v0.1.0-alpha.24...v0.1.0-alpha.25](https://github.com/Scan-Documents/node-sdk/compare/v0.1.0-alpha.24...v0.1.0-alpha.25)
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "scan-documents",
"version": "0.1.0-alpha.25",
"version": "0.1.0-alpha.26",
"description": "The official TypeScript library for the Scan Documents API",
"author": "Scan Documents <support@scan-documents.com>",
"types": "dist/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion packages/mcp-server/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "scan-documents-mcp",
"version": "0.1.0-alpha.25",
"version": "0.1.0-alpha.26",
"description": "The official MCP Server for the Scan Documents API",
"author": "Scan Documents <support@scan-documents.com>",
"types": "dist/index.d.ts",
Expand Down
3 changes: 3 additions & 0 deletions packages/mcp-server/src/http.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,9 @@ export const streamableHTTPApp = ({
app.use(morgan('combined'));
}

app.get('/health', async (req: express.Request, res: express.Response) => {
res.status(200).send('OK');
});
app.get('/', get);
app.post('/', post({ clientOptions, mcpOptions }));
app.delete('/', del);
Expand Down
10 changes: 5 additions & 5 deletions packages/mcp-server/src/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,10 @@ async function getInstructions() {

instructions = `
This is the scan-documents MCP server. You will use Code Mode to help the user perform
actions. You can use search_docs tool to learn about how to take action with this server. Then,
you will write TypeScript code using the execute tool take action. It is CRITICAL that you be
thoughtful and deliberate when executing code. Always try to entirely solve the problem in code
block: it can be as long as you need to get the job done!
actions. You can use search_docs tool to learn about how to take action with this server. Then,
you will write TypeScript code using the execute tool take action. It is CRITICAL that you be
thoughtful and deliberate when executing code. Always try to entirely solve the problem in code
block: it can be as long as you need to get the job done!
`;
}

Expand All @@ -57,7 +57,7 @@ export const newMcpServer = async () =>
new McpServer(
{
name: 'scan_documents_api',
version: '0.1.0-alpha.25',
version: '0.1.0-alpha.26',
},
{
instructions: await getInstructions(),
Expand Down
2 changes: 1 addition & 1 deletion src/version.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const VERSION = '0.1.0-alpha.25'; // x-release-please-version
export const VERSION = '0.1.0-alpha.26'; // x-release-please-version