matome-mcp-server 0.0.3 → 0.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2025 evilock
3
+ Copyright (c) 2026 evilock
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
package/dist/index.js CHANGED
@@ -3,7 +3,7 @@ import "dotenv/config";
3
3
  import { Server } from "@modelcontextprotocol/sdk/server/index.js";
4
4
  import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js";
5
5
  import { ListToolsRequestSchema, CallToolRequestSchema, } from "@modelcontextprotocol/sdk/types.js";
6
- const MATOME_API_BASE = "https://matome.ebi-generator.com/api/mcp";
6
+ const MATOME_API_BASE = "https://matome.url-storage.com//api/mcp";
7
7
  const server = new Server({
8
8
  name: "matome",
9
9
  version: "1.0.0",
@@ -17,11 +17,10 @@ async function makeMatomeRequest() {
17
17
  const Url = `${MATOME_API_BASE}`;
18
18
  const UID = process.env.USER_ID;
19
19
  const response = await fetch(Url, {
20
- method: "POST",
20
+ method: "GET",
21
21
  headers: {
22
- "Content-Type": "application/json",
22
+ uid: UID ? UID : "",
23
23
  },
24
- body: JSON.stringify({ uid: UID }),
25
24
  });
26
25
  if (response.status !== 200) {
27
26
  return { content: [{ type: "text", text: "matome fetch Error!!" }] };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "matome-mcp-server",
3
- "version": "0.0.3",
3
+ "version": "0.0.4",
4
4
  "description": "matome",
5
5
  "license": "MIT",
6
6
  "author": "matome",