Skip to content
Merged
Show file tree
Hide file tree
Changes from 4 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 playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ export default defineConfig({
},
{
name: 'MCP Inspector',
command: 'CLIENT_PORT=5174 SERVER_PORT=6277 npx @modelcontextprotocol/inspector',
command: 'CLIENT_PORT=5174 SERVER_PORT=6277 npx @modelcontextprotocol/inspector@0.10.2',
Comment thread
idosal marked this conversation as resolved.
Outdated
url: 'http://localhost:5174', // Inspector UI URL (matches baseURL)
stdout: 'ignore',
stderr: 'pipe',
Expand Down
16 changes: 0 additions & 16 deletions src/api/tools/repoHandlers/GenericRepoHandler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,7 @@ import {
searchRepositoryDocumentation,
searchRepositoryCode,
} from "../commonTools.js";
import { incrementRepoViewCount } from "../../utils/badge.js";
import rawMapping from "./generic/static-mapping.json";
import type { ToolAnnotations } from "@modelcontextprotocol/sdk/types.js";

const badgeCountAllowedRepos = ["mcp-ui", "git-mcp"];

class GenericRepoHandler implements RepoHandler {
name = "generic";
Expand Down Expand Up @@ -57,18 +53,6 @@ class GenericRepoHandler implements RepoHandler {
};
}

if (badgeCountAllowedRepos.includes(repo.repo)) {
ctx.waitUntil(
incrementRepoViewCount(
env as CloudflareEnvironment,
repo.owner,
repo.repo,
).catch((err) => {
console.error("Error incrementing repo view count:", err);
}),
);
}

return {
content: [
{
Expand Down
181 changes: 0 additions & 181 deletions src/api/utils/ViewCounterDO.ts

This file was deleted.

Loading
Loading