Skip to content

Commit 37aa603

Browse files
committed
chore: hardcode protocols.io API base URL
1 parent c2b8a36 commit 37aa603

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

.env.example

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
PROTOCOLS_IO_API_URL=https://www.protocols.io/api
21
PROTOCOLS_IO_CLIENT_ACCESS_TOKEN=your_access_token_here

src/protocols_io_mcp/utils/helpers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
load_dotenv()
66

77
PROTOCOLS_IO_CLIENT_ACCESS_TOKEN = os.getenv("PROTOCOLS_IO_CLIENT_ACCESS_TOKEN")
8-
PROTOCOLS_IO_API_URL = os.getenv("PROTOCOLS_IO_API_URL")
8+
PROTOCOLS_IO_API_URL = "https://www.protocols.io/api"
99

1010
async def access_protocols_io_resource(method: Literal["GET", "POST", "PUT", "DELETE"], path: str, data: dict = None) -> dict[str, Any]:
1111
"""Access protocols.io API with specified method and path."""

0 commit comments

Comments
 (0)