tm-finder-mcp

tm-finder-mcp

MCP server that enables trademark searches through the TM Finder Public API, with support for API key authentication and idempotency for retries.

Category
访问服务器

README

TM Finder MCP server

Stateless Streamable HTTP MCP adapter for the TM Finder Public API.

Configuration

API_KEY is the server's only environment variable. It is optional because clients can instead provide their own key in the Authorization or X-API-Key header. All non-secret server settings are defined in src/main.ts under MCP_CONFIG.

For multi-user deployments, do not set a shared API_KEY. Have each MCP client send its TM Finder API key in the Authorization: Bearer <api-key> header or the X-API-Key: <api-key> fallback header when calling /mcp. The credential is forwarded to the public API and is never included in tool arguments or results.

For a single-user deployment, set API_KEY through the shell or secret manager. The blank entries in the committed environment files are intentionally treated as unset; do not commit the real key.

Codex configuration

Codex's Bearer token env var setting expects the name of an environment variable, not the token itself. For example, start Codex from a shell where the credential is available:

export TM_FINDER_API_KEY='your-tm-finder-api-key'

Then configure the Streamable HTTP server with:

  • URL: https://tm-finder-mcp.vercel.app/mcp
  • Bearer token env var: TM_FINDER_API_KEY

Codex will read TM_FINDER_API_KEY and send its value as Authorization: Bearer <value>. Restart the Codex app or IDE extension after saving the MCP configuration. Do not paste the token itself into Bearer token env var; doing so makes Codex look for an environment variable whose name is the token, so no authorization header is sent.

The equivalent config.toml entry is:

[mcp_servers.tm_finder]
url = "https://tm-finder-mcp.vercel.app/mcp"
bearer_token_env_var = "TM_FINDER_API_KEY"

If Codex does not forward Authorization, use the MCP settings' static Headers section instead: X-API-Key as the key and the TM Finder API key as the value (without a Bearer prefix). The MCP server accepts this fallback and forwards the credential to the public API as a Bearer token. This stores the secret in Codex configuration, so the environment-variable method is preferred.

Endpoints

  • POST /mcp — stateless MCP Streamable HTTP endpoint
  • GET /health — container health/liveness endpoint

The server exposes search_trademarks. Each call costs one TM Finder API credit. An idempotency key is generated automatically; clients retrying a logical operation should pass the original idempotencyKey tool argument to avoid a second debit.

Run

# Start locally with automatic restart when source files change
npm run local

# Compile TypeScript, then run the production build
npm run build
npm start

The committed environment files contain only a blank API-key placeholder. Inject the real key through the hosting platform's secret manager; never commit it.

Terminate with SIGTERM or SIGINT for graceful shutdown. Put the service behind TLS in production and keep /mcp request bodies within the configured 256 KB limit.

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选